Files
servo/tests/wpt/css-tests/css21_dev/xhtml1/replaced-elements-max-width-40.xht

31 lines
1.1 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Test: CSS 2.1 replaced element sizing</title>
<link href="reference/replaced-elements-width-40-ref.xht" rel="match" />
<link href="http://dbaron.org/" rel="author" title="L. David Baron" />
<link href="http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-width" rel="help" />
<link href="http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-height" rel="help" />
<link href="http://www.w3.org/TR/CSS21/visudet.html#min-max-widths" rel="help" />
<meta content="should" name="flags" /> <!-- undefinedness in 10.3.2 -->
<style type="text/css">
div { width: 200px }
img { max-width: 40px }
</style>
</head>
<body>
<div>
<img src="support/height-25-width-50.svg" />,
<img src="support/height-25-ratio-2.svg" />,
<img src="support/width-50-ratio-2.svg" />,
<img src="support/height-25-no-ratio.svg" />,
<img src="support/width-50-no-ratio.svg" />,
<img src="support/ratio-2.svg" />,
<img src="support/no-ratio.svg" />.
</div>
</body></html>