| 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: position absolute and 'vertical-lr' - 'left' an
d 'width' are 'auto', 'right' is not 'auto' with 'direction: rtl' in initial con
taining block</title> | 7 <title>CSS Writing Modes Test: position absolute and 'vertical-lr' - 'left' an
d 'width' are 'auto', 'right' is not 'auto' with 'direction: rtl' in initial con
taining block</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="abs-pos-non-replaced-icb-vrl-008-ref.xht" /> |
| 12 | 12 |
| 13 <meta content="" name="flags" /> | 13 <meta content="" name="flags" /> |
| 14 <meta content="This test checks that when the initial containing block's writi
ng-mode is 'horizontal-tb' and its 'direction' is 'rtl', then an absolutely posi
tioned box (with 'left' and 'width' are 'auto' and 'right' is not 'auto') whose
containing block is the initial containing block must set width to shrink-to-fit
and then solve for 'left'. Whether such absolutely positioned box's 'writing-mo
de' is vertical or not is irrelevant." name="assert" /> | 14 <meta content="This test checks that when the initial containing block's writi
ng-mode is 'horizontal-tb' and its 'direction' is 'rtl', then an absolutely posi
tioned box (with 'left' and 'width' are 'auto' and 'right' is not 'auto') whose
containing block is the initial containing block must set width to shrink-to-fit
and then solve for 'left'. Whether such absolutely positioned box's 'writing-mo
de' is vertical or not is irrelevant." name="assert" /> |
| 15 | 15 |
| 16 <style type="text/css"><![CDATA[ | 16 <style type="text/css"><![CDATA[ |
| 17 object#overlapping-green | 17 object#overlapping-green |
| 18 { | 18 { |
| 19 height: 116px; | 19 height: 116px; |
| 20 width: 500px; /* 500px divided by 5 == 100px (width of green square) */ | 20 width: 500px; /* 500px divided by 5 == 100px (width of green square) */ |
| 21 vertical-align: top; | 21 vertical-align: top; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 37 <body> | 37 <body> |
| 38 | 38 |
| 39 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> | 39 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> |
| 40 | 40 |
| 41 <div><object data="support/embedded-doc-abs-pos-non-replaced-icb-vlr-009.html"
type="text/html" id="overlapping-green">This test requires a browser with capab
ility to embed an HTML document thanks to the HTML <object> element.</obje
ct></div> | 41 <div><object data="support/embedded-doc-abs-pos-non-replaced-icb-vlr-009.html"
type="text/html" id="overlapping-green">This test requires a browser with capab
ility to embed an HTML document thanks to the HTML <object> element.</obje
ct></div> |
| 42 | 42 |
| 43 <div id="red-overlapped-reference"></div> | 43 <div id="red-overlapped-reference"></div> |
| 44 | 44 |
| 45 </body> | 45 </body> |
| 46 </html> | 46 </html> |
| OLD | NEW |