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

Unified Diff: LayoutTests/editing/selection/first-letter-selection-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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/css/counters/asterisk-counter-update-after-layout-crash.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/selection/first-letter-selection-crash.html
diff --git a/LayoutTests/editing/selection/first-letter-selection-crash.html b/LayoutTests/editing/selection/first-letter-selection-crash.html
index 969cff2d4ccc88a982d18e9d16cc7370158fa9ff..f19dfe9ea03759b42df9603bcce4b892dc332d09 100755
--- a/LayoutTests/editing/selection/first-letter-selection-crash.html
+++ b/LayoutTests/editing/selection/first-letter-selection-crash.html
@@ -19,7 +19,7 @@ window.onload = function() {
test1.appendChild(document.createTextNode('a'));
document.execCommand('selectall');
document.body.offsetTop;
- document.styleSheets[0].insertRule("#test2 { text-transform: uppercase }");
+ document.styleSheets[0].insertRule("#test2 { text-transform: uppercase }", 0);
document.body.offsetTop;
document.body.innerHTML = "PASS";
}
« no previous file with comments | « no previous file | LayoutTests/fast/css/counters/asterisk-counter-update-after-layout-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698