| 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' and 'clear: right' in 'vertical-
lr' block formating context (basic)</title> | 7 <title>CSS Writing Modes Test: 'float: right' and 'clear: right' in 'vertical-
lr' block formating context (basic)</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 image" name="flags" /> | 13 <meta content="ahem image" name="flags" /> |
| 14 | 14 |
| 15 <style type="text/css"><![CDATA[ | 15 <style type="text/css"><![CDATA[ |
| 16 div#wrapper | 16 div#wrapper |
| 17 { | 17 { |
| 18 background: red url("support/pattern-gr-gr-100x100.png"); | 18 background: red url("support/pattern-gr-gr-100x100.png"); |
| 19 color: transparent; | 19 color: transparent; |
| 20 font: 3.125em/1 Ahem; /* computes to 50px/50px */ | 20 font: 50px/1 Ahem; /* computes to 50px/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#floated-right | 26 div#floated-right |
| 27 { | 27 { |
| 28 float: right; | 28 float: right; |
| 29 } | 29 } |
| 30 | 30 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> | 42 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> |
| 43 | 43 |
| 44 <div id="wrapper"> | 44 <div id="wrapper"> |
| 45 <div id="floated-right">R</div> | 45 <div id="floated-right">R</div> |
| 46 <div id="cleared-right"></div> | 46 <div id="cleared-right"></div> |
| 47 </div> | 47 </div> |
| 48 | 48 |
| 49 </body> | 49 </body> |
| 50 </html> | 50 </html> |
| OLD | NEW |