Bug 1158392 - Fix 1133905-*-vh-*.html reftests so they are valid in the presence of new viewport sizing rules. r=kats
authorBotond Ballo <botond@mozilla.com>
Thu, 07 Mar 2019 18:02:48 +0000
changeset 520866 c3c039fd4476d239beabfceb957734b86b30df1c
parent 520865 8e68d1422ad6ad99e8b0b602c549ef4115ffa067
child 520867 add02eb73b9c3a5d5e3dcabd0205a4da9bc06fc5
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1158392, 1133905
milestone67.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 1158392 - Fix 1133905-*-vh-*.html reftests so they are valid in the presence of new viewport sizing rules. r=kats Differential Revision: https://phabricator.services.mozilla.com/D19680
layout/reftests/bugs/1133905-1-vh-rtl.html
layout/reftests/bugs/1133905-1-vh.html
layout/reftests/bugs/1133905-2-vh-rtl.html
layout/reftests/bugs/1133905-2-vh.html
layout/reftests/bugs/1133905-3-vh-rtl.html
layout/reftests/bugs/1133905-3-vh.html
layout/reftests/bugs/1133905-4-vh-rtl.html
layout/reftests/bugs/1133905-4-vh.html
layout/reftests/bugs/1133905-5-vh-rtl.html
layout/reftests/bugs/1133905-5-vh.html
layout/reftests/bugs/1133905-6-vh-rtl.html
layout/reftests/bugs/1133905-6-vh.html
layout/reftests/bugs/1133905-ref-vh-rtl.html
layout/reftests/bugs/1133905-ref-vh.html
layout/reftests/bugs/reftest.list
--- a/layout/reftests/bugs/1133905-1-vh-rtl.html
+++ b/layout/reftests/bugs/1133905-1-vh-rtl.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html><head>
-<meta name="viewport" content="width=325">
+<meta name="viewport" content="initial-scale=0.25">
 <style> html { direction: rtl; } </style>
 </head>
 <body>
-<div style="height: 8228px; width: 9000px;"></div>
+<div style="height: 80000px; width: 36000px;"></div>
 </body>
 </html>
 
--- a/layout/reftests/bugs/1133905-1-vh.html
+++ b/layout/reftests/bugs/1133905-1-vh.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <html><head>
-<meta name="viewport" content="width=325">
+<meta name="viewport" content="initial-scale=0.25">
 </head>
 <body>
-<div style="height: 8228px; width: 9000px;"></div>
+<div style="height: 80000px; width: 36000px;"></div>
 </body>
 </html>
 
--- a/layout/reftests/bugs/1133905-2-vh-rtl.html
+++ b/layout/reftests/bugs/1133905-2-vh-rtl.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html><head>
-<meta name="viewport" content="width=125">
+<meta name="viewport" content="initial-scale=0.5">
 <style> html { direction: rtl; } </style>
 </head>
 <body>
-<div style="height: 4787px; width: 9000px;"></div>
+<div style="height: 40000px; width: 18000px;"></div>
 </body>
 </html>
 
--- a/layout/reftests/bugs/1133905-2-vh.html
+++ b/layout/reftests/bugs/1133905-2-vh.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <html><head>
-<meta name="viewport" content="width=125">
+<meta name="viewport" content="initial-scale=0.5">
 </head>
 <body>
-<div style="height: 4787px; width: 9000px;"></div>
+<div style="height: 40000px; width: 18000px;"></div>
 </body>
 </html>
 
--- a/layout/reftests/bugs/1133905-3-vh-rtl.html
+++ b/layout/reftests/bugs/1133905-3-vh-rtl.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html><head>
-<meta name="viewport" content="width=525">
+<meta name="viewport" content="initial-scale=0.75">
 <style> html { direction: rtl; } </style>
 </head>
 <body>
-<div style="height: 13972px; width: 9000px;"></div>
+<div style="height: 26667px; width: 12000px;"></div>
 </body>
 </html>
 
--- a/layout/reftests/bugs/1133905-3-vh.html
+++ b/layout/reftests/bugs/1133905-3-vh.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <html><head>
-<meta name="viewport" content="width=525">
+<meta name="viewport" content="initial-scale=0.75">
 </head>
 <body>
-<div style="height: 13972px; width: 9000px;"></div>
+<div style="height: 26667px; width: 12000px;"></div>
 </body>
 </html>
 
