summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/normal-flow/inlines-009.xht
blob: 85728f7958f0f421ecba66c6f27a7d47b7ca86b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!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 (specified 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/009.xml" type="application/xhtml+xml"/>
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/inline/009.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"><![CDATA[
   div, table, tr, td { margin: 0; border: 0; padding: 0; border-spacing: 0; line-height: 1.3; }
   .test > * { border: solid blue; font: 20px/1.3 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>