commit 3bd9623b01b944583badee9971c9a5429c32cbfe Author: Ehsan Akhgari Date: Tue Mar 27 17:11:57 2012 -0700 Bug 157681 - Part 1: Add a test suite to make sure that dynamic changes to the position CSS properties work correctly; r=dbaron These series of tests attempt to ensure conformance to the CSS 2.1 sections 10.3.7 and 10.6.4. diff --git a/layout/reftests/position-dynamic-changes/horizontal/animate.js b/layout/reftests/position-dynamic-changes/horizontal/animate.js new file mode 100644 index 0000000..6b145ed --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/animate.js @@ -0,0 +1,61 @@ +var currentOffset = null; +var maxOffset = null; +var property = "left"; + +var rfa = null; +if (window.requestAnimationFrame) { + rfa = requestAnimationFrame; +} else if (window.mozRequestAnimationFrame) { + rfa = mozRequestAnimationFrame; +} else if (window.webkitRequestAnimationFrame) { + rfa = webkitRequestAnimationFrame; +} else if (window.msRequestAnimationFrame) { + rfa = msRequestAnimationFrame; +} else if (window.oRequestAnimationFrame) { + rfa = oRequestAnimationFrame; +} + +function animate(from, to, prop) { + currentOffset = from; + maxOffset = to; + if (prop) { + property = prop; + } + rfa(animateStep); +} + +function animateStep() { + if (currentOffset <= maxOffset) { + document.getElementById("child").style[property] = (currentOffset++) + "px"; + rfa(animateStep); + } else { + document.documentElement.removeAttribute("class"); + } +} + +function toAuto(prop) { + if (prop) { + property = prop; + } + rfa(setToAuto); +} + +function setToAuto() { + document.getElementById("child").style[property] = "auto"; + document.documentElement.removeAttribute("class"); +} + +function fromAuto(to, prop) { + maxOffset = to; + if (prop) { + property = prop; + } + rfa(setFromAuto); +} + +function setFromAuto() { + document.getElementById("child").style[property] = maxOffset + "px"; + document.documentElement.removeAttribute("class"); +} + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftA-widthA-rightN.html b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftA-widthA-rightN.html new file mode 100644 index 0000000..5f92f6e --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftA-widthA-rightN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftA-widthN-rightA.html b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftA-widthN-rightA.html new file mode 100644 index 0000000..c8982ff --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftA-widthN-rightA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftA-widthN-rightN.html b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftA-widthN-rightN.html new file mode 100644 index 0000000..48f57c7 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftA-widthN-rightN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthA-rightA-2.html b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthA-rightA-2.html new file mode 100644 index 0000000..c67ff5c --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthA-rightA-2.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthA-rightA.html b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthA-rightA.html new file mode 100644 index 0000000..53c9fed --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthA-rightA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthA-rightN-2.html b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthA-rightN-2.html new file mode 100644 index 0000000..a42ff9f --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthA-rightN-2.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthA-rightN.html b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthA-rightN.html new file mode 100644 index 0000000..42a3b28 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthA-rightN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthN-rightA.html b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthN-rightA.html new file mode 100644 index 0000000..0abb148 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthN-rightA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/leftA-widthA-rightN-ref.html b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthA-rightN-ref.html new file mode 100644 index 0000000..5945f42 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthA-rightN-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/horizontal/leftA-widthA-rightN.html b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthA-rightN.html new file mode 100644 index 0000000..458fac9 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthA-rightN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/leftA-widthN-rightA-ref.html b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthN-rightA-ref.html new file mode 100644 index 0000000..d91b5a2 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthN-rightA-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/horizontal/leftA-widthN-rightA.html b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthN-rightA.html new file mode 100644 index 0000000..af463c7 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthN-rightA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/leftA-widthN-rightN-ref.html b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthN-rightN-ref.html new file mode 100644 index 0000000..706fdd0 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthN-rightN-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/horizontal/leftA-widthN-rightN.html b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthN-rightN.html new file mode 100644 index 0000000..aba6964 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthN-rightN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightA-2-ref.html b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightA-2-ref.html new file mode 100644 index 0000000..dfb5e60 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightA-2-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightA-2.html b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightA-2.html new file mode 100644 index 0000000..a54f238 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightA-2.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightA-ref.html b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightA-ref.html new file mode 100644 index 0000000..f0ba816 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightA-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightA.html b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightA.html new file mode 100644 index 0000000..7489ef9 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightN-2-ref.html b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightN-2-ref.html new file mode 100644 index 0000000..192befa --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightN-2-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightN-2.html b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightN-2.html new file mode 100644 index 0000000..f412f6b --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightN-2.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightN-ref.html b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightN-ref.html new file mode 100644 index 0000000..b32518f --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightN-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightN.html b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightN.html new file mode 100644 index 0000000..6ed5a8e --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/leftN-widthN-rightA-ref.html b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthN-rightA-ref.html new file mode 100644 index 0000000..2cb1718 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthN-rightA-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/horizontal/leftN-widthN-rightA.html b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthN-rightA.html new file mode 100644 index 0000000..a3a9ce1 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthN-rightA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/reftest.list b/layout/reftests/position-dynamic-changes/horizontal/reftest.list new file mode 100644 index 0000000..7e96574 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/reftest.list @@ -0,0 +1,24 @@ +== leftN-widthA-rightA.html leftN-widthA-rightA-ref.html +== leftN-widthA-rightA-2.html leftN-widthA-rightA-2-ref.html +== leftN-widthA-rightN.html leftN-widthA-rightN-ref.html +== leftN-widthA-rightN-2.html leftN-widthA-rightN-2-ref.html +== leftA-widthN-rightA.html leftA-widthN-rightA-ref.html +== leftN-widthN-rightA.html leftN-widthN-rightA-ref.html +== leftA-widthN-rightN.html leftA-widthN-rightN-ref.html +== leftA-widthA-rightN.html leftA-widthA-rightN-ref.html +== toauto-leftN-widthA-rightA.html toauto-leftN-widthA-rightA-ref.html +== toauto-leftN-widthA-rightA-2.html toauto-leftN-widthA-rightA-2-ref.html +== toauto-leftN-widthA-rightN.html toauto-leftN-widthA-rightN-ref.html +== toauto-leftN-widthA-rightN-2.html toauto-leftN-widthA-rightN-2-ref.html +== toauto-leftA-widthN-rightA.html toauto-leftA-widthN-rightA-ref.html +== toauto-leftN-widthN-rightA.html toauto-leftN-widthN-rightA-ref.html +== toauto-leftA-widthN-rightN.html toauto-leftA-widthN-rightN-ref.html +== toauto-leftA-widthA-rightN.html toauto-leftA-widthA-rightN-ref.html +== fromauto-leftN-widthA-rightA.html leftN-widthA-rightA-ref.html +== fromauto-leftN-widthA-rightA-2.html leftN-widthA-rightA-2-ref.html +== fromauto-leftN-widthA-rightN.html leftN-widthA-rightN-ref.html +== fromauto-leftN-widthA-rightN-2.html leftN-widthA-rightN-2-ref.html +== fromauto-leftA-widthN-rightA.html leftA-widthN-rightA-ref.html +== fromauto-leftN-widthN-rightA.html leftN-widthN-rightA-ref.html +== fromauto-leftA-widthN-rightN.html leftA-widthN-rightN-ref.html +== fromauto-leftA-widthA-rightN.html leftA-widthA-rightN-ref.html diff --git a/layout/reftests/position-dynamic-changes/horizontal/style.css b/layout/reftests/position-dynamic-changes/horizontal/style.css new file mode 100644 index 0000000..bb1c631 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/style.css @@ -0,0 +1,18 @@ +#parent { + position: relative; + width: 400px; + height: 400px; + border: 1px solid red; +} +#child { + position: absolute; + height: 100px; + top: 100px; + border: 1px solid blue; +} +.floatLeft { + width: 50px; + height: 10px; + background: green; + float: left; +} diff --git a/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthA-rightN-ref.html b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthA-rightN-ref.html new file mode 100644 index 0000000..cc3dfe8 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthA-rightN-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthA-rightN.html b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthA-rightN.html new file mode 100644 index 0000000..4ccfc00 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthA-rightN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthN-rightA-ref.html b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthN-rightA-ref.html new file mode 100644 index 0000000..cc3dfe8 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthN-rightA-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthN-rightA.html b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthN-rightA.html new file mode 100644 index 0000000..fb66eab --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthN-rightA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthN-rightN-ref.html b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthN-rightN-ref.html new file mode 100644 index 0000000..d6e58ed --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthN-rightN-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthN-rightN.html b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthN-rightN.html new file mode 100644 index 0000000..be8ec26 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthN-rightN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightA-2-ref.html b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightA-2-ref.html new file mode 100644 index 0000000..cc3dfe8 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightA-2-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightA-2.html b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightA-2.html new file mode 100644 index 0000000..df81a37 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightA-2.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightA-ref.html b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightA-ref.html new file mode 100644 index 0000000..cc3dfe8 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightA-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightA.html b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightA.html new file mode 100644 index 0000000..17aac96 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightN-2-ref.html b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightN-2-ref.html new file mode 100644 index 0000000..f062e9c --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightN-2-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightN-2.html b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightN-2.html new file mode 100644 index 0000000..fadbcd9 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightN-2.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightN-ref.html b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightN-ref.html new file mode 100644 index 0000000..f062e9c --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightN-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightN.html b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightN.html new file mode 100644 index 0000000..fadbcd9 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthN-rightA-ref.html b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthN-rightA-ref.html new file mode 100644 index 0000000..d6e58ed --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthN-rightA-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthN-rightA.html b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthN-rightA.html new file mode 100644 index 0000000..4bcc3e6 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthN-rightA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/mixed/mixed-dimentionA-ref.html b/layout/reftests/position-dynamic-changes/mixed/mixed-dimentionA-ref.html new file mode 100644 index 0000000..d47c634 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/mixed-dimentionA-ref.html @@ -0,0 +1,35 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/mixed/mixed-dimentionA.html b/layout/reftests/position-dynamic-changes/mixed/mixed-dimentionA.html new file mode 100644 index 0000000..af5f93f --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/mixed-dimentionA.html @@ -0,0 +1,51 @@ + + + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/mixed/mixed-dimentionN-ref.html b/layout/reftests/position-dynamic-changes/mixed/mixed-dimentionN-ref.html new file mode 100644 index 0000000..1f74810 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/mixed-dimentionN-ref.html @@ -0,0 +1,35 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/mixed/mixed-dimentionN.html b/layout/reftests/position-dynamic-changes/mixed/mixed-dimentionN.html new file mode 100644 index 0000000..5295dee --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/mixed-dimentionN.html @@ -0,0 +1,51 @@ + + + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/mixed/reftest.list b/layout/reftests/position-dynamic-changes/mixed/reftest.list new file mode 100644 index 0000000..2559d07 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/reftest.list @@ -0,0 +1,2 @@ +== mixed-dimentionN.html mixed-dimentionN-ref.html +== mixed-dimentionA.html mixed-dimentionA-ref.html diff --git a/layout/reftests/position-dynamic-changes/reftest.list b/layout/reftests/position-dynamic-changes/reftest.list new file mode 100644 index 0000000..9bdb77e --- /dev/null +++ b/layout/reftests/position-dynamic-changes/reftest.list @@ -0,0 +1,3 @@ +include horizontal/reftest.list +include vertical/reftest.list +include mixed/reftest.list diff --git a/layout/reftests/position-dynamic-changes/vertical/animate.js b/layout/reftests/position-dynamic-changes/vertical/animate.js new file mode 100644 index 0000000..40b4352 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/animate.js @@ -0,0 +1,60 @@ +var currentOffset = null; +var maxOffset = null; +var property = "top"; + +var rfa = null; +if (window.requestAnimationFrame) { + rfa = requestAnimationFrame; +} else if (window.mozRequestAnimationFrame) { + rfa = mozRequestAnimationFrame; +} else if (window.webkitRequestAnimationFrame) { + rfa = webkitRequestAnimationFrame; +} else if (window.msRequestAnimationFrame) { + rfa = msRequestAnimationFrame; +} else if (window.oRequestAnimationFrame) { + rfa = oRequestAnimationFrame; +} + +function animate(from, to, prop) { + currentOffset = from; + maxOffset = to; + if (prop) { + property = prop; + } + rfa(animateStep); +} + +function animateStep() { + if (currentOffset <= maxOffset) { + document.getElementById("child").style[property] = (currentOffset++) + "px"; + rfa(animateStep); + } else { + document.documentElement.removeAttribute("class"); + } +} + +function toAuto(prop) { + if (prop) { + property = prop; + } + rfa(setToAuto); +} + +function setToAuto() { + document.getElementById("child").style[property] = "auto"; + document.documentElement.removeAttribute("class"); +} + +function fromAuto(to, prop) { + maxOffset = to; + if (prop) { + property = prop; + } + rfa(setFromAuto); +} + +function setFromAuto() { + document.getElementById("child").style[property] = maxOffset + "px"; + document.documentElement.removeAttribute("class"); +} + diff --git a/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightA-bottomN.html b/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightA-bottomN.html new file mode 100644 index 0000000..d2dcebb --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightA-bottomN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightA-bottomN.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightA-bottomN.htmlbackup new file mode 100644 index 0000000..5f92f6e --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightA-bottomN.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightN-bottomA.html b/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightN-bottomA.html new file mode 100644 index 0000000..42232b6 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightN-bottomA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightN-bottomA.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightN-bottomA.htmlbackup new file mode 100644 index 0000000..c8982ff --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightN-bottomA.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightN-bottomN.html b/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightN-bottomN.html new file mode 100644 index 0000000..75fccac --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightN-bottomN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightN-bottomN.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightN-bottomN.htmlbackup new file mode 100644 index 0000000..48f57c7 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightN-bottomN.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomA-2.html b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomA-2.html new file mode 100644 index 0000000..9ba5a7a --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomA-2.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomA-2.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomA-2.htmlbackup new file mode 100644 index 0000000..c67ff5c --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomA-2.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomA.html b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomA.html new file mode 100644 index 0000000..655ae1c --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomA.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomA.htmlbackup new file mode 100644 index 0000000..53c9fed --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomA.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomN-2.html b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomN-2.html new file mode 100644 index 0000000..02a5647 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomN-2.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomN-2.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomN-2.htmlbackup new file mode 100644 index 0000000..a42ff9f --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomN-2.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomN.html b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomN.html new file mode 100644 index 0000000..85c0961 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomN.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomN.htmlbackup new file mode 100644 index 0000000..42a3b28 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomN.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightN-bottomA.html b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightN-bottomA.html new file mode 100644 index 0000000..a3c614c --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightN-bottomA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightN-bottomA.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightN-bottomA.htmlbackup new file mode 100644 index 0000000..0abb148 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightN-bottomA.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/reftest.list b/layout/reftests/position-dynamic-changes/vertical/reftest.list new file mode 100644 index 0000000..61b3be9 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/reftest.list @@ -0,0 +1,18 @@ +== topN-heightA-bottomA.html topN-heightA-bottomA-ref.html +== topN-heightA-bottomN.html topN-heightA-bottomN-ref.html +== topA-heightN-bottomA.html topA-heightN-bottomA-ref.html +== topN-heightN-bottomA.html topN-heightN-bottomA-ref.html +== topA-heightN-bottomN.html topA-heightN-bottomN-ref.html +== topA-heightA-bottomN.html topA-heightA-bottomN-ref.html +== toauto-topN-heightA-bottomA.html toauto-topN-heightA-bottomA-ref.html +== toauto-topN-heightA-bottomN.html toauto-topN-heightA-bottomN-ref.html +== toauto-topA-heightN-bottomA.html toauto-topA-heightN-bottomA-ref.html +== toauto-topN-heightN-bottomA.html toauto-topN-heightN-bottomA-ref.html +== toauto-topA-heightN-bottomN.html toauto-topA-heightN-bottomN-ref.html +== toauto-topA-heightA-bottomN.html toauto-topA-heightA-bottomN-ref.html +== fromauto-topN-heightA-bottomA.html topN-heightA-bottomA-ref.html +== fromauto-topN-heightA-bottomN.html topN-heightA-bottomN-ref.html +== fromauto-topA-heightN-bottomA.html topA-heightN-bottomA-ref.html +== fromauto-topN-heightN-bottomA.html topN-heightN-bottomA-ref.html +== fromauto-topA-heightN-bottomN.html topA-heightN-bottomN-ref.html +== fromauto-topA-heightA-bottomN.html topA-heightA-bottomN-ref.html diff --git a/layout/reftests/position-dynamic-changes/vertical/reftest.listbackup b/layout/reftests/position-dynamic-changes/vertical/reftest.listbackup new file mode 100644 index 0000000..86a90a0 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/reftest.listbackup @@ -0,0 +1,12 @@ +== topN-heightA-bottomA.html topN-heightA-bottomA-ref.html +== topN-heightA-bottomN.html topN-heightA-bottomN-ref.html +== topA-heightN-bottomA.html topA-heightN-bottomA-ref.html +== topN-heightN-bottomA.html topN-heightN-bottomA-ref.html +== topA-heightN-bottomN.html topA-heightN-bottomN-ref.html +== topA-heightA-bottomN.html topA-heightA-bottomN-ref.html +== toauto-topN-heightA-bottomA.html toauto-topN-heightA-bottomA-ref.html +== toauto-topN-heightA-bottomN.html toauto-topN-heightA-bottomN-ref.html +== toauto-topA-heightN-bottomA.html toauto-topA-heightN-bottomA-ref.html +== toauto-topN-heightN-bottomA.html toauto-topN-heightN-bottomA-ref.html +== toauto-topA-heightN-bottomN.html toauto-topA-heightN-bottomN-ref.html +== toauto-topA-heightA-bottomN.html toauto-topA-heightA-bottomN-ref.html diff --git a/layout/reftests/position-dynamic-changes/vertical/style.css b/layout/reftests/position-dynamic-changes/vertical/style.css new file mode 100644 index 0000000..d9fee4e --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/style.css @@ -0,0 +1,17 @@ +#parent { + position: relative; + width: 400px; + height: 400px; + border: 1px solid red; +} +#child { + position: absolute; + width: 100px; + left: 100px; + border: 1px solid blue; +} +.floatTop { + width: 10px; + height: 10px; + background: green; +} diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightA-bottomN-ref.html b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightA-bottomN-ref.html new file mode 100644 index 0000000..345d039 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightA-bottomN-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightA-bottomN-ref.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightA-bottomN-ref.htmlbackup new file mode 100644 index 0000000..345d039 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightA-bottomN-ref.htmlbackup @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightA-bottomN.html b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightA-bottomN.html new file mode 100644 index 0000000..74d5ede --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightA-bottomN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightA-bottomN.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightA-bottomN.htmlbackup new file mode 100644 index 0000000..74d5ede --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightA-bottomN.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomA-ref.html b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomA-ref.html new file mode 100644 index 0000000..345d039 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomA-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomA-ref.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomA-ref.htmlbackup new file mode 100644 index 0000000..345d039 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomA-ref.htmlbackup @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomA.html b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomA.html new file mode 100644 index 0000000..0edf09a --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomA.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomA.htmlbackup new file mode 100644 index 0000000..0edf09a --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomA.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomN-ref.html b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomN-ref.html new file mode 100644 index 0000000..f3d0b00 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomN-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomN-ref.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomN-ref.htmlbackup new file mode 100644 index 0000000..f3d0b00 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomN-ref.htmlbackup @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomN.html b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomN.html new file mode 100644 index 0000000..8678c7f --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomN.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomN.htmlbackup new file mode 100644 index 0000000..8678c7f --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomN.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomA-ref.html b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomA-ref.html new file mode 100644 index 0000000..345d039 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomA-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomA-ref.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomA-ref.htmlbackup new file mode 100644 index 0000000..345d039 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomA-ref.htmlbackup @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomA.html b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomA.html new file mode 100644 index 0000000..9a7cb0f --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomA.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomA.htmlbackup new file mode 100644 index 0000000..9a7cb0f --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomA.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomN-ref.html b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomN-ref.html new file mode 100644 index 0000000..6dbf9f7 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomN-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomN-ref.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomN-ref.htmlbackup new file mode 100644 index 0000000..6dbf9f7 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomN-ref.htmlbackup @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomN.html b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomN.html new file mode 100644 index 0000000..9f61159 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomN.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomN.htmlbackup new file mode 100644 index 0000000..9f61159 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomN.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightN-bottomA-ref.html b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightN-bottomA-ref.html new file mode 100644 index 0000000..f3d0b00 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightN-bottomA-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightN-bottomA-ref.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightN-bottomA-ref.htmlbackup new file mode 100644 index 0000000..f3d0b00 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightN-bottomA-ref.htmlbackup @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightN-bottomA.html b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightN-bottomA.html new file mode 100644 index 0000000..ef0c47e --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightN-bottomA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightN-bottomA.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightN-bottomA.htmlbackup new file mode 100644 index 0000000..ef0c47e --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightN-bottomA.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/topA-heightA-bottomN-ref.html b/layout/reftests/position-dynamic-changes/vertical/topA-heightA-bottomN-ref.html new file mode 100644 index 0000000..89cb657 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightA-bottomN-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/topA-heightA-bottomN-ref.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/topA-heightA-bottomN-ref.htmlbackup new file mode 100644 index 0000000..89cb657 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightA-bottomN-ref.htmlbackup @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/topA-heightA-bottomN.html b/layout/reftests/position-dynamic-changes/vertical/topA-heightA-bottomN.html new file mode 100644 index 0000000..168dd17 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightA-bottomN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/topA-heightA-bottomN.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/topA-heightA-bottomN.htmlbackup new file mode 100644 index 0000000..168dd17 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightA-bottomN.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomA-ref.html b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomA-ref.html new file mode 100644 index 0000000..5ad67fc --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomA-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomA-ref.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomA-ref.htmlbackup new file mode 100644 index 0000000..5ad67fc --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomA-ref.htmlbackup @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomA.html b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomA.html new file mode 100644 index 0000000..eae353c --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomA.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomA.htmlbackup new file mode 100644 index 0000000..eae353c --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomA.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomN-ref.html b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomN-ref.html new file mode 100644 index 0000000..84bdc64 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomN-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomN-ref.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomN-ref.htmlbackup new file mode 100644 index 0000000..84bdc64 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomN-ref.htmlbackup @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomN.html b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomN.html new file mode 100644 index 0000000..a9bb0cf --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomN.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomN.htmlbackup new file mode 100644 index 0000000..a9bb0cf --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomN.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomA-ref.html b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomA-ref.html new file mode 100644 index 0000000..a83bc2d --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomA-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomA-ref.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomA-ref.htmlbackup new file mode 100644 index 0000000..a83bc2d --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomA-ref.htmlbackup @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomA.html b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomA.html new file mode 100644 index 0000000..38740d7 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomA.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomA.htmlbackup new file mode 100644 index 0000000..38740d7 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomA.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomN-ref.html b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomN-ref.html new file mode 100644 index 0000000..f6b068b --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomN-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomN-ref.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomN-ref.htmlbackup new file mode 100644 index 0000000..f6b068b --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomN-ref.htmlbackup @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomN.html b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomN.html new file mode 100644 index 0000000..90085e3 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomN.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomN.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomN.htmlbackup new file mode 100644 index 0000000..90085e3 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomN.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/topN-heightN-bottomA-ref.html b/layout/reftests/position-dynamic-changes/vertical/topN-heightN-bottomA-ref.html new file mode 100644 index 0000000..caba8eb --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightN-bottomA-ref.html @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/topN-heightN-bottomA-ref.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/topN-heightN-bottomA-ref.htmlbackup new file mode 100644 index 0000000..caba8eb --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightN-bottomA-ref.htmlbackup @@ -0,0 +1,14 @@ + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/vertical/topN-heightN-bottomA.html b/layout/reftests/position-dynamic-changes/vertical/topN-heightN-bottomA.html new file mode 100644 index 0000000..0ea1405 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightN-bottomA.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/vertical/topN-heightN-bottomA.htmlbackup b/layout/reftests/position-dynamic-changes/vertical/topN-heightN-bottomA.htmlbackup new file mode 100644 index 0000000..0ea1405 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightN-bottomA.htmlbackup @@ -0,0 +1,18 @@ + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/reftest.list b/layout/reftests/reftest.list index 182e551..397fd01 100644 --- a/layout/reftests/reftest.list +++ b/layout/reftests/reftest.list @@ -224,6 +224,9 @@ include pixel-rounding/reftest.list # plugin/ include ../../dom/plugins/test/reftest/reftest.list +# position-dynamic-changes/ +include position-dynamic-changes/reftest.list + # printing include printing/reftest.list include pagination/reftest.list