--- a/layout/reftests/bugs/1133905-4-vh-rtl.html
+++ b/layout/reftests/bugs/1133905-4-vh-rtl.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html><head>
-<meta name="viewport" content="width=725">
+<meta name="viewport" content="initial-scale=1.25">
 <style> html { direction: rtl; } </style>
 </head>
 <body>
-<div style="height: 20000px; width: 9000px;"></div>
+<div style="height: 16000px; width: 7200px;"></div>
 </body>
 </html>
 
--- a/layout/reftests/bugs/1133905-4-vh.html
+++ b/layout/reftests/bugs/1133905-4-vh.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <html><head>
-<meta name="viewport" content="width=725">
+<meta name="viewport" content="initial-scale=1.25">
 </head>
 <body>
-<div style="height: 20000px; width: 9000px;"></div>
+<div style="height: 16000px; width: 7200px;"></div>
 </body>
 </html>
 
--- a/layout/reftests/bugs/1133905-5-vh-rtl.html
+++ b/layout/reftests/bugs/1133905-5-vh-rtl.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html><head>
-<meta name="viewport" content="width=925">
+<meta name="viewport" content="initial-scale=1.5">
 <style> html { direction: rtl; } </style>
 </head>
 <body>
-<div style="height: 26117px; width: 9000px;"></div>
+<div style="height: 13333px; width: 6000px;"></div>
 </body>
 </html>
 
--- a/layout/reftests/bugs/1133905-5-vh.html
+++ b/layout/reftests/bugs/1133905-5-vh.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <html><head>
-<meta name="viewport" content="width=925">
+<meta name="viewport" content="initial-scale=1.5">
 </head>
 <body>
-<div style="height: 26117px; width: 9000px;"></div>
+<div style="height: 13333px; width: 6000px;"></div>
 </body>
 </html>
 
--- a/layout/reftests/bugs/1133905-6-vh-rtl.html
+++ b/layout/reftests/bugs/1133905-6-vh-rtl.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html><head>
-<meta name="viewport" content="width=1325">
+<meta name="viewport" content="initial-scale=2.0">
 <style> html { direction: rtl; } </style>
 </head>
 <body>
-<div style="height: 37412px; width: 9000px;"></div>
+<div style="height: 10000px; width: 4500px;"></div>
 </body>
 </html>
 
--- a/layout/reftests/bugs/1133905-6-vh.html
+++ b/layout/reftests/bugs/1133905-6-vh.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <html><head>
-<meta name="viewport" content="width=1325">
+<meta name="viewport" content="initial-scale=2.0">
 </head>
 <body>
-<div style="height: 37412px; width: 9000px;"></div>
+<div style="height: 10000px; width: 4500px;"></div>
 </body>
 </html>
 
--- a/layout/reftests/bugs/1133905-ref-vh-rtl.html
+++ b/layout/reftests/bugs/1133905-ref-vh-rtl.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html><head>
-<meta name="viewport" content="width=725">
+<meta name="viewport" content="initial-scale=1.0">
 <style> html { direction: rtl; } </style>
 </head>
 <body>
 <div style="height: 20000px; width: 9000px;"></div>
 </body>
 </html>
 
