Bug 1254834 - Don't let displayport expansion trigger invalidation for scrolling invalidation tests. r=mstange
authorKartikaya Gupta <kgupta@mozilla.com>
Fri, 11 Mar 2016 17:45:27 -0500
changeset 288366 4123969ee94c0ab32f831d39d44543fcd983c3c8
parent 288365 f0802b8a086397685ede5cfddaa8668b241732a0
child 288367 df2083106d8d69bcb8112ab95efe814103947ad9
push id30079
push userryanvm@gmail.com
push dateSat, 12 Mar 2016 20:24:19 +0000
treeherdermozilla-central@d1d47ba19ce9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs1254834
milestone48.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 1254834 - Don't let displayport expansion trigger invalidation for scrolling invalidation tests. r=mstange MozReview-Commit-ID: 3jKEUOzT9hG
layout/reftests/invalidation/fast-scrolling.html
layout/reftests/invalidation/fractional-transform-1.html
layout/reftests/invalidation/fractional-transform-2.html
layout/reftests/invalidation/fractional-transform-3.html
layout/reftests/invalidation/inactive-layertree-visible-region-1.html
layout/reftests/invalidation/inactive-layertree-visible-region-2.html
layout/reftests/invalidation/layer-splitting-2.html
layout/reftests/invalidation/layer-splitting-3.html
layout/reftests/invalidation/layer-splitting-5.html
layout/reftests/invalidation/layer-splitting-6.html
layout/reftests/invalidation/layer-splitting-7.html
layout/reftests/invalidation/masklayer-2.html
layout/reftests/invalidation/nudge-to-integer-invalidation.html
layout/reftests/invalidation/transform-floating-point-invalidation.html
--- a/layout/reftests/invalidation/fast-scrolling.html
+++ b/layout/reftests/invalidation/fast-scrolling.html
@@ -1,10 +1,14 @@
 <!DOCTYPE html>
-<html lang="en" class="reftest-wait">
+<html lang="en" class="reftest-wait"
+      reftest-displayport-x="0"
+      reftest-displayport-y="0"
+      reftest-displayport-w="800"
+      reftest-displayport-h="1000">
 <meta charset="utf-8">
 <title>Bug 1164227 - Testcase for the invalid region simplification bug</title>
 
 <style>
 
 #scrollbox {
   width: 400px;
   height: 500px;
--- a/layout/reftests/invalidation/fractional-transform-1.html
+++ b/layout/reftests/invalidation/fractional-transform-1.html
@@ -1,10 +1,14 @@
 <!DOCTYPE html>
-<html lang="en" class="reftest-wait">
+<html lang="en" class="reftest-wait"
+      reftest-displayport-x="0"
+      reftest-displayport-y="0"
+      reftest-displayport-w="800"
+      reftest-displayport-h="1000">
 <meta charset="utf-8">
 <title>Scrolling shouldn't invalidate either rect.</title>
 
 <style>
 body {
   margin: 0;
   height: 5000px;
 }
--- a/layout/reftests/invalidation/fractional-transform-2.html
+++ b/layout/reftests/invalidation/fractional-transform-2.html
@@ -1,10 +1,14 @@
 <!DOCTYPE html>
-<html lang="en" class="reftest-wait">
+<html lang="en" class="reftest-wait"
+      reftest-displayport-x="0"
+      reftest-displayport-y="0"
+      reftest-displayport-w="800"
+      reftest-displayport-h="1000">
 <meta charset="utf-8">
 <title>Scrolling shouldn't invalidate the square.</title>
 
 <style>
 body {
   margin: 0;
   height: 5000px;
 }
--- a/layout/reftests/invalidation/fractional-transform-3.html
+++ b/layout/reftests/invalidation/fractional-transform-3.html
@@ -1,10 +1,14 @@
 <!DOCTYPE html>
-<html lang="en" class="reftest-wait">
+<html lang="en" class="reftest-wait"
+      reftest-displayport-x="0"
+      reftest-displayport-y="0"
+      reftest-displayport-w="800"
+      reftest-displayport-h="1000">
 <meta charset="utf-8">
 <title>Scrolling shouldn't invalidate the square.</title>
 
 <style>
 body {
   margin: 0;
   height: 5000px;
 }
