Bug 1191886 - Change a couple of scrollbar async-repositioning tests so they don't get tripped up by rounding error. r=botond

--HG--
extra : commitid : 9l1enEaFhZu
This commit is contained in:
Kartikaya Gupta 2015-08-10 17:08:25 -04:00
parent 136c2d72c3
commit 2bdce7079c
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
<html class="reftest-wait"><head>
<meta name="viewport" content="width=device-width">
</head>
<body onload="scrollTo(450,10000); document.documentElement.classList.remove('reftest-wait')">
<body onload="scrollTo(450,8000); document.documentElement.classList.remove('reftest-wait')">
<div style="width: 9000px; height: 20000px; background: white;"></div>
</body>
</html>

View File

@ -3,7 +3,7 @@
<meta name="viewport" content="width=device-width">
<style> html { direction: rtl; } </style>
</head>
<body onload="scrollTo(-450,10000); document.documentElement.classList.remove('reftest-wait')">
<body onload="scrollTo(-450,8000); document.documentElement.classList.remove('reftest-wait')">
<div style="width: 9000px; height: 20000px; background: white;"></div>
</body>
</html>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html class="reftest-wait"
reftest-async-scroll
reftest-async-scroll-x="-440" reftest-async-scroll-y="9999"><head>
reftest-async-scroll-x="-440" reftest-async-scroll-y="7999"><head>
<meta name="viewport" content="width=device-width">
<style> html { direction: rtl; } </style>
</head>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html class="reftest-wait"
reftest-async-scroll
reftest-async-scroll-x="449" reftest-async-scroll-y="9999"><head>
reftest-async-scroll-x="449" reftest-async-scroll-y="7999"><head>
<meta name="viewport" content="width=device-width">
</head>
<!-- Doing scrollTo(1,1) is to activate the left/up arrows in the scrollbars