diff --git a/css2/generate.html b/css2/generate.html index 9e398c3aa96..dcfad9b090c 100644 --- a/css2/generate.html +++ b/css2/generate.html @@ -647,7 +647,7 @@

12.4.1 Nested counters and scope

'list-style: inside' on the LI element:
-OL { counter-reset: item }
+OL>LI:first-child { counter-reset: item }
 LI { display: block }
 LI:before { content: counter(item) ". "; counter-increment: item }
 
@@ -735,7 +735,7 @@

12.4.1 Nested counters and scope

as "1", "1.1", "1.1.1", etc.
-OL { counter-reset: item }
+OL>LI:first-child { counter-reset: item }
 LI { display: block }
 LI:before { content: counters(item, ".") " "; counter-increment: item }