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