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"); |