summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-007.html
blob: 8eda7057da08b60ee3b6ddf1aad05adcaa64642a (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
31
<!DOCTYPE html>
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<html><head>
  <meta charset="utf-8">
  <title>HTML LI element: implied scope</title>
  <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.org">
  <link rel="help" href="https://html.spec.whatwg.org/multipage/grouping-content.html#the-li-element">
  <link rel="help" href="https://drafts.csswg.org/css-lists/#propdef-counter-reset">
  <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1745506">
  <link rel="match" href="grouping-li-reftest-004-ref.html">
  <style>
    body { margin-left: 40px }
    ol { margin: 0; padding: 0 }
    li { list-style-type: decimal }
  </style>
</head>
<body>
<div><ol start=99></ol></div> <!-- this scope shouldn't affect the LIs below -->
<ol style="counter-reset: item"> <!-- this counter shouldn't affect the LIs below -->
<li></li>
<li></li>
<li></li>
<li></li>
<div><li></li></div>
<div><div><li></li></div></div>
</ol>
</body>
</html>