| 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 (heig
ht: auto) in 'vertical-rl' context</title> | 7 <title>CSS Writing Modes Test: 'float' and 'shrink-to-fit' logical width (heig
ht: auto) in 'vertical-rl' 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' applying on logical width
must not reduce content but size to fit to its content. In this test, 'L' and '
R' glyphs must be rendered." name="assert" /> | 14 <meta content="This test checks that 'shrink-to-fit' applying on logical width
must not reduce content but size to fit to its content. In this test, 'L' and '
R' glyphs must be rendered." name="assert" /> |
| 15 | 15 |
| 16 <style type="text/css"><![CDATA[ | 16 <style type="text/css"><![CDATA[ |
| 17 div#test-floated-left | 17 div#test-floated-left |
| 18 { | 18 { |
| 19 color: green; | 19 color: green; |
| 20 float: left; | 20 float: left; |
| 21 font: 3.125em/1 Ahem; /* computes to 50px/50px */ | 21 font: 50px/1 Ahem; /* computes to 50px/50px */ |
| 22 height: auto; | 22 height: auto; |
| 23 -webkit-writing-mode: vertical-rl; | 23 -webkit-writing-mode: vertical-rl; |
| 24 } | 24 } |
| 25 | 25 |
| 26 div.inner-green-border-bottom | 26 div.inner-green-border-bottom |
| 27 { | 27 { |
| 28 border-bottom: green solid 1em; | 28 border-bottom: green solid 1em; |
| 29 } | 29 } |
| 30 | 30 |
| 31 div#reference-red-overlapped | 31 div#reference-red-overlapped |
| (...skipping 16 matching lines...) Expand all Loading... |
| 48 <div class="inner-green-border-bottom">L</div> | 48 <div class="inner-green-border-bottom">L</div> |
| 49 | 49 |
| 50 <div class="inner-green-border-bottom">R</div> | 50 <div class="inner-green-border-bottom">R</div> |
| 51 | 51 |
| 52 </div> | 52 </div> |
| 53 | 53 |
| 54 <div id="reference-red-overlapped"></div> | 54 <div id="reference-red-overlapped"></div> |
| 55 | 55 |
| 56 </body> | 56 </body> |
| 57 </html> | 57 </html> |
| OLD | NEW |