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

Unified Diff: LayoutTests/css3/device-adapt/viewport-relative-font.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/css3/device-adapt/viewport-relative-font.html
diff --git a/LayoutTests/css3/device-adapt/viewport-relative-font.html b/LayoutTests/css3/device-adapt/viewport-relative-font.html
index 60638c299322dd510a7817f752f9bc573339bba8..baad786ce989447636272976038f9de0c97b1459 100644
--- a/LayoutTests/css3/device-adapt/viewport-relative-font.html
+++ b/LayoutTests/css3/device-adapt/viewport-relative-font.html
@@ -18,7 +18,7 @@
</style>
<script>
if (window.testRunner) {
- testRunner.addUserStyleSheet("@viewport { width: extend-to-zoom 980px; min-zoom: 0.25; max-zoom: 5; height: auto; zoom: auto; user-zoom: zoom; orientation: auto }", true);
+ testRunner.injectStyleSheet("@viewport { width: extend-to-zoom 980px; min-zoom: 0.25; max-zoom: 5; height: auto; zoom: auto; user-zoom: zoom; orientation: auto }", true);
testRunner.dumpAsText();
document.body.offsetWidth; // Trigger style resolving
alert(internals.viewportAsText(document, 1, 320, 352));

Powered by Google App Engine
This is Rietveld 408576698