inline-replaced-vrl-002.xht (1157B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 5 <head> 6 7 <title>CSS Writing Modes Test: inline replaced element and 'vertical-rl'</title> 8 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#block-flow" title="3.1 Block Flow Direction: the writing-mode property" /> 11 <link rel="match" href="inline-replaced-vrl-002-ref.xht" /> 12 13 <meta content="image" name="flags" /> 14 <meta content="This test checks that the content of an inline replaced element does not rotate due to the writing mode." name="assert" /> 15 16 <style type="text/css"><![CDATA[ 17 div 18 { 19 height: 7em; 20 writing-mode: vertical-rl; 21 } 22 23 /* cat.png has an intrinsic height of 99px and an intrinsic width of 98px */ 24 ]]></style> 25 </head> 26 27 <body> 28 29 <p>Test passes if there is a cat and if the <strong>cat is not rotated</strong>.</p> 30 31 <div><img src="support/cat.png" alt="Image download support must be enabled" /></div> 32 33 </body> 34 </html>