Test for bug 1054289 r=smaug
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Fri, 29 Aug 2014 20:35:00 +0100
changeset 224139 f4b35e87230b7d2f0a73be8609c36644c79380f1
parent 224138 bdcf3a2da55cb8afcacddac5808777c7fb60f74a
child 224140 4fc87f021e00469802b45cb94a6852dbac6af94f
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1054289
milestone34.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
Test for bug 1054289 r=smaug
layout/reftests/scrolling/deferred-anchor2.xhtml
layout/reftests/scrolling/iframe-deferred-anchor.xhtml
layout/reftests/scrolling/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/scrolling/deferred-anchor2.xhtml
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%; overflow: hidden;">
+<head/>
+<body style="margin: 0; height: 100%;">
+<iframe style="width: 100%; height: 100%; border: none;" src="iframe-deferred-anchor.xhtml"/>
+</body>
+</html>
copy from layout/reftests/scrolling/deferred-anchor-ref.xhtml
copy to layout/reftests/scrolling/iframe-deferred-anchor.xhtml
--- a/layout/reftests/scrolling/deferred-anchor-ref.xhtml
+++ b/layout/reftests/scrolling/iframe-deferred-anchor.xhtml
@@ -1,12 +1,13 @@
 <?xml version="1.0"?>
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
+<script>document.location.hash = "#d";</script>
 </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>
 </html>
--- a/layout/reftests/scrolling/reftest.list
+++ b/layout/reftests/scrolling/reftest.list
@@ -1,9 +1,10 @@
 skip-if(B2G&&browserIsRemote) HTTP == deferred-anchor.xhtml#d deferred-anchor-ref.xhtml#d
+== deferred-anchor2.xhtml deferred-anchor-ref.xhtml#d
 HTTP == fixed-1.html fixed-1.html?ref
 HTTP == fixed-opacity-1.html fixed-opacity-1.html?ref
 skip-if(B2G) HTTP == fixed-opacity-2.html fixed-opacity-2.html?ref
 skip-if(B2G) random-if(gtk2Widget) fuzzy-if(Android,3,60) HTTP == fixed-text-1.html fixed-text-1.html?ref
 HTTP == fixed-text-2.html fixed-text-2.html?ref
 random-if(Android&&!browserIsRemote) skip-if(B2G&&browserIsRemote) == iframe-border-radius.html iframe-border-radius-ref.html # bug 760269
 random-if(Android) HTTP == image-1.html image-1.html?ref
 random-if(Android&&!browserIsRemote) HTTP == opacity-mixed-scrolling-1.html opacity-mixed-scrolling-1.html?ref # bug 760269