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

Side by Side Diff: LayoutTests/fast/css/counters/asterisk-counter-update-after-layout-crash.html

Issue 23530010: Make CSSStyleSheet.insertRule() / deleteRule() arguments mandatory (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 <style> 1 <style>
2 .x:after { content:counter(c, asterisks) ""; counter-increment:c 1550; } 2 .x:after { content:counter(c, asterisks) ""; counter-increment:c 1550; }
3 </style> 3 </style>
4 <script> 4 <script>
5 function runTest() { 5 function runTest() {
6 document.styleSheets[0].insertRule("div { counter-reset: c 141170 }"); 6 document.styleSheets[0].insertRule("div { counter-reset: c 141170 }", 0);
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 } 9 }
10 window.onload=runTest; 10 window.onload=runTest;
11 </script> 11 </script>
12 <div> 12 <div>
13 <span class="x"> 13 <span class="x">
14 <div></div> 14 <div></div>
15 <span class="x"> 15 <span class="x">
16 <p> 16 <p>
17 <p> 17 <p>
18 PASS if no assert or crash in debug 18 PASS if no assert or crash in debug
19 </div> 19 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698