Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: LayoutTests/fast/css/counter-none.htm

Issue 141763003: Allow counter-reset/increment: none. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added assert. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/css/counter-none-expected.htm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <style>
5 .reset_section {
6 counter-reset: reset_section_count 13;
7 }
8 .reset_section {
9 counter-increment: reset_section_count;
10 counter-reset: none;
11 }
12 .reset_section > .title:before {
13 content: counter(reset_section_count);
14 }
15 .increment_section {
16 counter-increment: increment_section_count 2;
17 }
18 .increment_section {
19 counter-increment: none;
20 }
21 .increment_section > .title:before {
22 content: counter(increment_section_count);
23 }
24 </style>
25 </head>
26 <body>
27 <div class="reset_section">
28 <div class="title">Reset Section 1 title</div>
29 </div>
30 <div class="reset_section">
31 <div class="title">Reset Section 2 title</div>
32 </div>
33 <div class="increment_section">
34 <div class="title">Increment Section 1 title</div>
35 </div>
36 <div class="increment_section">
37 <div class="title">Increment Section 2 title</div>
38 </div>
39 <div class="increment_section">
40 <div class="title">Increment Section 2 title</div>
41 </div>
42 </body>
43 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/counter-none-expected.htm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698