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

Unified Diff: LayoutTests/css3/device-adapt/viewport-min-width-extend-to-zoom.html

Issue 23101004: Make configurationForViewport match production code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Renamed configurationForViewport to viewportAsText Created 7 years, 4 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/css3/device-adapt/viewport-min-width-extend-to-zoom.html
diff --git a/LayoutTests/css3/device-adapt/viewport-min-width-extend-to-zoom.html b/LayoutTests/css3/device-adapt/viewport-min-width-extend-to-zoom.html
index e65a352070a4303876b45b2fb26fd94d64bcecb0..8a39e0bcd147291cec4f515ef75632345fc3620a 100644
--- a/LayoutTests/css3/device-adapt/viewport-min-width-extend-to-zoom.html
+++ b/LayoutTests/css3/device-adapt/viewport-min-width-extend-to-zoom.html
@@ -23,12 +23,12 @@
<script>
test(function(){
assert_own_property(window, "internals");
- }, "Check that window.internals is present. Required to call configurationForViewport.");
+ }, "Check that window.internals is present. Required to call viewportAsText.");
var actualWidth;
var actualHeight;
- var vpString = internals.configurationForViewport(document, 1, 320, 480, 320, 352);
+ var vpString = internals.viewportAsText(document, 1, 320, 352);
var match = /viewport size (.+)x(.+) scale (.+ )/.exec(vpString);
if (match) {

Powered by Google App Engine
This is Rietveld 408576698