| 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' and 'shrink-to-fit' logical width in 'v
ertical-lr' context</title> | 7 <title>CSS Writing Modes Test: 'float' and 'shrink-to-fit' logical width in 'v
ertical-lr' context</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 that 'shrink-to-fit' width is applied on logic
al width (measure)." name="assert" /> | 14 <meta content="This test checks that 'shrink-to-fit' width is applied on logic
al width (measure)." name="assert" /> |
| 15 | 15 |
| 16 <style type="text/css"><![CDATA[ | 16 <style type="text/css"><![CDATA[ |
| 17 div.floated-left | 17 div.floated-left |
| 18 { | 18 { |
| 19 background-color: red; | 19 background-color: red; |
| 20 float: left; | 20 float: left; |
| 21 font: 6.25em/1 Ahem; /* computes to 100px/100px */ | 21 font: 100px/1 Ahem; /* computes to 100px/100px */ |
| 22 -webkit-writing-mode: vertical-lr; | 22 -webkit-writing-mode: vertical-lr; |
| 23 } | 23 } |
| 24 | 24 |
| 25 div.left-border | 25 div.left-border |
| 26 { | 26 { |
| 27 border-left: red solid 1em; | 27 border-left: red solid 1em; |
| 28 } | 28 } |
| 29 | 29 |
| 30 div.right-border | 30 div.right-border |
| 31 { | 31 { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 58 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> | 58 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> |
| 59 | 59 |
| 60 <div class="floated-left"> | 60 <div class="floated-left"> |
| 61 <div class="left-border right-border left-padding right-padding"></div> | 61 <div class="left-border right-border left-padding right-padding"></div> |
| 62 </div> | 62 </div> |
| 63 | 63 |
| 64 <div id="reference-overlapped-green"></div> | 64 <div id="reference-overlapped-green"></div> |
| 65 | 65 |
| 66 </body> | 66 </body> |
| 67 </html> | 67 </html> |
| OLD | NEW |