aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css21_dev/html4/reference/inline-block-alignment-007-ref.htm
blob: dc08df26fba15f684b594295a77077c83f1e7cdc (plain) (blame)
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
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <title>CSS Reftest Reference</title>
  <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com">
  <link rel="reviewer" title="Gerard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2015-07-21 -->
  <meta name="flags" content="image">
  <style type="text/css">
  img
  {
   vertical-align: top;
  }

  img
  {
   padding-left: 228px; /* 60 px (padding-left) + 120px (first line-block width) + 48px (the position difference of box) */
  }

  img + br + img
  {
   padding-left: 60px; /* 60 px (padding-left) */
  }

  img + br + img + br + img
  {
   padding-left: 252px; /* 60 px (padding-left) + 120px (first line-block width) + 72px (the position difference of box) */
  }
  </style>

  </head>

  <body>

  <p>Test passes if the <strong>right edge</strong> of an irregular polygon is straight and unbroken.</p>

  <div>
    <img src="support/swatch-aqua.png" width="48" height="60" alt="Image download support must be enabled"><br><!--
 --><img src="support/swatch-aqua.png" width="216" height="120" alt="Image download support must be enabled"><br><!--
 --><img src="support/swatch-aqua.png" width="24" height="30" alt="Image download support must be enabled">
  </div>
  </body>
</html>