OLD | NEW |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"> |
2 | 2 |
3 <html xmlns="http://www.w3.org/1999/xhtml"> | 3 <html xmlns="http://www.w3.org/1999/xhtml"> |
4 | 4 |
5 <head> | 5 <head> |
6 | 6 |
7 <title>CSS Writing Modes Test: contiguous left-floating boxes with 'writing-mo
de' set to 'vertical-lr'</title> | 7 <title>CSS Writing Modes Test: contiguous left-floating boxes with 'writing-mo
de' set to 'vertical-lr'</title> |
8 | 8 |
9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB
ugsSection/css21testsuite/" /> | 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB
ugsSection/css21testsuite/" /> |
10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layo
ut" title="7.1 Principles of Layout in Vertical Writing Modes" /> | 10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layo
ut" title="7.1 Principles of Layout in Vertical Writing Modes" /> |
11 <link rel="match" href="../css21/reference/ref-filled-green-100px-square.xht"
/> | 11 <link rel="match" href="../css21/reference/ref-filled-green-100px-square.xht"
/> |
12 | 12 |
13 <meta content="ahem" name="flags" /> | 13 <meta content="ahem" name="flags" /> |
14 <meta content="This test checks the flow of contiguous left-floated boxes with
'writing-mode' set to 'vertical-lr'." name="assert" /> | 14 <meta content="This test checks the flow of contiguous left-floated boxes with
'writing-mode' set to 'vertical-lr'." name="assert" /> |
15 | 15 |
16 <style type="text/css"><![CDATA[ | 16 <style type="text/css"><![CDATA[ |
17 div#reference-overlapped-red | 17 div#reference-overlapped-red |
18 { | 18 { |
19 background-color: red; | 19 background-color: red; |
20 height: 100px; | 20 height: 100px; |
21 position: absolute; | 21 position: absolute; |
22 width: 100px; | 22 width: 100px; |
23 z-index: -1; | 23 z-index: -1; |
24 } | 24 } |
25 | 25 |
26 div.floated-left | 26 div.floated-left |
27 { | 27 { |
28 color: green; | 28 color: green; |
29 float: left; | 29 float: left; |
30 font: 1.25em/1 Ahem; /* computes to 20px/20px */ | 30 font: 20px/1 Ahem; /* computes to 20px/20px */ |
31 -webkit-writing-mode: vertical-lr; | 31 -webkit-writing-mode: vertical-lr; |
32 } | 32 } |
33 ]]></style> | 33 ]]></style> |
34 </head> | 34 </head> |
35 | 35 |
36 <body> | 36 <body> |
37 | 37 |
38 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> | 38 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> |
39 | 39 |
40 <div id="reference-overlapped-red"></div> | 40 <div id="reference-overlapped-red"></div> |
41 | 41 |
42 <div class="floated-left">abcde</div> | 42 <div class="floated-left">abcde</div> |
43 | 43 |
44 <div class="floated-left">fghjk</div> | 44 <div class="floated-left">fghjk</div> |
45 | 45 |
46 <div class="floated-left">lmnor</div> | 46 <div class="floated-left">lmnor</div> |
47 | 47 |
48 <div class="floated-left">rstuv</div> | 48 <div class="floated-left">rstuv</div> |
49 | 49 |
50 <div class="floated-left">wxyzz</div> | 50 <div class="floated-left">wxyzz</div> |
51 | 51 |
52 </body> | 52 </body> |
53 </html> | 53 </html> |
OLD | NEW |