Skip to content

Commit 9132aa1

Browse files
committed
Update the UA stylesheet to use counter-set for li[value].
1 parent 0dcdc4f commit 9132aa1

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

css3-lists/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3105,8 +3105,8 @@ <h2 id=ua-stylesheet><span class=secno>13. </span> Sample style sheet for
31053105

31063106
/* The value attribute on li elements */
31073107
li[value] {
3108-
counter-reset: list-item attr(value, integer, 1);
3109-
counter-increment: none;<!-- XXX interaction with default increase -->
3108+
counter-set: list-item attr(value, integer, 1);
3109+
counter-increment: none; /* Turn off default increase */
31103110
}
31113111

31123112
/* Box Model Rules */

css3-lists/Overview.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2055,8 +2055,8 @@ <h2 id='ua-stylesheet'>
20552055

20562056
/* The value attribute on li elements */
20572057
li[value] {
2058-
counter-reset: list-item attr(value, integer, 1);
2059-
counter-increment: none;<!-- XXX interaction with default increase -->
2058+
counter-set: list-item attr(value, integer, 1);
2059+
counter-increment: none; /* Turn off default increase */
20602060
}
20612061

20622062
/* Box Model Rules */

0 commit comments

Comments
 (0)