Bug 1005405 - Ensure that multiple frame changes coalesce correctly. r=dbaron, a=sledru
authorKearwood (Kip) Gilbert <kgilbert@mozilla.com>
Tue, 06 May 2014 15:02:00 +0200
changeset 227529 dceb849a2d71f639e37bd7a97ad999ce80c346e8
parent 227528 54f1c073c4b54db77182de9a30428162e225742f
child 227530 24b3df4c5810ed4100bb26cbdc8731ced5349cb5
push id6
push userryanvm@gmail.com
push dateMon, 12 Jan 2015 22:04:06 +0000
treeherdermozilla-b2g37_v2_2@895c8fc7b734 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron, sledru
bugs1005405
milestone31.0a2
Bug 1005405 - Ensure that multiple frame changes coalesce correctly. r=dbaron, a=sledru - When a parent frame and its child overflow are changed simultaneously, the strongest ChangeType should be cascaded up to the parent frames.
layout/reftests/bugs/1005405-1-ref.html
layout/reftests/bugs/1005405-1.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1005405-1-ref.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+  <body>
+    <table id="thetable" width="150" style="top: 0px; position: relative;">
+      <tbody id="thebody">
+        <tr>
+          <td>Hello</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1005405-1.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+  <body>
+    <table id="thetable" width="150" style="top: -100px; position: relative;">
+      <tbody id="thebody">
+        <tr>
+          <td>Hello</td>
+        </tr>
+      </tbody>
+    </table>
+    <script>
+      function doTest() {
+        document.getElementById("thetable").style.top="0px";
+        document.documentElement.className = "";
+      }
+      document.addEventListener("MozReftestInvalidate", doTest, false);
+    </script>
+  </body>
+</html>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1805,8 +1805,9 @@ skip-if(Android) == 966510-2.html 966510
 == 983084-2.html 983084-2-ref.html
 == 983084-3.html 983084-1-ref.html
 == 983691-1.html 983691-ref.html
 == 985303-1a.html 985303-1-ref.html
 == 985303-1b.html 985303-1-ref.html
 == 987680-1.html 987680-1-ref.html
 fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,24) == 991046-1.html 991046-1-ref.html
 pref(layout.css.overflow-clip-box.enabled,true) == 992447.html 992447-ref.html
+pref(layout.css.sticky.enabled,true) == 1005405-1.html 1005405-1-ref.html