--- a/layout/reftests/invalidation/inactive-layertree-visible-region-1.html
+++ b/layout/reftests/invalidation/inactive-layertree-visible-region-1.html
@@ -1,10 +1,14 @@
 <!DOCTYPE html>
-<html lang="en" class="reftest-wait">
+<html lang="en" class="reftest-wait"
+      reftest-displayport-x="0"
+      reftest-displayport-y="0"
+      reftest-displayport-w="800"
+      reftest-displayport-h="1000">
 <meta charset="utf-8">
 <title>Scrolling the horizontal bar away shouldn't invalidate the green rectangle</title>
 
 <style>
 
 .wrapper {
   transform: translateY(1px);
 }
@@ -48,9 +52,9 @@ body {
 <script>
 
 function doTest() {
   document.documentElement.scrollTop = 100;
   document.documentElement.removeAttribute("class");
 }
 document.addEventListener("MozReftestInvalidate", doTest, false);
 
-</script>
\ No newline at end of file
+</script>
--- a/layout/reftests/invalidation/inactive-layertree-visible-region-2.html
+++ b/layout/reftests/invalidation/inactive-layertree-visible-region-2.html
@@ -1,10 +1,14 @@
 <!DOCTYPE html>
-<html lang="en" class="reftest-wait">
+<html lang="en" class="reftest-wait"
+      reftest-displayport-x="0"
+      reftest-displayport-y="0"
+      reftest-displayport-w="800"
+      reftest-displayport-h="1000">
 <meta charset="utf-8">
 <title>Scrolling the horizontal bar away shouldn't invalidate the green rectangle</title>
 
 <style>
 
 .wrapper {
   transform: translateY(1px);
 }
@@ -50,9 +54,9 @@ body {
 <script>
 
 function doTest() {
   document.documentElement.scrollTop = 100;
   document.documentElement.removeAttribute("class");
 }
 document.addEventListener("MozReftestInvalidate", doTest, false);
 
-</script>
\ No newline at end of file
+</script>
--- a/layout/reftests/invalidation/layer-splitting-2.html
+++ b/layout/reftests/invalidation/layer-splitting-2.html
@@ -1,10 +1,14 @@
 <!DOCTYPE html>
-<html lang="en" class="reftest-wait">
+<html lang="en" class="reftest-wait"
+      reftest-displayport-x="0"
+      reftest-displayport-y="0"
+      reftest-displayport-w="800"
+      reftest-displayport-h="1000">
 <meta charset="utf-8">
 <title>Scrolling shouldn't invalidate the fixed layer</title>
 
 <style>
 
 .content {
   box-sizing: border-box;
   width: 200px;
--- a/layout/reftests/invalidation/layer-splitting-3.html
+++ b/layout/reftests/invalidation/layer-splitting-3.html
@@ -1,10 +1,14 @@
 <!DOCTYPE html>
-<html lang="en" class="reftest-wait">
+<html lang="en" class="reftest-wait"
+      reftest-displayport-x="0"
+      reftest-displayport-y="0"
+      reftest-displayport-w="800"
+      reftest-displayport-h="1000">
 <meta charset="utf-8">
 <title>Scrolling shouldn't invalidate the fixed items</title>
 
 <style>
 
 .content {
   box-sizing: border-box;
   width: 200px;
--- a/layout/reftests/invalidation/layer-splitting-5.html
+++ b/layout/reftests/invalidation/layer-splitting-5.html
@@ -1,10 +1,14 @@
 <!DOCTYPE html>
-<html lang="en" class="reftest-wait">
+<html lang="en" class="reftest-wait"
+      reftest-displayport-x="0"
+      reftest-displayport-y="0"
+      reftest-displayport-w="800"
+      reftest-displayport-h="1000">
 <meta charset="utf-8">
 <title>Things overlapping active scrollboxes should be in a layer on top of the scrolled contents.</title>
 
 <style>
 
 div {
   height: 50px;
   border: 1px solid;
--- a/layout/reftests/invalidation/layer-splitting-6.html
+++ b/layout/reftests/invalidation/layer-splitting-6.html
@@ -1,10 +1,14 @@
 <!DOCTYPE html>
-<html lang="en" class="reftest-wait">
+<html lang="en" class="reftest-wait"
+      reftest-displayport-x="0"
+      reftest-displayport-y="0"
+      reftest-displayport-w="800"
+      reftest-displayport-h="1000">
 <meta charset="utf-8">
 <title>Things overlapping active scrollboxes should be in a layer on top of the scrolled contents, and that layer shouldn't pull up a background color through the scrollbox.</title>
 <!--
   This test is the same as layer-splitting-5.html, but without the scrollbox
   border. The lack of a border here makes it attractive for .overlap to pull
   a background color from the page background (because there's no scrollbox
   border in the way), but it shouldn't do that because .scrolled can move
   under it.
--- a/layout/reftests/invalidation/layer-splitting-7.html
+++ b/layout/reftests/invalidation/layer-splitting-7.html
@@ -1,10 +1,14 @@
 <!DOCTYPE html>
-<html lang="en" class="reftest-wait">
+<html lang="en" class="reftest-wait"
+      reftest-displayport-x="0"
+      reftest-displayport-y="0"
+      reftest-displayport-w="800"
+      reftest-displayport-h="1000">
 <meta charset="utf-8">
 <title>Scrolling shouldn't invalidate the relatively-positioned layer</title>
 
 <style>
 
 .content {
   box-sizing: border-box;
   width: 200px;
--- a/layout/reftests/invalidation/masklayer-2.html
+++ b/layout/reftests/invalidation/masklayer-2.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
-<html lang="en">
+<html lang="en" reftest-async-scroll>
 <meta charset="utf-8">
 <title>Moving a layer in a box with a rounded clip shouldn't invalidate.</title>
 
 <style>
 
 #scrollbox {
   position: absolute;
   top: 50px;
@@ -28,17 +28,20 @@
   width: 100px;
   height: 100px;
 }
 
 </style>
 
 <body>
 
-<div id="scrollbox">
+<div id="scrollbox" reftest-displayport-x="0"
+                    reftest-displayport-y="0"
+                    reftest-displayport-w="300"
+                    reftest-displayport-h="200">
   <div id="scrollable">
     <div id="scrolledLayer" class="reftest-no-paint"></div>
   </div>
 </div>
 
 <script>
 
 var scrollbox = document.getElementById("scrollbox");
--- a/layout/reftests/invalidation/nudge-to-integer-invalidation.html
+++ b/layout/reftests/invalidation/nudge-to-integer-invalidation.html
@@ -1,10 +1,14 @@
 <!DOCTYPE html>
-<html lang="en" class="reftest-wait">
+<html lang="en" class="reftest-wait"
+      reftest-displayport-x="0"
+      reftest-displayport-y="0"
+      reftest-displayport-w="800"
+      reftest-displayport-h="1000">
 <meta charset="utf-8">
 <title>Different epsilons in NudeToInteger and FuzzyEqual cause invalidations</title>
 
 <body>
 
 <svg viewBox="0 0 700 3000" width="700px" height="3000px">
     <g transform="translate(0, -220.999756)">
       <rect x="100" y="400" height="50" width="50" fill="grey" class="reftest-no-paint"/>
--- a/layout/reftests/invalidation/transform-floating-point-invalidation.html
+++ b/layout/reftests/invalidation/transform-floating-point-invalidation.html
@@ -1,10 +1,14 @@
 <!DOCTYPE html>
-<html lang="en" class="reftest-wait">
+<html lang="en" class="reftest-wait"
+      reftest-displayport-x="0"
+      reftest-displayport-y="0"
+      reftest-displayport-w="800"
+      reftest-displayport-h="1000">
 <meta charset="utf-8">
 <title>Scrolling shouldn't invalidate the rect</title>
 
 <body>
 
 <svg width="824" height="1375" viewBox="0 0 660 1100">
   <rect x="100" y="600" width="120" height="120" fill="#EEE"
         transform="matrix(0,0.969665,-2.0321494,0,1828.58132,65.718239)"