servo/tests/wpt/css-tests/css-writing-modes-3_dev/html/inline-replaced-vlr-003.htm

33 lines
No EOL
1.1 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Writing Modes Test: inline replaced element and 'vertical-lr'</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property">
<link rel="match" href="reference/inline-replaced-vrl-002-ref.htm">
<meta content="image" name="flags">
<meta content="This test checks that the content of an inline replaced element does not rotate due to the writing mode." name="assert">
<style type="text/css">
div
{
height: 7em;
writing-mode: vertical-lr;
}
/* cat.png has an intrinsic height of 99px and an intrinsic width of 98px */
</style>
</head>
<body>
<p>Test passes if there is a cat and if the <strong>cat is not rotated</strong>.</p>
<div><img src="support/cat.png" alt="Image download support must be enabled"></div>
</body>
</html>