| 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: 'vertical-lr' and margin collapsing - right mar
gin of a block collapses with right margin of its last child</title> | 7 <title>CSS Writing Modes Test: 'vertical-lr' and margin collapsing - right mar
gin of a block collapses with right margin of its last child</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/#logical-direc
tion-layout" title="7.4 Flow-Relative Mappings" /> | 10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#logical-direc
tion-layout" title="7.4 Flow-Relative Mappings" /> |
| 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 <!-- | 13 <!-- |
| 14 " | 14 " |
| 15 The margin collapsing rules apply exactly with the block-start margin substitu
ted for the top margin and the block-end margin substituted for the bottom margi
n. | 15 The margin collapsing rules apply exactly with the block-start margin substitu
ted for the top margin and the block-end margin substituted for the bottom margi
n. |
| 16 " | 16 " |
| 17 --> | 17 --> |
| 18 | 18 |
| 19 <meta content="ahem image" name="flags" /> | 19 <meta content="ahem image" name="flags" /> |
| 20 <meta name="assert" content="This test checks that, in a vertical-lr context,
the right margin an in-flow block box collapses with its last in-flow block-leve
l child's right margin if the element has no right padding and no right border a
nd the child's right margin does not collapse with a left margin that has cleara
nce." /> | 20 <meta name="assert" content="This test checks that, in a vertical-lr context,
the right margin an in-flow block box collapses with its last in-flow block-leve
l child's right margin if the element has no right padding and no right border a
nd the child's right margin does not collapse with a left margin that has cleara
nce." /> |
| 21 | 21 |
| 22 <style type="text/css"><![CDATA[ | 22 <style type="text/css"><![CDATA[ |
| 23 div | 23 div |
| 24 { | 24 { |
| 25 font: 25px/1em Ahem; | 25 font: 25px/1em Ahem; |
| 26 height: 4em; | 26 height: 4em; |
| 27 } | 27 } |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 <div id="wrapper"> | 61 <div id="wrapper"> |
| 62 <div id="parent"> | 62 <div id="parent"> |
| 63 <div id="widthless-child"></div> | 63 <div id="widthless-child"></div> |
| 64 <div id="last-child"></div> | 64 <div id="last-child"></div> |
| 65 </div> | 65 </div> |
| 66 <div id="following-parent"></div> | 66 <div id="following-parent"></div> |
| 67 </div> | 67 </div> |
| 68 | 68 |
| 69 </body> | 69 </body> |
| 70 </html> | 70 </html> |
| OLD | NEW |