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

Unified Diff: LayoutTests/printing/page-rule-selection.html

Issue 66383005: Remove the concept of user stylesheets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix WebFrameCSSCallbackTest tests Created 7 years, 1 month 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
Index: LayoutTests/printing/page-rule-selection.html
diff --git a/LayoutTests/printing/page-rule-selection.html b/LayoutTests/printing/page-rule-selection.html
index 411c4a8c453a6856bb9082a5671f3594076d6e7b..074c4a86aa3aa477ba7d0d93b9fb80079b606217 100644
--- a/LayoutTests/printing/page-rule-selection.html
+++ b/LayoutTests/printing/page-rule-selection.html
@@ -27,7 +27,7 @@
shouldBeEqualToString("internals.pageProperty('margin-left', 4)", "auto");
debug("Set margin to 200px via user style sheet.");
- testRunner.addUserStyleSheet("@page { margin:200px; }", true);
+ testRunner.injectStyleSheet("@page { margin:200px; }", true);
shouldBeEqualToString("internals.pageProperty('margin-left', 0)", "200");
shouldBeEqualToString("internals.pageProperty('margin-left', 1)", "200");
shouldBeEqualToString("internals.pageProperty('margin-left', 2)", "200");

Powered by Google App Engine
This is Rietveld 408576698