Bug 1208023 - Add a reftest. r=botond
authorKartikaya Gupta <kgupta@mozilla.com>
Fri, 02 Oct 2015 23:08:23 -0400
changeset 265857 11accd2db49bce6e35a171d0025743052d9bf302
parent 265856 c59991d40ae8f54654c9b2158bf6ddbe6a25ccf0
child 265858 b3da7bfd13b62e36d3482530a3f90ce42954afbb
push id66045
push userkgupta@mozilla.com
push dateSat, 03 Oct 2015 03:08:45 +0000
treeherdermozilla-inbound@11accd2db49b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbotond
bugs1208023
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1208023 - Add a reftest. r=botond
gfx/layers/apz/test/reftest/initial-scale-1-ref.html
gfx/layers/apz/test/reftest/initial-scale-1.html
gfx/layers/apz/test/reftest/reftest.list
new file mode 100644
--- /dev/null
+++ b/gfx/layers/apz/test/reftest/initial-scale-1-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html><head>
+<meta name="viewport" content="width=device-width">
+</head>
+<body>
+This tests that an initial-scale of 0 (i.e. garbage) is overridden<br/>
+with something a little more sane.
+</body>
+</html>
+
new file mode 100644
--- /dev/null
+++ b/gfx/layers/apz/test/reftest/initial-scale-1.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html><head>
+<meta name="viewport" content="initial-scale=0; width=device-width">
+</head>
+<body>
+This tests that an initial-scale of 0 (i.e. garbage) is overridden<br/>
+with something a little more sane.
+</body>
+</html>
+
--- a/gfx/layers/apz/test/reftest/reftest.list
+++ b/gfx/layers/apz/test/reftest/reftest.list
@@ -7,8 +7,11 @@ chaos-mode skip-if(!asyncPan) == async-s
 chaos-mode skip-if(!asyncPan) == async-scrollbar-1-h-rtl.html async-scrollbar-1-h-rtl-ref.html
 chaos-mode skip-if(!asyncPan) == async-scrollbar-1-vh-rtl.html async-scrollbar-1-vh-rtl-ref.html
 
 # Different async zoom levels. Since the scrollthumb gets async-scaled in the
 # compositor, the border-radius ends of the scrollthumb are going to be a little
 # off, hence the fuzzy-if clauses.
 chaos-mode skip-if(!asyncZoom) fuzzy-if(B2G,98,82) == async-scrollbar-zoom-1.html async-scrollbar-zoom-1-ref.html
 chaos-mode skip-if(!asyncZoom) fuzzy-if(B2G,94,146) == async-scrollbar-zoom-2.html async-scrollbar-zoom-2-ref.html
+
+# Meta-viewport tag support
+chaos-mode skip-if(!asyncZoom) == initial-scale-1.html initial-scale-1-ref.html