Bug 1223537 - Fix the deferred-anchor.xhtml test by making the scrollbar behaviour consistent. r=kats
authorRandall Barker <rbarker@mozilla.com>
Wed, 11 Nov 2015 16:45:42 -0500
changeset 272146 f91567e794d6a0fb7e5b9142a70b8cf82657766a
parent 272145 72ee46faee9e5dd0f6d8c9de96b14f0d9c8bc12e
child 272147 18508057aa200f2e9ace2ba29ffd2bb6efbeea5a
push id67887
push userkgupta@mozilla.com
push dateWed, 11 Nov 2015 21:45:57 +0000
treeherdermozilla-inbound@f91567e794d6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1223537
milestone45.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 1223537 - Fix the deferred-anchor.xhtml test by making the scrollbar behaviour consistent. r=kats
layout/reftests/scrolling/deferred-anchor-ref.xhtml
layout/reftests/scrolling/deferred-anchor.xhtml
layout/reftests/scrolling/iframe-deferred-anchor.xhtml
--- a/layout/reftests/scrolling/deferred-anchor-ref.xhtml
+++ b/layout/reftests/scrolling/deferred-anchor-ref.xhtml
@@ -1,11 +1,11 @@
 <?xml version="1.0"?>
 <!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%; overflow: hidden;">
 <head>
 </head>
 <body style="margin: 0;">
 <div style="height: 50px; width: 50px; background-color: red;"/>
 <div style="height: 1000px;"/>
 <div id="d" style="height: 50px; width: 50px; background-color: green;"/>
 <div style="height: 1000px;"/>
 </body>
--- a/layout/reftests/scrolling/deferred-anchor.xhtml
+++ b/layout/reftests/scrolling/deferred-anchor.xhtml
@@ -1,11 +1,11 @@
 <?xml version="1.0"?>
 <!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%; overflow: hidden;">
 <head>
 <script>
 var xhr = new XMLHttpRequest();
 xhr.onprogress = function() {
 };
 xhr.onload = function() {
   document.documentElement.innerHTML = this.responseXML.documentElement.innerHTML;
 };
--- a/layout/reftests/scrolling/iframe-deferred-anchor.xhtml
+++ b/layout/reftests/scrolling/iframe-deferred-anchor.xhtml
@@ -1,11 +1,11 @@
 <?xml version="1.0"?>
 <!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html xmlns="http://www.w3.org/1999/xhtml" style="overflow:hidden">
 <head>
 <script>document.location.hash = "#d";</script>
 </head>
 <body style="margin: 0; background-color: white;">
 <div style="height: 50px; width: 50px; background-color: red;"/>
 <div style="height: 1000px;"/>
 <div id="d" style="height: 50px; width: 50px; background-color: green;"/>
 <div style="height: 1000px;"/>