| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"> |
| 2 |
| 3 <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 |
| 5 <head> |
| 6 |
| 7 <title>CSS Writing Modes Test: 'clip: rect()' in 'vertical-rl' writing-mode (n
on-orthogonal)</title> |
| 8 |
| 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" /> |
| 11 <link rel="match" href="clip-rect-vrl-014-ref.xht" /> |
| 12 |
| 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-rl' document will make invisible the re
gion outside the bottom-left corner of such image." name="assert" /> |
| 15 |
| 16 <style type="text/css"><![CDATA[ |
| 17 html |
| 18 { |
| 19 -webkit-writing-mode: vertical-rl; |
| 20 } |
| 21 |
| 22 img#test |
| 23 { |
| 24 clip: rect(50px, 50px, 100px, 0px); |
| 25 position: absolute; |
| 26 } |
| 27 ]]></style> |
| 28 </head> |
| 29 |
| 30 <body> |
| 31 |
| 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> |
| 33 |
| 34 <!-- |
| 35 Image says: |
| 36 Test passes if there is a filled green square and <strong>no red</strong>. |
| 37 --> |
| 38 |
| 39 <div><img id="test" src="support/pattern-rr-gr-100x100.png" width="100" height
="100" alt="Image download support must be enabled" /></div> |
| 40 |
| 41 </body> |
| 42 </html> |
| OLD | NEW |