| 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: 'clip: rect()' in 'vertical-lr' writing-mode (n
on-orthogonal)</title> | 7 <title>CSS Writing Modes Test: 'clip: rect()' in 'vertical-lr' writing-mode (o
rthogonal)</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/#physical-only
" title="7.6 Purely Physical Mappings" /> | 10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#physical-only
" title="7.6 Purely Physical Mappings" /> |
| 11 <link rel="match" href="clip-rect-vlr-015-ref.xht" /> | 11 <link rel="match" href="clip-rect-vrl-006-ref.xht" /> |
| 12 | 12 |
| 13 <meta content="image" name="flags" /> | 13 <meta content="image" name="flags" /> |
| 14 <meta content="This test checks that 'clip: rect(50px, 50px, 100px, 0px)' set
to an image in a 'writing-mode: vertical-lr' document will make invisible the re
gion outside the bottom-left corner of such image." name="assert" /> | 14 <meta content="This test checks that 'clip: rect(50px, 50px, 100px, 0px)' set
to an image with 'writing-mode: vertical-lr' will make invisible the region outs
ide the bottom-left corner of such image." name="assert" /> |
| 15 | 15 |
| 16 <style type="text/css"><![CDATA[ | 16 <style type="text/css"><![CDATA[ |
| 17 html | |
| 18 { | |
| 19 -webkit-writing-mode: vertical-lr; | |
| 20 } | |
| 21 | |
| 22 img#test | 17 img#test |
| 23 { | 18 { |
| 24 clip: rect(50px, 50px, 100px, 0px); | 19 clip: rect(50px, 50px, 100px, 0px); |
| 25 position: absolute; | 20 position: absolute; |
| 21 -webkit-writing-mode: vertical-lr; |
| 26 } | 22 } |
| 27 ]]></style> | 23 ]]></style> |
| 28 </head> | 24 </head> |
| 29 | 25 |
| 30 <body> | 26 <body> |
| 31 | 27 |
| 32 <p><img src="support/pass-cdts-abs-pos-non-replaced.png" width="246" height="3
6" alt="Image download support must be enabled" /></p> | 28 <p><img src="support/pass-cdts-abs-pos-non-replaced.png" width="246" height="3
6" alt="Image download support must be enabled" /></p> |
| 33 | 29 |
| 34 <!-- | 30 <!-- |
| 35 Image says: | 31 Image says: |
| 36 Test passes if there is a filled green square and <strong>no red</strong>. | 32 Test passes if there is a filled green square and <strong>no red</strong>. |
| 37 --> | 33 --> |
| 38 | 34 |
| 39 <div><img id="test" src="support/pattern-rr-gr-100x100.png" width="100" height
="100" alt="Image download support must be enabled" /></div> | 35 <div><img id="test" src="support/pattern-rr-gr-100x100.png" width="100" height
="100" alt="Image download support must be enabled" /></div> |
| 40 | 36 |
| 41 </body> | 37 </body> |
| 42 </html> | 38 </html> |
| OLD | NEW |