| 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: line box height and border on non-replaced inli
ne box (sideways)</title> | 7 <title>CSS Writing Modes Test: line box height and border on non-replaced inli
ne box (sideways)</title> |
| 8 | 8 |
| 9 <!-- | 9 <!-- |
| 10 Test inspired by | 10 Test inspired by |
| 11 http://mxr.mozilla.org/mozilla-central/source/layout/reftests/writing-mode/113
0907-intrinsic-sizing-2.html | 11 http://mxr.mozilla.org/mozilla-central/source/layout/reftests/writing-mode/113
0907-intrinsic-sizing-2.html |
| 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="help" href="http://www.w3.org/TR/CSS21/visudet.html#line-height" ti
tle="10.8.1 Leading and half-leading" /> | 16 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#line-height" ti
tle="10.8.1 Leading and half-leading" /> |
| 17 <link rel="match" href="line-box-height-vrl-006-ref.xht" /> | 17 <link rel="match" href="line-box-height-vlr-007-ref.xht" /> |
| 18 | 18 |
| 19 <meta content="" name="flags" /> | 19 <meta content="" name="flags" /> |
| 20 <meta content="This test checks that a line box height does not increase becau
se an inline non-replaced box has a border. In this test, the '34' inline box an
d the '56' inline box should be lined up with its inline '12' sibling. The line
box height, enclosed by the blue border should not grow to accomodate transparen
t 'border-left' of inline box and transparent 'border-right' of inline box." nam
e="assert" /> | 20 <meta content="This test checks that a line box height does not increase becau
se an inline non-replaced box has a border. In this test, the '34' inline box an
d the '56' inline box should be lined up with its inline '12' sibling. The line
box height, enclosed by the blue border should not grow to accomodate transparen
t 'border-left' of inline box and transparent 'border-right' of inline box." nam
e="assert" /> |
| 21 | 21 |
| 22 <style type="text/css"><![CDATA[ | 22 <style type="text/css"><![CDATA[ |
| 23 body | 23 body |
| 24 { | 24 { |
| 25 margin-left: 32px; | 25 margin-left: 32px; |
| 26 } | 26 } |
| 27 | 27 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 50 <body> | 50 <body> |
| 51 | 51 |
| 52 <p>Test passes if there are 2 identical blue rectangles with "123456" rotate
d 90 degrees clockwise. The size of each blue rectangles must be identical and t
he two "123456" numbers must be enclosed by the two blue borders.</p> | 52 <p>Test passes if there are 2 identical blue rectangles with "123456" rotate
d 90 degrees clockwise. The size of each blue rectangles must be identical and t
he two "123456" numbers must be enclosed by the two blue borders.</p> |
| 53 | 53 |
| 54 <div id="test">12<span id="border-left">34</span><span id="border-right">56<
/span></div> | 54 <div id="test">12<span id="border-left">34</span><span id="border-right">56<
/span></div> |
| 55 | 55 |
| 56 <div id="reference">123456</div> | 56 <div id="reference">123456</div> |
| 57 | 57 |
| 58 </body> | 58 </body> |
| 59 </html> | 59 </html> |
| OLD | NEW |