File: li.html

package info (click to toggle)
liblayout 0.2.10-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 5,332 kB
  • sloc: java: 51,125; xml: 138; makefile: 17
file content (54 lines) | stat: -rw-r--r-- 890 bytes parent folder | download | duplicates (5)
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
43
44
45
46
47
48
49
50
51
52
53
54
<html>
<head>
  <style type="text/css">
    ol {
      border: 1pt solid black;
      /*margin: 0;*/
      padding: 2em;
    }

    li {
      border: 1pt solid red;
      margin: 0;
      padding: 0;
      list-style-position:outside;
    }

    li:marker {
      background-color: yellow;
    }
  </style>
</head>

<body>
<h1>
  Testing the list item behaviour
</h1>
<ol>
  <li>Test</li>
  <li>Test</li>
  <li>dasd
    <ol>
      <li>Test</li>
      <li>Test</li>
      <li>Test</li>
      <li>Test</li>
      <li>Test</li>
    </ol>
  </li>
  <li>Test</li>
  <li>Test</li>
</ol>

<p>
  The following test will only work, if the renderer supports inline-boxes.
  Opera does.
</p>
<p>
  aa<span style="display:inline-block;">Test</span>
  Some leadingtext <ol style="display:inline-block;">
                    <li>Test</li>
                    </ol>Sometrailing text
</p>
</body>
</html>