summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/lists/list-style-image-005.xht
blob: c6d15492be6ebc088b0fb5eb420512eb0d76ba66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Test: CSS Lists: list-item with list-style-image</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="reviewer" 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-03-06 -->
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/list/007.html" type="text/html"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style" />
  <link rel="match" href="list-style-image-005-ref.xht" />

  <style type="text/css">
   div { margin: 0 0 0 20px; list-style-image: url(support/swatch-green.png); display: list-item; float: left; }
  </style>
 </head>
 <body>
  <p> There should be a green square (and the word 'TEST') below. </p>
  <div>TEST</div>
 </body>
</html>