--- a/layout/reftests/bugs/1133905-ref-vh.html
+++ b/layout/reftests/bugs/1133905-ref-vh.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <html><head>
-<meta name="viewport" content="width=725">
+<meta name="viewport" content="initial-scale=1">
 </head>
 <body>
 <div style="height: 20000px; width: 9000px;"></div>
 </body>
 </html>
 
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1914,22 +1914,22 @@ pref(apz.allow_zooming,true) skip-if(!An
 pref(apz.allow_zooming,true) skip-if(!Android) fails-if(Android) == 1133905-5-v.html 1133905-ref-v.html # bug 1308702
 pref(apz.allow_zooming,true) skip-if(!Android) fails-if(Android) == 1133905-6-v.html 1133905-ref-v.html # bug 1308702
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-1-h.html 1133905-ref-h.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-2-h.html 1133905-ref-h.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-3-h.html 1133905-ref-h.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-4-h.html 1133905-ref-h.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-5-h.html 1133905-ref-h.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-6-h.html 1133905-ref-h.html
-pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-1-vh.html 1133905-ref-vh.html
-pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-2-vh.html 1133905-ref-vh.html
+pref(apz.allow_zooming,true) skip-if(!Android) fuzzy-if(Android,0-54,0-6) == 1133905-1-vh.html 1133905-ref-vh.html
+pref(apz.allow_zooming,true) skip-if(!Android) fuzzy-if(Android,0-45,0-4) == 1133905-2-vh.html 1133905-ref-vh.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-3-vh.html 1133905-ref-vh.html
-pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-4-vh.html 1133905-ref-vh.html
-pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-5-vh.html 1133905-ref-vh.html
-pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-6-vh.html 1133905-ref-vh.html
+pref(apz.allow_zooming,true) skip-if(!Android) fuzzy-if(Android,0-45,0-4) == 1133905-4-vh.html 1133905-ref-vh.html
+pref(apz.allow_zooming,true) skip-if(!Android) fuzzy-if(Android,0-54,0-6) == 1133905-5-vh.html 1133905-ref-vh.html
+pref(apz.allow_zooming,true) skip-if(!Android) fuzzy-if(Android,0-54,0-8) == 1133905-6-vh.html 1133905-ref-vh.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-1-rtl.html 1133905-ref-rtl.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-2-rtl.html 1133905-ref-rtl.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-3-rtl.html 1133905-ref-rtl.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-4-rtl.html 1133905-ref-rtl.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-5-rtl.html 1133905-ref-rtl.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-6-rtl.html 1133905-ref-rtl.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-1-v-rtl.html 1133905-ref-v-rtl.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-2-v-rtl.html 1133905-ref-v-rtl.html
@@ -1938,22 +1938,22 @@ pref(apz.allow_zooming,true) skip-if(!An
 pref(apz.allow_zooming,true) skip-if(!Android) fails-if(Android) == 1133905-5-v-rtl.html 1133905-ref-v-rtl.html # bug 1308702
 pref(apz.allow_zooming,true) skip-if(!Android) fails-if(Android) == 1133905-6-v-rtl.html 1133905-ref-v-rtl.html # bug 1308702
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-1-h-rtl.html 1133905-ref-h-rtl.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-2-h-rtl.html 1133905-ref-h-rtl.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-3-h-rtl.html 1133905-ref-h-rtl.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-4-h-rtl.html 1133905-ref-h-rtl.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-5-h-rtl.html 1133905-ref-h-rtl.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-6-h-rtl.html 1133905-ref-h-rtl.html
-pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-1-vh-rtl.html 1133905-ref-vh-rtl.html
-pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-2-vh-rtl.html 1133905-ref-vh-rtl.html
+pref(apz.allow_zooming,true) skip-if(!Android) fuzzy-if(Android,0-54,0-6) == 1133905-1-vh-rtl.html 1133905-ref-vh-rtl.html
+pref(apz.allow_zooming,true) skip-if(!Android) fuzzy-if(Android,0-45,0-4) == 1133905-2-vh-rtl.html 1133905-ref-vh-rtl.html
 pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-3-vh-rtl.html 1133905-ref-vh-rtl.html
-pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-4-vh-rtl.html 1133905-ref-vh-rtl.html
-pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-5-vh-rtl.html 1133905-ref-vh-rtl.html
-pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-6-vh-rtl.html 1133905-ref-vh-rtl.html
+pref(apz.allow_zooming,true) skip-if(!Android) fuzzy-if(Android,0-45,0-4) == 1133905-4-vh-rtl.html 1133905-ref-vh-rtl.html
+pref(apz.allow_zooming,true) skip-if(!Android) fuzzy-if(Android,0-54,0-6) == 1133905-5-vh-rtl.html 1133905-ref-vh-rtl.html
+pref(apz.allow_zooming,true) skip-if(!Android) fuzzy-if(Android,0-54,0-8) == 1133905-6-vh-rtl.html 1133905-ref-vh-rtl.html
 == 1149304-1-transform-change.html 1149304-1-transform-change-ref.html
 == 1150021-1.xul 1150021-1-ref.xul
 == 1151145-1.html 1151145-1-ref.html
 == 1151306-1.html 1151306-1-ref.html
 == 1153845-1.html 1153845-1-ref.html
 == 1155828-1.html 1155828-1-ref.html
 fuzzy-if(skiaContent,0-7,0-84) == 1156129-1.html 1156129-1-ref.html
 pref(dom.use_xbl_scopes_for_remote_xul,true) HTTP(..) == 1157127-1.html 1157127-1-ref.html