| 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: clearance calculations</title> | 7 <title>CSS Writing Modes Test: clearance calculations</title> |
| 8 | 8 |
| 9 <!-- | 9 <!-- |
| 10 This test is the verticalized version of | 10 This test is the verticalized version of |
| 11 http://test.csswg.org/suites/css2.1/latest/html4/clear-clearance-calculation-0
04.htm | 11 http://test.csswg.org/suites/css2.1/latest/html4/clear-clearance-calculation-0
04.htm |
| 12 --> | 12 --> |
| 13 | 13 |
| 14 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB
ugsSection/css21testsuite/" /> | 14 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB
ugsSection/css21testsuite/" /> |
| 15 <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" /> | 15 <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" /> |
| 16 <link rel="match" href="clearance-calculations-vrl-008-ref.xht" /> | 16 <link rel="match" href="clearance-calculations-vrl-008-ref.xht" /> |
| 17 | 17 |
| 18 <meta content="image" name="flags" /> | 18 <meta content="image" name="flags" /> |
| 19 <meta content="In this test, the right border edge of div#clearing-left must b
e on the left side of div#floated-left, i.e., 50px further on its left-hand side
. That means that the margin-left of div#preceding-sibling must not collapse wit
h the right margin of the div#clearing-left and clearance must be added such tha
t clearance + margin-right of div#clearing-left = 50px, i.e., clearance = 50px -
margin-right of div#clearing-left; therefore clearance is equal to 50px - 75px
= - 25px." name="assert" /> | 19 <meta content="In this test, the right border edge of div#clearing-left must b
e on the left side of div#floated-left, i.e., 50px further on its left-hand side
. That means that the margin-left of div#preceding-sibling must not collapse wit
h the right margin of the div#clearing-left and clearance must be added such tha
t clearance + margin-right of div#clearing-left = 50px, i.e., clearance = 50px -
margin-right of div#clearing-left; therefore clearance is equal to 50px - 75px
= - 25px." name="assert" /> |
| 20 | 20 |
| 21 <style type="text/css"><![CDATA[ | 21 <style type="text/css"><![CDATA[ |
| 22 html | 22 html |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 <div id="floated-left"></div> | 67 <div id="floated-left"></div> |
| 68 | 68 |
| 69 <div id="clearing-left"></div> | 69 <div id="clearing-left"></div> |
| 70 | 70 |
| 71 <div><img src="support/pass-cdts-clearance-calculations.png" width="474" heigh
t="17" alt="Image download support must be enabled" /></div> | 71 <div><img src="support/pass-cdts-clearance-calculations.png" width="474" heigh
t="17" alt="Image download support must be enabled" /></div> |
| 72 | 72 |
| 73 <div id="reference-overlapped-red"></div> | 73 <div id="reference-overlapped-red"></div> |
| 74 | 74 |
| 75 </body> | 75 </body> |
| 76 </html> | 76 </html> |
| OLD | NEW |