mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1527511 - Get zoomed-in RTL scrollbar rendering tests working and re-enable them. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D23078 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
c7227b4b1e
commit
d558cef23f
@ -1,10 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<html class="reftest-wait"><head>
|
||||
<meta name="viewport" content="initial-scale=1.25">
|
||||
<style> html { direction: rtl; } </style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="height: 16000px; width: 7200px;"></div>
|
||||
<script>
|
||||
window.addEventListener("MozReftestInvalidate",
|
||||
function() {
|
||||
// The zooming due to the initial-scale will not preserve the default
|
||||
// scroll position (top right corner) for an RTL scroll frame, so
|
||||
// scroll to it explicitly.
|
||||
window.scrollTo(scrollMaxX, 0);
|
||||
document.documentElement.className = "";
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
@ -1,10 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<html class="reftest-wait"><head>
|
||||
<meta name="viewport" content="initial-scale=1.5">
|
||||
<style> html { direction: rtl; } </style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="height: 13333px; width: 6000px;"></div>
|
||||
<script>
|
||||
window.addEventListener("MozReftestInvalidate",
|
||||
function() {
|
||||
// The zooming due to the initial-scale will not preserve the default
|
||||
// scroll position (top right corner) for an RTL scroll frame, so
|
||||
// scroll to it explicitly.
|
||||
window.scrollTo(scrollMaxX, 0);
|
||||
document.documentElement.className = "";
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
@ -1,10 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<html class="reftest-wait"><head>
|
||||
<meta name="viewport" content="initial-scale=2.0">
|
||||
<style> html { direction: rtl; } </style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="height: 10000px; width: 4500px;"></div>
|
||||
<script>
|
||||
window.addEventListener("MozReftestInvalidate",
|
||||
function() {
|
||||
// The zooming due to the initial-scale will not preserve the default
|
||||
// scroll position (top right corner) for an RTL scroll frame, so
|
||||
// scroll to it explicitly.
|
||||
window.scrollTo(scrollMaxX, 0);
|
||||
document.documentElement.className = "";
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
@ -1900,7 +1900,7 @@ skip-if(verify) == 1121748-2.html 1121748-2-ref.html
|
||||
== 1130231-2-button-padding-rtl.html 1130231-2-button-padding-rtl-ref.html
|
||||
# The 1133905-*.html reftests only make sense on platforms where both APZ and
|
||||
# <meta viewport> are enabled.
|
||||
# (Note: bug 1308702 and bug 1527511 cover these tests' failures on Android)
|
||||
# (Note: bug 1308702 covers these tests' failures on Android)
|
||||
pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-1.html 1133905-ref.html
|
||||
pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-2.html 1133905-ref.html
|
||||
pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-3.html 1133905-ref.html
|
||||
@ -1947,9 +1947,9 @@ pref(apz.allow_zooming,true) skip-if(!Android) == 1133905-6-h-rtl.html 1133905-r
|
||||
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) fails-if(Android) == 1133905-4-vh-rtl.html 1133905-ref-vh-rtl.html # bug 1527511
|
||||
pref(apz.allow_zooming,true) skip-if(!Android) fails-if(Android) == 1133905-5-vh-rtl.html 1133905-ref-vh-rtl.html # bug 1527511
|
||||
pref(apz.allow_zooming,true) skip-if(!Android) fails-if(Android) == 1133905-6-vh-rtl.html 1133905-ref-vh-rtl.html # bug 1527511
|
||||
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
|
||||
pref(apz.allow_zooming,true) skip-if(!Android) != 1133905-ref-vh-rtl.html about:blank # make sure it doesn't render blank
|
||||
== 1149304-1-transform-change.html 1149304-1-transform-change-ref.html
|
||||
== 1150021-1.xul 1150021-1-ref.xul
|
||||
|
Loading…
Reference in New Issue
Block a user