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

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

Issue 1058723002: Remove testRunner.injectStyleSheet usage from layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update baseline Created 5 years, 9 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
Index: LayoutTests/printing/page-rule-selection.html
diff --git a/LayoutTests/printing/page-rule-selection.html b/LayoutTests/printing/page-rule-selection.html
index 074c4a86aa3aa477ba7d0d93b9fb80079b606217..7cd0c7b06721fe6047b69b714d22d6dda4994655 100644
--- a/LayoutTests/printing/page-rule-selection.html
+++ b/LayoutTests/printing/page-rule-selection.html
@@ -26,14 +26,6 @@
shouldBeEqualToString("internals.pageProperty('margin-left', 3)", "auto");
shouldBeEqualToString("internals.pageProperty('margin-left', 4)", "auto");
- debug("Set margin to 200px via user style sheet.");
- 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");
- shouldBeEqualToString("internals.pageProperty('margin-left', 3)", "200");
- shouldBeEqualToString("internals.pageProperty('margin-left', 4)", "200");
-
debug("Set margin to 100px.");
appendStyle("@page { margin:100px; }");
shouldBeEqualToString("internals.pageProperty('margin-left', 0)", "100");

Powered by Google App Engine
This is Rietveld 408576698