Status: FAIL | Duration: 16ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-ruby/ruby-overhang-spaces-011.html
<!DOCTYPE html> <meta charset="UTF-8"> <title>Tests for ruby-overhang: spaces with ideographic spaces and preserved tabs</title> <link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-overhang"> <link rel="match" href="ruby-overhang-spaces-011-ref.html"> <meta name=assert content="With 'ruby-overhang: spaces', excess ruby overhangs on top of the ideographic spaces and preserved tabs, and further."> <style> ruby { ruby-overhang: spaces; ruby-align: center; } div { font-size: 20px; white-space: pre; border-left: 5px solid; border-right: 5px solid; width: max-content; tab-size: 1ic; } .test { border-color: orange; } .measure { border-color: blue; } </style> <body lang="ja"> <p>Test passes if orange and blue lines are aligned. <div class=test>a				<ruby>あ<rt>ああああああああああ</ruby>				a</div> <div class=test>a	 	 <ruby>あ<rt>ああああああああああ</ruby>	 	 a</div> <div class=test>a 	 <ruby>あ<rt>ああああああああああ</ruby> 	 a</div> <div class=test>a 	 <ruby>あ<rt>ああああああああああ</ruby> 	 a</div> <div class=test>a 		 <ruby>あ<rt>ああああああああああ</ruby> 		 a</div> <div class=test>a	 	 <ruby>あ<rt>ああああああああああ</ruby>	 	 a</div> <div class=measure>a	 あ a</div> </body>
/css/css-ruby/ruby-overhang-spaces-011-ref.html
<!DOCTYPE html> <meta charset="UTF-8"> <title>test reference</title> <style> ruby { ruby-overhang: spaces; ruby-align: center; } div { font-size: 20px; white-space: pre; border-left: 5px solid; border-right: 5px solid; width: max-content; tab-size: 1ic; } .test { border-color: orange; } .measure { border-color: blue; } </style> <body lang="ja"> <p>Test passes if orange and blue lines are aligned. <div class=test><ruby>a	 あ <rt>ああああああああああ</ruby>a</div> <div class=test><ruby>a	 あ <rt>ああああああああああ</ruby>a</div> <div class=test><ruby>a	 あ <rt>ああああああああああ</ruby>a</div> <div class=test><ruby>a	 あ <rt>ああああああああああ</ruby>a</div> <div class=test><ruby>a	 あ <rt>ああああああああああ</ruby>a</div> <div class=test><ruby>a	 あ <rt>ああああああああああ</ruby>a</div> <div class=measure>a	 あ a</div> </body>