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: 'float: right', 'float: left' and 'clear: both'
in 'vertical-lr' block formating context (intermediate)</title> | 7 <title>CSS Writing Modes Test: 'float: right', 'float: left' and 'clear: both'
in 'vertical-lr' block formating context (intermediate)</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="image" name="flags" /> | 13 <meta content="image" name="flags" /> |
14 <meta content="This test checks that a block container box which has floats wi
ll not extend its logical height (it will appear to not be aware of its floats)
unless it has a clearing block. This test is important for CSS columnar layout p
age based on floats." name="assert" /> | 14 <meta content="This test checks that a block container box which has floats wi
ll not extend its logical height (it will appear to not be aware of its floats)
unless it has a clearing block. This test is important for CSS columnar layout p
age based on floats." name="assert" /> |
15 | 15 |
16 <style type="text/css"><![CDATA[ | 16 <style type="text/css"><![CDATA[ |
17 div#wrapper | 17 div#wrapper |
18 { | 18 { |
19 background: red url("support/pattern-gr-gr-100x100.png"); | 19 background: red url("support/pattern-gr-gr-100x100.png"); |
20 font-size: 3.125em; /* computes to 50px */ | 20 font-size: 50px; |
21 height: 2em; /* computes to 100px */ | 21 height: 2em; /* computes to 100px */ |
22 width: 2em; /* computes to 100px */ | 22 width: 2em; /* computes to 100px */ |
23 -webkit-writing-mode: vertical-lr; | 23 -webkit-writing-mode: vertical-lr; |
24 } | 24 } |
25 | 25 |
26 div#container | 26 div#container |
27 { | 27 { |
28 border-right: green solid 1em; | 28 border-right: green solid 1em; |
29 width: auto; /* Very important: we want div#container to be able to shrink
-wrap */ | 29 width: auto; /* Very important: we want div#container to be able to shrink
-wrap */ |
30 } | 30 } |
(...skipping 26 matching lines...) Expand all Loading... |
57 <div id="wrapper"> | 57 <div id="wrapper"> |
58 <div id="container"> | 58 <div id="container"> |
59 <div id="floated-right"></div> | 59 <div id="floated-right"></div> |
60 <div id="clearing"></div> | 60 <div id="clearing"></div> |
61 <div id="floated-left"></div> | 61 <div id="floated-left"></div> |
62 </div> | 62 </div> |
63 </div> | 63 </div> |
64 | 64 |
65 </body> | 65 </body> |
66 </html> | 66 </html> |
OLD | NEW |