OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <title>CSS Writing Modes Test: </title> |
| 3 <link rel="help" href="http://dev.w3.org/csswg/css-writing-modes-3/#text-combine
-layout" title="9.1.2. Layout Rules"> |
| 4 <link rel="match" href="reference/text-combine-upright-decorations-001.html"> |
| 5 <meta name="assert" content="The resulting composition is treated as a signel gl
yph for decorations"> |
| 6 <meta name="flags" content="ahem"> |
| 7 <link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com"> |
| 8 <style> |
| 9 #container { |
| 10 font: 50px/1 Ahem; |
| 11 } |
| 12 .vlr { |
| 13 -webkit-writing-mode:vertical-lr; |
| 14 } |
| 15 .vrl { |
| 16 -webkit-writing-mode:vertical-rl; |
| 17 } |
| 18 .test, .ref { |
| 19 border:solid thin; |
| 20 margin:.2em; |
| 21 } |
| 22 p { |
| 23 margin:0 .5em; |
| 24 } |
| 25 .tcy { |
| 26 -webkit-text-combine:horizontal; |
| 27 } |
| 28 .underline { |
| 29 text-decoration:underline; |
| 30 } |
| 31 .overline { |
| 32 text-decoration:overline; |
| 33 } |
| 34 .emphasis { |
| 35 -webkit-text-emphasis:filled; |
| 36 } |
| 37 </style> |
| 38 <p>This test asserts the resulting composition is treated as a signel glyph for
decorations. |
| 39 <p>Test passes if the following two boxes in each row are identical. |
| 40 <div id=container> |
| 41 <div class=vlr> |
| 42 <div class=test> |
| 43 <p class=underline>X<span class=tcy> </span>X |
| 44 <p class=overline>X<span class=tcy> </span>X |
| 45 <p class=emphasis>X<span class=tcy>X</span>X |
| 46 </div> |
| 47 <div class=ref> |
| 48 <p class=underline>X X |
| 49 <p class=overline>X X |
| 50 <p class=emphasis>XXX |
| 51 </div> |
| 52 </div> |
| 53 <div class=vrl> |
| 54 <div class=test> |
| 55 <p class=underline>X<span class=tcy> </span>X |
| 56 <p class=overline>X<span class=tcy> </span>X |
| 57 <p class=emphasis>X<span class=tcy>X</span>X |
| 58 </div> |
| 59 <div class=ref> |
| 60 <p class=underline>X X |
| 61 <p class=overline>X X |
| 62 <p class=emphasis>XXX |
| 63 </div> |
| 64 </div> |
| 65 </div> |
OLD | NEW |