Skip to content

Commit 7a0e494

Browse files
committed
Add a line to the UA stylesheet using cycle() for <ul>.
1 parent 9132aa1 commit 7a0e494

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

css3-lists/Overview.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3086,6 +3086,9 @@ <h2 id=ua-stylesheet><span class=secno>13. </span> Sample style sheet for
30863086
ul { list-style-type: disc; }
30873087
ul ul { list-style-type: square; }
30883088
ul ul ul { list-style-type: circle; }
3089+
/* Alternately, if Values & Units Level 3 is supported, replace
3090+
the above three lines with: */
3091+
ul { list-style-type: cycle(disc, square, circle); }
30893092

30903093
/* The type attribute on ol and ul elements */
30913094
ul[type="disc"] { list-style-type: disc; }

css3-lists/Overview.src.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2036,6 +2036,9 @@ <h2 id='ua-stylesheet'>
20362036
ul { list-style-type: disc; }
20372037
ul ul { list-style-type: square; }
20382038
ul ul ul { list-style-type: circle; }
2039+
/* Alternately, if Values & Units Level 3 is supported, replace
2040+
the above three lines with: */
2041+
ul { list-style-type: cycle(disc, square, circle); }
20392042

20402043
/* The type attribute on ol and ul elements */
20412044
ul[type="disc"] { list-style-type: disc; }

0 commit comments

Comments
 (0)