blob: 365ad6226d78361cdf4d93c1f3abd46b099f9944 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: CSS Inline Box Model: Behaviour near cells (normal line height)</title>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-10-20 -->
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/inline/010.xml" type="application/xhtml+xml"/>
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/inline/010.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#line-height"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting"/>
<meta name="flags" content="ahem image"/>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div, table, tr, td, img { margin: 0; border: 0; padding: 0; border-spacing: 0; }
.test > * { border: solid thick blue; font: 20px Ahem; float: left; color: gray;
margin: 0.2em; height: auto; width: 3em; text-align: center; }
</style>
</head>
<body>
<p>Test passes if the 4 blue rectangles have the <strong>same size</strong>.</p>
<div class="test">
<div>ÉÉÉ</div>
<table><tr><td>ÉÉÉ</td></tr></table>
<table><tr><td><img class="img" src="support/1x1-gray.png" width="60" height="16"
alt="(image test failed)"/></td></tr></table>
<table><tr><td><img src="404" alt="ÉÉÉ" width="60" height="16"/></td></tr></table>
</div>
</body>
</html>