commit 4836f1d217af99fa86a4390b5b29f1bd4a683321 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/handleprop.js b/layout/reftests/position-dynamic-changes/handleprop.js new file mode 100644 index 0000000..476961d --- /dev/null +++ b/layout/reftests/position-dynamic-changes/handleprop.js @@ -0,0 +1,10 @@ +// Add the correct border/margin/padding style +if (window.location.search.length > 0) { + var params = window.location.search.substr(1).split("_"); + if (params[0] == "border") { + params[0] = "border-width"; + } + document.write(""); +} 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..867870d --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/animate.js @@ -0,0 +1,62 @@ +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"; + currentOffset += 10; + 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..95f01af --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftA-widthA-rightN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..49bb65d --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftA-widthN-rightA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..c63a914 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftA-widthN-rightN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..5c7eed7 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthA-rightA-2.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..bb48f92 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthA-rightA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..b7e3e45 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthA-rightN-2.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..29caa7b --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthA-rightN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..8a9b6a9 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/fromauto-leftN-widthN-rightA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..88780e4 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthA-rightN-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..14014d0 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthA-rightN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..f35b111 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthN-rightA-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..c73e85c --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthN-rightA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..4db64f3 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthN-rightN-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..4dcea54 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftA-widthN-rightN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..33b21d8 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightA-2-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..5476f21 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightA-2.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..7e8cc0f --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightA-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..60d0117 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..5080662 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightN-2-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..d12d7a9 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightN-2.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..a0847ba --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightN-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..bedd5e2 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthA-rightN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..4f88540 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthN-rightA-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..5928cd7 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/leftN-widthN-rightA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..5f888a3 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/reftest.list @@ -0,0 +1,18 @@ +# This directory includes 7 different permutations of the same tests. +# reftest_plain.list is the manifest file for tests without any border, margin +# or padding applied to either the abs-pos element or the parent. +# reftest_{prop}_{element}.list files are the manifest files for tests with the +# CSS property {prop} applied to {element}. These files use the query string +# on the test file and the reference file to ask the code in ../handleprop.js add +# the corresponding CSS style. + +# Any changes to the contents of the following files needs to be reflected on +# all of them. + +include reftest_plain.list +include reftest_border_abspos.list +include reftest_border_parent.list +include reftest_margin_abspos.list +include reftest_margin_parent.list +include reftest_padding_abspos.list +include reftest_padding_parent.list diff --git a/layout/reftests/position-dynamic-changes/horizontal/reftest_border_abspos.list b/layout/reftests/position-dynamic-changes/horizontal/reftest_border_abspos.list new file mode 100644 index 0000000..ae3f3b8 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/reftest_border_abspos.list @@ -0,0 +1,26 @@ +# Please see the comment at the beginning of reftest.list + +== leftN-widthA-rightA.html?border_abspos leftN-widthA-rightA-ref.html?border_abspos +== leftN-widthA-rightA-2.html?border_abspos leftN-widthA-rightA-2-ref.html?border_abspos +== leftN-widthA-rightN.html?border_abspos leftN-widthA-rightN-ref.html?border_abspos +== leftN-widthA-rightN-2.html?border_abspos leftN-widthA-rightN-2-ref.html?border_abspos +== leftA-widthN-rightA.html?border_abspos leftA-widthN-rightA-ref.html?border_abspos +== leftN-widthN-rightA.html?border_abspos leftN-widthN-rightA-ref.html?border_abspos +== leftA-widthN-rightN.html?border_abspos leftA-widthN-rightN-ref.html?border_abspos +== leftA-widthA-rightN.html?border_abspos leftA-widthA-rightN-ref.html?border_abspos +== toauto-leftN-widthA-rightA.html?border_abspos toauto-leftN-widthA-rightA-ref.html?border_abspos +== toauto-leftN-widthA-rightA-2.html?border_abspos toauto-leftN-widthA-rightA-2-ref.html?border_abspos +== toauto-leftN-widthA-rightN.html?border_abspos toauto-leftN-widthA-rightN-ref.html?border_abspos +== toauto-leftN-widthA-rightN-2.html?border_abspos toauto-leftN-widthA-rightN-2-ref.html?border_abspos +== toauto-leftA-widthN-rightA.html?border_abspos toauto-leftA-widthN-rightA-ref.html?border_abspos +== toauto-leftN-widthN-rightA.html?border_abspos toauto-leftN-widthN-rightA-ref.html?border_abspos +== toauto-leftA-widthN-rightN.html?border_abspos toauto-leftA-widthN-rightN-ref.html?border_abspos +== toauto-leftA-widthA-rightN.html?border_abspos toauto-leftA-widthA-rightN-ref.html?border_abspos +== fromauto-leftN-widthA-rightA.html?border_abspos leftN-widthA-rightA-ref.html?border_abspos +random-if(cocoaWidget) == fromauto-leftN-widthA-rightA-2.html?border_abspos leftN-widthA-rightA-2-ref.html?border_abspos # Bug 688545 +== fromauto-leftN-widthA-rightN.html?border_abspos leftN-widthA-rightN-ref.html?border_abspos +== fromauto-leftN-widthA-rightN-2.html?border_abspos leftN-widthA-rightN-2-ref.html?border_abspos +== fromauto-leftA-widthN-rightA.html?border_abspos leftA-widthN-rightA-ref.html?border_abspos +== fromauto-leftN-widthN-rightA.html?border_abspos leftN-widthN-rightA-ref.html?border_abspos +== fromauto-leftA-widthN-rightN.html?border_abspos leftA-widthN-rightN-ref.html?border_abspos +== fromauto-leftA-widthA-rightN.html?border_abspos leftA-widthA-rightN-ref.html?border_abspos diff --git a/layout/reftests/position-dynamic-changes/horizontal/reftest_border_parent.list b/layout/reftests/position-dynamic-changes/horizontal/reftest_border_parent.list new file mode 100644 index 0000000..3de9d1a --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/reftest_border_parent.list @@ -0,0 +1,26 @@ +# Please see the comment at the beginning of reftest.list + +== leftN-widthA-rightA.html?border_parent leftN-widthA-rightA-ref.html?border_parent +== leftN-widthA-rightA-2.html?border_parent leftN-widthA-rightA-2-ref.html?border_parent +== leftN-widthA-rightN.html?border_parent leftN-widthA-rightN-ref.html?border_parent +== leftN-widthA-rightN-2.html?border_parent leftN-widthA-rightN-2-ref.html?border_parent +== leftA-widthN-rightA.html?border_parent leftA-widthN-rightA-ref.html?border_parent +== leftN-widthN-rightA.html?border_parent leftN-widthN-rightA-ref.html?border_parent +== leftA-widthN-rightN.html?border_parent leftA-widthN-rightN-ref.html?border_parent +== leftA-widthA-rightN.html?border_parent leftA-widthA-rightN-ref.html?border_parent +== toauto-leftN-widthA-rightA.html?border_parent toauto-leftN-widthA-rightA-ref.html?border_parent +== toauto-leftN-widthA-rightA-2.html?border_parent toauto-leftN-widthA-rightA-2-ref.html?border_parent +== toauto-leftN-widthA-rightN.html?border_parent toauto-leftN-widthA-rightN-ref.html?border_parent +== toauto-leftN-widthA-rightN-2.html?border_parent toauto-leftN-widthA-rightN-2-ref.html?border_parent +== toauto-leftA-widthN-rightA.html?border_parent toauto-leftA-widthN-rightA-ref.html?border_parent +== toauto-leftN-widthN-rightA.html?border_parent toauto-leftN-widthN-rightA-ref.html?border_parent +== toauto-leftA-widthN-rightN.html?border_parent toauto-leftA-widthN-rightN-ref.html?border_parent +== toauto-leftA-widthA-rightN.html?border_parent toauto-leftA-widthA-rightN-ref.html?border_parent +== fromauto-leftN-widthA-rightA.html?border_parent leftN-widthA-rightA-ref.html?border_parent +random-if(cocoaWidget) == fromauto-leftN-widthA-rightA-2.html?border_parent leftN-widthA-rightA-2-ref.html?border_parent # Bug 688545 +== fromauto-leftN-widthA-rightN.html?border_parent leftN-widthA-rightN-ref.html?border_parent +== fromauto-leftN-widthA-rightN-2.html?border_parent leftN-widthA-rightN-2-ref.html?border_parent +== fromauto-leftA-widthN-rightA.html?border_parent leftA-widthN-rightA-ref.html?border_parent +== fromauto-leftN-widthN-rightA.html?border_parent leftN-widthN-rightA-ref.html?border_parent +== fromauto-leftA-widthN-rightN.html?border_parent leftA-widthN-rightN-ref.html?border_parent +== fromauto-leftA-widthA-rightN.html?border_parent leftA-widthA-rightN-ref.html?border_parent diff --git a/layout/reftests/position-dynamic-changes/horizontal/reftest_margin_abspos.list b/layout/reftests/position-dynamic-changes/horizontal/reftest_margin_abspos.list new file mode 100644 index 0000000..367564e --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/reftest_margin_abspos.list @@ -0,0 +1,26 @@ +# Please see the comment at the beginning of reftest.list + +== leftN-widthA-rightA.html?margin_abspos leftN-widthA-rightA-ref.html?margin_abspos +== leftN-widthA-rightA-2.html?margin_abspos leftN-widthA-rightA-2-ref.html?margin_abspos +== leftN-widthA-rightN.html?margin_abspos leftN-widthA-rightN-ref.html?margin_abspos +== leftN-widthA-rightN-2.html?margin_abspos leftN-widthA-rightN-2-ref.html?margin_abspos +== leftA-widthN-rightA.html?margin_abspos leftA-widthN-rightA-ref.html?margin_abspos +== leftN-widthN-rightA.html?margin_abspos leftN-widthN-rightA-ref.html?margin_abspos +== leftA-widthN-rightN.html?margin_abspos leftA-widthN-rightN-ref.html?margin_abspos +== leftA-widthA-rightN.html?margin_abspos leftA-widthA-rightN-ref.html?margin_abspos +== toauto-leftN-widthA-rightA.html?margin_abspos toauto-leftN-widthA-rightA-ref.html?margin_abspos +== toauto-leftN-widthA-rightA-2.html?margin_abspos toauto-leftN-widthA-rightA-2-ref.html?margin_abspos +== toauto-leftN-widthA-rightN.html?margin_abspos toauto-leftN-widthA-rightN-ref.html?margin_abspos +== toauto-leftN-widthA-rightN-2.html?margin_abspos toauto-leftN-widthA-rightN-2-ref.html?margin_abspos +== toauto-leftA-widthN-rightA.html?margin_abspos toauto-leftA-widthN-rightA-ref.html?margin_abspos +== toauto-leftN-widthN-rightA.html?margin_abspos toauto-leftN-widthN-rightA-ref.html?margin_abspos +== toauto-leftA-widthN-rightN.html?margin_abspos toauto-leftA-widthN-rightN-ref.html?margin_abspos +== toauto-leftA-widthA-rightN.html?margin_abspos toauto-leftA-widthA-rightN-ref.html?margin_abspos +== fromauto-leftN-widthA-rightA.html?margin_abspos leftN-widthA-rightA-ref.html?margin_abspos +random-if(cocoaWidget) == fromauto-leftN-widthA-rightA-2.html?margin_abspos leftN-widthA-rightA-2-ref.html?margin_abspos # Bug 688545 +== fromauto-leftN-widthA-rightN.html?margin_abspos leftN-widthA-rightN-ref.html?margin_abspos +== fromauto-leftN-widthA-rightN-2.html?margin_abspos leftN-widthA-rightN-2-ref.html?margin_abspos +== fromauto-leftA-widthN-rightA.html?margin_abspos leftA-widthN-rightA-ref.html?margin_abspos +== fromauto-leftN-widthN-rightA.html?margin_abspos leftN-widthN-rightA-ref.html?margin_abspos +== fromauto-leftA-widthN-rightN.html?margin_abspos leftA-widthN-rightN-ref.html?margin_abspos +== fromauto-leftA-widthA-rightN.html?margin_abspos leftA-widthA-rightN-ref.html?margin_abspos diff --git a/layout/reftests/position-dynamic-changes/horizontal/reftest_margin_parent.list b/layout/reftests/position-dynamic-changes/horizontal/reftest_margin_parent.list new file mode 100644 index 0000000..d1aaff8 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/reftest_margin_parent.list @@ -0,0 +1,26 @@ +# Please see the comment at the beginning of reftest.list + +== leftN-widthA-rightA.html?margin_parent leftN-widthA-rightA-ref.html?margin_parent +== leftN-widthA-rightA-2.html?margin_parent leftN-widthA-rightA-2-ref.html?margin_parent +== leftN-widthA-rightN.html?margin_parent leftN-widthA-rightN-ref.html?margin_parent +== leftN-widthA-rightN-2.html?margin_parent leftN-widthA-rightN-2-ref.html?margin_parent +== leftA-widthN-rightA.html?margin_parent leftA-widthN-rightA-ref.html?margin_parent +== leftN-widthN-rightA.html?margin_parent leftN-widthN-rightA-ref.html?margin_parent +== leftA-widthN-rightN.html?margin_parent leftA-widthN-rightN-ref.html?margin_parent +== leftA-widthA-rightN.html?margin_parent leftA-widthA-rightN-ref.html?margin_parent +== toauto-leftN-widthA-rightA.html?margin_parent toauto-leftN-widthA-rightA-ref.html?margin_parent +== toauto-leftN-widthA-rightA-2.html?margin_parent toauto-leftN-widthA-rightA-2-ref.html?margin_parent +== toauto-leftN-widthA-rightN.html?margin_parent toauto-leftN-widthA-rightN-ref.html?margin_parent +== toauto-leftN-widthA-rightN-2.html?margin_parent toauto-leftN-widthA-rightN-2-ref.html?margin_parent +== toauto-leftA-widthN-rightA.html?margin_parent toauto-leftA-widthN-rightA-ref.html?margin_parent +== toauto-leftN-widthN-rightA.html?margin_parent toauto-leftN-widthN-rightA-ref.html?margin_parent +== toauto-leftA-widthN-rightN.html?margin_parent toauto-leftA-widthN-rightN-ref.html?margin_parent +== toauto-leftA-widthA-rightN.html?margin_parent toauto-leftA-widthA-rightN-ref.html?margin_parent +== fromauto-leftN-widthA-rightA.html?margin_parent leftN-widthA-rightA-ref.html?margin_parent +random-if(cocoaWidget) == fromauto-leftN-widthA-rightA-2.html?margin_parent leftN-widthA-rightA-2-ref.html?margin_parent # Bug 688545 +== fromauto-leftN-widthA-rightN.html?margin_parent leftN-widthA-rightN-ref.html?margin_parent +== fromauto-leftN-widthA-rightN-2.html?margin_parent leftN-widthA-rightN-2-ref.html?margin_parent +== fromauto-leftA-widthN-rightA.html?margin_parent leftA-widthN-rightA-ref.html?margin_parent +== fromauto-leftN-widthN-rightA.html?margin_parent leftN-widthN-rightA-ref.html?margin_parent +== fromauto-leftA-widthN-rightN.html?margin_parent leftA-widthN-rightN-ref.html?margin_parent +== fromauto-leftA-widthA-rightN.html?margin_parent leftA-widthA-rightN-ref.html?margin_parent diff --git a/layout/reftests/position-dynamic-changes/horizontal/reftest_padding_abspos.list b/layout/reftests/position-dynamic-changes/horizontal/reftest_padding_abspos.list new file mode 100644 index 0000000..03952c6 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/reftest_padding_abspos.list @@ -0,0 +1,26 @@ +# Please see the comment at the beginning of reftest.list + +== leftN-widthA-rightA.html?padding_abspos leftN-widthA-rightA-ref.html?padding_abspos +== leftN-widthA-rightA-2.html?padding_abspos leftN-widthA-rightA-2-ref.html?padding_abspos +== leftN-widthA-rightN.html?padding_abspos leftN-widthA-rightN-ref.html?padding_abspos +== leftN-widthA-rightN-2.html?padding_abspos leftN-widthA-rightN-2-ref.html?padding_abspos +== leftA-widthN-rightA.html?padding_abspos leftA-widthN-rightA-ref.html?padding_abspos +== leftN-widthN-rightA.html?padding_abspos leftN-widthN-rightA-ref.html?padding_abspos +== leftA-widthN-rightN.html?padding_abspos leftA-widthN-rightN-ref.html?padding_abspos +== leftA-widthA-rightN.html?padding_abspos leftA-widthA-rightN-ref.html?padding_abspos +== toauto-leftN-widthA-rightA.html?padding_abspos toauto-leftN-widthA-rightA-ref.html?padding_abspos +== toauto-leftN-widthA-rightA-2.html?padding_abspos toauto-leftN-widthA-rightA-2-ref.html?padding_abspos +== toauto-leftN-widthA-rightN.html?padding_abspos toauto-leftN-widthA-rightN-ref.html?padding_abspos +== toauto-leftN-widthA-rightN-2.html?padding_abspos toauto-leftN-widthA-rightN-2-ref.html?padding_abspos +== toauto-leftA-widthN-rightA.html?padding_abspos toauto-leftA-widthN-rightA-ref.html?padding_abspos +== toauto-leftN-widthN-rightA.html?padding_abspos toauto-leftN-widthN-rightA-ref.html?padding_abspos +== toauto-leftA-widthN-rightN.html?padding_abspos toauto-leftA-widthN-rightN-ref.html?padding_abspos +== toauto-leftA-widthA-rightN.html?padding_abspos toauto-leftA-widthA-rightN-ref.html?padding_abspos +== fromauto-leftN-widthA-rightA.html?padding_abspos leftN-widthA-rightA-ref.html?padding_abspos +random-if(cocoaWidget) == fromauto-leftN-widthA-rightA-2.html?padding_abspos leftN-widthA-rightA-2-ref.html?padding_abspos # Bug 688545 +== fromauto-leftN-widthA-rightN.html?padding_abspos leftN-widthA-rightN-ref.html?padding_abspos +== fromauto-leftN-widthA-rightN-2.html?padding_abspos leftN-widthA-rightN-2-ref.html?padding_abspos +== fromauto-leftA-widthN-rightA.html?padding_abspos leftA-widthN-rightA-ref.html?padding_abspos +== fromauto-leftN-widthN-rightA.html?padding_abspos leftN-widthN-rightA-ref.html?padding_abspos +== fromauto-leftA-widthN-rightN.html?padding_abspos leftA-widthN-rightN-ref.html?padding_abspos +== fromauto-leftA-widthA-rightN.html?padding_abspos leftA-widthA-rightN-ref.html?padding_abspos diff --git a/layout/reftests/position-dynamic-changes/horizontal/reftest_padding_parent.list b/layout/reftests/position-dynamic-changes/horizontal/reftest_padding_parent.list new file mode 100644 index 0000000..e1cdf6a --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/reftest_padding_parent.list @@ -0,0 +1,26 @@ +# Please see the comment at the beginning of reftest.list + +== leftN-widthA-rightA.html?padding_parent leftN-widthA-rightA-ref.html?padding_parent +== leftN-widthA-rightA-2.html?padding_parent leftN-widthA-rightA-2-ref.html?padding_parent +== leftN-widthA-rightN.html?padding_parent leftN-widthA-rightN-ref.html?padding_parent +== leftN-widthA-rightN-2.html?padding_parent leftN-widthA-rightN-2-ref.html?padding_parent +== leftA-widthN-rightA.html?padding_parent leftA-widthN-rightA-ref.html?padding_parent +== leftN-widthN-rightA.html?padding_parent leftN-widthN-rightA-ref.html?padding_parent +== leftA-widthN-rightN.html?padding_parent leftA-widthN-rightN-ref.html?padding_parent +== leftA-widthA-rightN.html?padding_parent leftA-widthA-rightN-ref.html?padding_parent +== toauto-leftN-widthA-rightA.html?padding_parent toauto-leftN-widthA-rightA-ref.html?padding_parent +== toauto-leftN-widthA-rightA-2.html?padding_parent toauto-leftN-widthA-rightA-2-ref.html?padding_parent +== toauto-leftN-widthA-rightN.html?padding_parent toauto-leftN-widthA-rightN-ref.html?padding_parent +== toauto-leftN-widthA-rightN-2.html?padding_parent toauto-leftN-widthA-rightN-2-ref.html?padding_parent +== toauto-leftA-widthN-rightA.html?padding_parent toauto-leftA-widthN-rightA-ref.html?padding_parent +== toauto-leftN-widthN-rightA.html?padding_parent toauto-leftN-widthN-rightA-ref.html?padding_parent +== toauto-leftA-widthN-rightN.html?padding_parent toauto-leftA-widthN-rightN-ref.html?padding_parent +== toauto-leftA-widthA-rightN.html?padding_parent toauto-leftA-widthA-rightN-ref.html?padding_parent +== fromauto-leftN-widthA-rightA.html?padding_parent leftN-widthA-rightA-ref.html?padding_parent +random-if(cocoaWidget) == fromauto-leftN-widthA-rightA-2.html?padding_parent leftN-widthA-rightA-2-ref.html?padding_parent # Bug 688545 +== fromauto-leftN-widthA-rightN.html?padding_parent leftN-widthA-rightN-ref.html?padding_parent +== fromauto-leftN-widthA-rightN-2.html?padding_parent leftN-widthA-rightN-2-ref.html?padding_parent +== fromauto-leftA-widthN-rightA.html?padding_parent leftA-widthN-rightA-ref.html?padding_parent +== fromauto-leftN-widthN-rightA.html?padding_parent leftN-widthN-rightA-ref.html?padding_parent +== fromauto-leftA-widthN-rightN.html?padding_parent leftA-widthN-rightN-ref.html?padding_parent +== fromauto-leftA-widthA-rightN.html?padding_parent leftA-widthA-rightN-ref.html?padding_parent diff --git a/layout/reftests/position-dynamic-changes/horizontal/reftest_plain.list b/layout/reftests/position-dynamic-changes/horizontal/reftest_plain.list new file mode 100644 index 0000000..a2c8462 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/reftest_plain.list @@ -0,0 +1,26 @@ +# Please see the comment at the beginning of reftest.list + +== 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 +random-if(cocoaWidget) == fromauto-leftN-widthA-rightA-2.html leftN-widthA-rightA-2-ref.html # Bug 688545 +== 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..7486e56 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/style.css @@ -0,0 +1,20 @@ +#parent { + position: relative; + width: 400px; + height: 400px; + background: red; + border: 0 solid black; +} +#child { + position: absolute; + height: 100px; + top: 100px; + background: blue; + border: 0 solid black; +} +.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..0cedbea --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthA-rightN-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..d8b4de0 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthA-rightN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..0cedbea --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthN-rightA-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..f4e181b --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthN-rightA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..92c8e40 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthN-rightN-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..dd5f322 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftA-widthN-rightN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..0cedbea --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightA-2-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..b1d3604 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightA-2.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..0cedbea --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightA-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..d31aac0 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..e8e2057 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightN-2-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..7aeb23f --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightN-2.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..e8e2057 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightN-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..7aeb23f --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthA-rightN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..92c8e40 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthN-rightA-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..30403a0 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/horizontal/toauto-leftN-widthN-rightA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-dynamic-changes/mixed-abspos-root/mixed-dimentionA-ref.html b/layout/reftests/position-dynamic-changes/mixed-abspos-root/mixed-dimentionA-ref.html new file mode 100644 index 0000000..157118c --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed-abspos-root/mixed-dimentionA-ref.html @@ -0,0 +1,21 @@ + + + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/mixed-abspos-root/mixed-dimentionA.html b/layout/reftests/position-dynamic-changes/mixed-abspos-root/mixed-dimentionA.html new file mode 100644 index 0000000..eeed66380 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed-abspos-root/mixed-dimentionA.html @@ -0,0 +1,38 @@ + + + + + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/mixed-abspos-root/mixed-dimentionN-ref.html b/layout/reftests/position-dynamic-changes/mixed-abspos-root/mixed-dimentionN-ref.html new file mode 100644 index 0000000..d473179 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed-abspos-root/mixed-dimentionN-ref.html @@ -0,0 +1,21 @@ + + + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/mixed-abspos-root/mixed-dimentionN.html b/layout/reftests/position-dynamic-changes/mixed-abspos-root/mixed-dimentionN.html new file mode 100644 index 0000000..c77c033 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed-abspos-root/mixed-dimentionN.html @@ -0,0 +1,38 @@ + + + + + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest.list b/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest.list new file mode 100644 index 0000000..5f888a3 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest.list @@ -0,0 +1,18 @@ +# This directory includes 7 different permutations of the same tests. +# reftest_plain.list is the manifest file for tests without any border, margin +# or padding applied to either the abs-pos element or the parent. +# reftest_{prop}_{element}.list files are the manifest files for tests with the +# CSS property {prop} applied to {element}. These files use the query string +# on the test file and the reference file to ask the code in ../handleprop.js add +# the corresponding CSS style. + +# Any changes to the contents of the following files needs to be reflected on +# all of them. + +include reftest_plain.list +include reftest_border_abspos.list +include reftest_border_parent.list +include reftest_margin_abspos.list +include reftest_margin_parent.list +include reftest_padding_abspos.list +include reftest_padding_parent.list diff --git a/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_border_abspos.list b/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_border_abspos.list new file mode 100644 index 0000000..50f7fd7 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_border_abspos.list @@ -0,0 +1,4 @@ +# Please see the comment at the beginning of reftest.list + +== mixed-dimentionN.html?border_abspos mixed-dimentionN-ref.html?border_abspos +== mixed-dimentionA.html?border_abspos mixed-dimentionA-ref.html?border_abspos diff --git a/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_border_parent.list b/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_border_parent.list new file mode 100644 index 0000000..d91c20c --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_border_parent.list @@ -0,0 +1,4 @@ +# Please see the comment at the beginning of reftest.list + +== mixed-dimentionN.html?border_parent mixed-dimentionN-ref.html?border_parent +== mixed-dimentionA.html?border_parent mixed-dimentionA-ref.html?border_parent diff --git a/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_margin_abspos.list b/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_margin_abspos.list new file mode 100644 index 0000000..2911364 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_margin_abspos.list @@ -0,0 +1,4 @@ +# Please see the comment at the beginning of reftest.list + +== mixed-dimentionN.html?margin_abspos mixed-dimentionN-ref.html?margin_abspos +== mixed-dimentionA.html?margin_abspos mixed-dimentionA-ref.html?margin_abspos diff --git a/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_margin_parent.list b/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_margin_parent.list new file mode 100644 index 0000000..91e4d90 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_margin_parent.list @@ -0,0 +1,4 @@ +# Please see the comment at the beginning of reftest.list + +== mixed-dimentionN.html?margin_parent mixed-dimentionN-ref.html?margin_parent +== mixed-dimentionA.html?margin_parent mixed-dimentionA-ref.html?margin_parent diff --git a/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_padding_abspos.list b/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_padding_abspos.list new file mode 100644 index 0000000..b88c03e --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_padding_abspos.list @@ -0,0 +1,4 @@ +# Please see the comment at the beginning of reftest.list + +== mixed-dimentionN.html?padding_abspos mixed-dimentionN-ref.html?padding_abspos +== mixed-dimentionA.html?padding_abspos mixed-dimentionA-ref.html?padding_abspos diff --git a/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_padding_parent.list b/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_padding_parent.list new file mode 100644 index 0000000..8571cb2 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_padding_parent.list @@ -0,0 +1,4 @@ +# Please see the comment at the beginning of reftest.list + +== mixed-dimentionN.html?padding_parent mixed-dimentionN-ref.html?padding_parent +== mixed-dimentionA.html?padding_parent mixed-dimentionA-ref.html?padding_parent diff --git a/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_plain.list b/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_plain.list new file mode 100644 index 0000000..474456e --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed-abspos-root/reftest_plain.list @@ -0,0 +1,4 @@ +# Please see the comment at the beginning of reftest.list + +== mixed-dimentionN.html mixed-dimentionN-ref.html +== mixed-dimentionA.html mixed-dimentionA-ref.html diff --git a/layout/reftests/position-dynamic-changes/mixed-abspos-root/style.css b/layout/reftests/position-dynamic-changes/mixed-abspos-root/style.css new file mode 100644 index 0000000..3b2c973 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed-abspos-root/style.css @@ -0,0 +1,22 @@ +#parent { + position: relative; + width: 400px; + height: 400px; + background: red; + border: 0 solid black; +} +#child { + position: absolute; + left: 300px; + top: 200px; + right: 20px; + bottom: 20px; + background: blue; + border: 0 solid black; +} +.floatLeft { + width: 50px; + height: 10px; + background: green; + float: left; +} 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..7c197eb --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/mixed-dimentionA-ref.html @@ -0,0 +1,23 @@ + + + + + + + + +
+
+
+
+
+
+ + 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..897e58f --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/mixed-dimentionA.html @@ -0,0 +1,40 @@ + + + + + + + + + + +
+
+
+
+
+
+ + 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..5d9dd3b --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/mixed-dimentionN-ref.html @@ -0,0 +1,23 @@ + + + + + + + + +
+
+
+
+
+
+ + 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..3781094 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/mixed-dimentionN.html @@ -0,0 +1,40 @@ + + + + + + + + + + +
+
+
+
+
+
+ + 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..5f888a3 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/reftest.list @@ -0,0 +1,18 @@ +# This directory includes 7 different permutations of the same tests. +# reftest_plain.list is the manifest file for tests without any border, margin +# or padding applied to either the abs-pos element or the parent. +# reftest_{prop}_{element}.list files are the manifest files for tests with the +# CSS property {prop} applied to {element}. These files use the query string +# on the test file and the reference file to ask the code in ../handleprop.js add +# the corresponding CSS style. + +# Any changes to the contents of the following files needs to be reflected on +# all of them. + +include reftest_plain.list +include reftest_border_abspos.list +include reftest_border_parent.list +include reftest_margin_abspos.list +include reftest_margin_parent.list +include reftest_padding_abspos.list +include reftest_padding_parent.list diff --git a/layout/reftests/position-dynamic-changes/mixed/reftest_border_abspos.list b/layout/reftests/position-dynamic-changes/mixed/reftest_border_abspos.list new file mode 100644 index 0000000..50f7fd7 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/reftest_border_abspos.list @@ -0,0 +1,4 @@ +# Please see the comment at the beginning of reftest.list + +== mixed-dimentionN.html?border_abspos mixed-dimentionN-ref.html?border_abspos +== mixed-dimentionA.html?border_abspos mixed-dimentionA-ref.html?border_abspos diff --git a/layout/reftests/position-dynamic-changes/mixed/reftest_border_parent.list b/layout/reftests/position-dynamic-changes/mixed/reftest_border_parent.list new file mode 100644 index 0000000..d91c20c --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/reftest_border_parent.list @@ -0,0 +1,4 @@ +# Please see the comment at the beginning of reftest.list + +== mixed-dimentionN.html?border_parent mixed-dimentionN-ref.html?border_parent +== mixed-dimentionA.html?border_parent mixed-dimentionA-ref.html?border_parent diff --git a/layout/reftests/position-dynamic-changes/mixed/reftest_margin_abspos.list b/layout/reftests/position-dynamic-changes/mixed/reftest_margin_abspos.list new file mode 100644 index 0000000..2911364 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/reftest_margin_abspos.list @@ -0,0 +1,4 @@ +# Please see the comment at the beginning of reftest.list + +== mixed-dimentionN.html?margin_abspos mixed-dimentionN-ref.html?margin_abspos +== mixed-dimentionA.html?margin_abspos mixed-dimentionA-ref.html?margin_abspos diff --git a/layout/reftests/position-dynamic-changes/mixed/reftest_margin_parent.list b/layout/reftests/position-dynamic-changes/mixed/reftest_margin_parent.list new file mode 100644 index 0000000..91e4d90 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/reftest_margin_parent.list @@ -0,0 +1,4 @@ +# Please see the comment at the beginning of reftest.list + +== mixed-dimentionN.html?margin_parent mixed-dimentionN-ref.html?margin_parent +== mixed-dimentionA.html?margin_parent mixed-dimentionA-ref.html?margin_parent diff --git a/layout/reftests/position-dynamic-changes/mixed/reftest_padding_abspos.list b/layout/reftests/position-dynamic-changes/mixed/reftest_padding_abspos.list new file mode 100644 index 0000000..b88c03e --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/reftest_padding_abspos.list @@ -0,0 +1,4 @@ +# Please see the comment at the beginning of reftest.list + +== mixed-dimentionN.html?padding_abspos mixed-dimentionN-ref.html?padding_abspos +== mixed-dimentionA.html?padding_abspos mixed-dimentionA-ref.html?padding_abspos diff --git a/layout/reftests/position-dynamic-changes/mixed/reftest_padding_parent.list b/layout/reftests/position-dynamic-changes/mixed/reftest_padding_parent.list new file mode 100644 index 0000000..8571cb2 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/reftest_padding_parent.list @@ -0,0 +1,4 @@ +# Please see the comment at the beginning of reftest.list + +== mixed-dimentionN.html?padding_parent mixed-dimentionN-ref.html?padding_parent +== mixed-dimentionA.html?padding_parent mixed-dimentionA-ref.html?padding_parent diff --git a/layout/reftests/position-dynamic-changes/mixed/reftest_plain.list b/layout/reftests/position-dynamic-changes/mixed/reftest_plain.list new file mode 100644 index 0000000..474456e --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/reftest_plain.list @@ -0,0 +1,4 @@ +# Please see the comment at the beginning of reftest.list + +== mixed-dimentionN.html mixed-dimentionN-ref.html +== mixed-dimentionA.html mixed-dimentionA-ref.html diff --git a/layout/reftests/position-dynamic-changes/mixed/style.css b/layout/reftests/position-dynamic-changes/mixed/style.css new file mode 100644 index 0000000..3b2c973 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/mixed/style.css @@ -0,0 +1,22 @@ +#parent { + position: relative; + width: 400px; + height: 400px; + background: red; + border: 0 solid black; +} +#child { + position: absolute; + left: 300px; + top: 200px; + right: 20px; + bottom: 20px; + background: blue; + border: 0 solid black; +} +.floatLeft { + width: 50px; + height: 10px; + background: green; + float: left; +} diff --git a/layout/reftests/position-dynamic-changes/reftest.list b/layout/reftests/position-dynamic-changes/reftest.list new file mode 100644 index 0000000..24761b9 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/reftest.list @@ -0,0 +1,5 @@ +include horizontal/reftest.list +include vertical/reftest.list +include mixed/reftest.list +include mixed-abspos-root/reftest.list +include relative/reftest.list diff --git a/layout/reftests/position-dynamic-changes/relative/animate.js b/layout/reftests/position-dynamic-changes/relative/animate.js new file mode 100644 index 0000000..592e84bd --- /dev/null +++ b/layout/reftests/position-dynamic-changes/relative/animate.js @@ -0,0 +1,32 @@ +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(params, count) { + rfa(function() { + animateStep(params, count); + }); +} + +function animateStep(params, count) { + if (!count) { + document.documentElement.removeAttribute("class"); + return; + } + var rel = document.getElementById("rel"); + for (prop in params) { + rel.style[prop] = (parseInt(rel.style[prop]) + params[prop]) + "px"; + } + rfa(function() { + animateStep(params, count - 10); + }); +} diff --git a/layout/reftests/position-dynamic-changes/relative/move-right-bottom-ref.html b/layout/reftests/position-dynamic-changes/relative/move-right-bottom-ref.html new file mode 100644 index 0000000..8e364b3 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/relative/move-right-bottom-ref.html @@ -0,0 +1,12 @@ + + + + + + +
surrounding position relative text
+ + diff --git a/layout/reftests/position-dynamic-changes/relative/move-right-bottom.html b/layout/reftests/position-dynamic-changes/relative/move-right-bottom.html new file mode 100644 index 0000000..f283f3a --- /dev/null +++ b/layout/reftests/position-dynamic-changes/relative/move-right-bottom.html @@ -0,0 +1,16 @@ + + + + + + + +
surrounding position relative text
+ + + diff --git a/layout/reftests/position-dynamic-changes/relative/move-top-left-ref.html b/layout/reftests/position-dynamic-changes/relative/move-top-left-ref.html new file mode 100644 index 0000000..48f0a8d --- /dev/null +++ b/layout/reftests/position-dynamic-changes/relative/move-top-left-ref.html @@ -0,0 +1,12 @@ + + + + + + +
surrounding position relative text
+ + diff --git a/layout/reftests/position-dynamic-changes/relative/move-top-left.html b/layout/reftests/position-dynamic-changes/relative/move-top-left.html new file mode 100644 index 0000000..ec92ea4 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/relative/move-top-left.html @@ -0,0 +1,16 @@ + + + + + + + +
surrounding position relative text
+ + + diff --git a/layout/reftests/position-dynamic-changes/relative/reftest.list b/layout/reftests/position-dynamic-changes/relative/reftest.list new file mode 100644 index 0000000..b5f49f7 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/relative/reftest.list @@ -0,0 +1,2 @@ +== move-right-bottom.html move-right-bottom-ref.html +random-if(cocoaWidget) == move-top-left.html move-top-left-ref.html # Bug 688545 diff --git a/layout/reftests/position-dynamic-changes/relative/style.css b/layout/reftests/position-dynamic-changes/relative/style.css new file mode 100644 index 0000000..2834536 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/relative/style.css @@ -0,0 +1,10 @@ +#container { + width: 400px; + height: 400px; + border: 1px solid red; +} +#rel { + white-space: pre; + position: relative; + padding: 10px; /* Should be removed once bug 742176 is fixed */ +} 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..ce4cd2c --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/animate.js @@ -0,0 +1,61 @@ +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"; + currentOffset += 10; + 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..d8c5002 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightA-bottomN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..ba270ce --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightN-bottomA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..c8355d8 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topA-heightN-bottomN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..0979742 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomA-2.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..d4f5cd7 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..c6090e7 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomN-2.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..daf37a4 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightA-bottomN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..a417786 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/fromauto-topN-heightN-bottomA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..5f888a3 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/reftest.list @@ -0,0 +1,18 @@ +# This directory includes 7 different permutations of the same tests. +# reftest_plain.list is the manifest file for tests without any border, margin +# or padding applied to either the abs-pos element or the parent. +# reftest_{prop}_{element}.list files are the manifest files for tests with the +# CSS property {prop} applied to {element}. These files use the query string +# on the test file and the reference file to ask the code in ../handleprop.js add +# the corresponding CSS style. + +# Any changes to the contents of the following files needs to be reflected on +# all of them. + +include reftest_plain.list +include reftest_border_abspos.list +include reftest_border_parent.list +include reftest_margin_abspos.list +include reftest_margin_parent.list +include reftest_padding_abspos.list +include reftest_padding_parent.list 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/reftest_border_abspos.list b/layout/reftests/position-dynamic-changes/vertical/reftest_border_abspos.list new file mode 100644 index 0000000..30ad611 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/reftest_border_abspos.list @@ -0,0 +1,20 @@ +# Please see the comment at the beginning of reftest.list + +== topN-heightA-bottomA.html?border_abspos topN-heightA-bottomA-ref.html?border_abspos +== topN-heightA-bottomN.html?border_abspos topN-heightA-bottomN-ref.html?border_abspos +== topA-heightN-bottomA.html?border_abspos topA-heightN-bottomA-ref.html?border_abspos +== topN-heightN-bottomA.html?border_abspos topN-heightN-bottomA-ref.html?border_abspos +== topA-heightN-bottomN.html?border_abspos topA-heightN-bottomN-ref.html?border_abspos +== topA-heightA-bottomN.html?border_abspos topA-heightA-bottomN-ref.html?border_abspos +== toauto-topN-heightA-bottomA.html?border_abspos toauto-topN-heightA-bottomA-ref.html?border_abspos +== toauto-topN-heightA-bottomN.html?border_abspos toauto-topN-heightA-bottomN-ref.html?border_abspos +== toauto-topA-heightN-bottomA.html?border_abspos toauto-topA-heightN-bottomA-ref.html?border_abspos +== toauto-topN-heightN-bottomA.html?border_abspos toauto-topN-heightN-bottomA-ref.html?border_abspos +== toauto-topA-heightN-bottomN.html?border_abspos toauto-topA-heightN-bottomN-ref.html?border_abspos +== toauto-topA-heightA-bottomN.html?border_abspos toauto-topA-heightA-bottomN-ref.html?border_abspos +== fromauto-topN-heightA-bottomA.html?border_abspos topN-heightA-bottomA-ref.html?border_abspos +== fromauto-topN-heightA-bottomN.html?border_abspos topN-heightA-bottomN-ref.html?border_abspos +== fromauto-topA-heightN-bottomA.html?border_abspos topA-heightN-bottomA-ref.html?border_abspos +== fromauto-topN-heightN-bottomA.html?border_abspos topN-heightN-bottomA-ref.html?border_abspos +== fromauto-topA-heightN-bottomN.html?border_abspos topA-heightN-bottomN-ref.html?border_abspos +== fromauto-topA-heightA-bottomN.html?border_abspos topA-heightA-bottomN-ref.html?border_abspos diff --git a/layout/reftests/position-dynamic-changes/vertical/reftest_border_parent.list b/layout/reftests/position-dynamic-changes/vertical/reftest_border_parent.list new file mode 100644 index 0000000..4005e1f --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/reftest_border_parent.list @@ -0,0 +1,20 @@ +# Please see the comment at the beginning of reftest.list + +== topN-heightA-bottomA.html?border_parent topN-heightA-bottomA-ref.html?border_parent +== topN-heightA-bottomN.html?border_parent topN-heightA-bottomN-ref.html?border_parent +== topA-heightN-bottomA.html?border_parent topA-heightN-bottomA-ref.html?border_parent +== topN-heightN-bottomA.html?border_parent topN-heightN-bottomA-ref.html?border_parent +== topA-heightN-bottomN.html?border_parent topA-heightN-bottomN-ref.html?border_parent +== topA-heightA-bottomN.html?border_parent topA-heightA-bottomN-ref.html?border_parent +== toauto-topN-heightA-bottomA.html?border_parent toauto-topN-heightA-bottomA-ref.html?border_parent +== toauto-topN-heightA-bottomN.html?border_parent toauto-topN-heightA-bottomN-ref.html?border_parent +== toauto-topA-heightN-bottomA.html?border_parent toauto-topA-heightN-bottomA-ref.html?border_parent +== toauto-topN-heightN-bottomA.html?border_parent toauto-topN-heightN-bottomA-ref.html?border_parent +== toauto-topA-heightN-bottomN.html?border_parent toauto-topA-heightN-bottomN-ref.html?border_parent +== toauto-topA-heightA-bottomN.html?border_parent toauto-topA-heightA-bottomN-ref.html?border_parent +== fromauto-topN-heightA-bottomA.html?border_parent topN-heightA-bottomA-ref.html?border_parent +== fromauto-topN-heightA-bottomN.html?border_parent topN-heightA-bottomN-ref.html?border_parent +== fromauto-topA-heightN-bottomA.html?border_parent topA-heightN-bottomA-ref.html?border_parent +== fromauto-topN-heightN-bottomA.html?border_parent topN-heightN-bottomA-ref.html?border_parent +== fromauto-topA-heightN-bottomN.html?border_parent topA-heightN-bottomN-ref.html?border_parent +== fromauto-topA-heightA-bottomN.html?border_parent topA-heightA-bottomN-ref.html?border_parent diff --git a/layout/reftests/position-dynamic-changes/vertical/reftest_margin_abspos.list b/layout/reftests/position-dynamic-changes/vertical/reftest_margin_abspos.list new file mode 100644 index 0000000..7325486 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/reftest_margin_abspos.list @@ -0,0 +1,20 @@ +# Please see the comment at the beginning of reftest.list + +== topN-heightA-bottomA.html?margin_abspos topN-heightA-bottomA-ref.html?margin_abspos +== topN-heightA-bottomN.html?margin_abspos topN-heightA-bottomN-ref.html?margin_abspos +== topA-heightN-bottomA.html?margin_abspos topA-heightN-bottomA-ref.html?margin_abspos +== topN-heightN-bottomA.html?margin_abspos topN-heightN-bottomA-ref.html?margin_abspos +== topA-heightN-bottomN.html?margin_abspos topA-heightN-bottomN-ref.html?margin_abspos +== topA-heightA-bottomN.html?margin_abspos topA-heightA-bottomN-ref.html?margin_abspos +== toauto-topN-heightA-bottomA.html?margin_abspos toauto-topN-heightA-bottomA-ref.html?margin_abspos +== toauto-topN-heightA-bottomN.html?margin_abspos toauto-topN-heightA-bottomN-ref.html?margin_abspos +== toauto-topA-heightN-bottomA.html?margin_abspos toauto-topA-heightN-bottomA-ref.html?margin_abspos +== toauto-topN-heightN-bottomA.html?margin_abspos toauto-topN-heightN-bottomA-ref.html?margin_abspos +== toauto-topA-heightN-bottomN.html?margin_abspos toauto-topA-heightN-bottomN-ref.html?margin_abspos +== toauto-topA-heightA-bottomN.html?margin_abspos toauto-topA-heightA-bottomN-ref.html?margin_abspos +== fromauto-topN-heightA-bottomA.html?margin_abspos topN-heightA-bottomA-ref.html?margin_abspos +== fromauto-topN-heightA-bottomN.html?margin_abspos topN-heightA-bottomN-ref.html?margin_abspos +== fromauto-topA-heightN-bottomA.html?margin_abspos topA-heightN-bottomA-ref.html?margin_abspos +== fromauto-topN-heightN-bottomA.html?margin_abspos topN-heightN-bottomA-ref.html?margin_abspos +== fromauto-topA-heightN-bottomN.html?margin_abspos topA-heightN-bottomN-ref.html?margin_abspos +== fromauto-topA-heightA-bottomN.html?margin_abspos topA-heightA-bottomN-ref.html?margin_abspos diff --git a/layout/reftests/position-dynamic-changes/vertical/reftest_margin_parent.list b/layout/reftests/position-dynamic-changes/vertical/reftest_margin_parent.list new file mode 100644 index 0000000..e1af174 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/reftest_margin_parent.list @@ -0,0 +1,20 @@ +# Please see the comment at the beginning of reftest.list + +== topN-heightA-bottomA.html?margin_parent topN-heightA-bottomA-ref.html?margin_parent +== topN-heightA-bottomN.html?margin_parent topN-heightA-bottomN-ref.html?margin_parent +== topA-heightN-bottomA.html?margin_parent topA-heightN-bottomA-ref.html?margin_parent +== topN-heightN-bottomA.html?margin_parent topN-heightN-bottomA-ref.html?margin_parent +== topA-heightN-bottomN.html?margin_parent topA-heightN-bottomN-ref.html?margin_parent +== topA-heightA-bottomN.html?margin_parent topA-heightA-bottomN-ref.html?margin_parent +== toauto-topN-heightA-bottomA.html?margin_parent toauto-topN-heightA-bottomA-ref.html?margin_parent +== toauto-topN-heightA-bottomN.html?margin_parent toauto-topN-heightA-bottomN-ref.html?margin_parent +== toauto-topA-heightN-bottomA.html?margin_parent toauto-topA-heightN-bottomA-ref.html?margin_parent +== toauto-topN-heightN-bottomA.html?margin_parent toauto-topN-heightN-bottomA-ref.html?margin_parent +== toauto-topA-heightN-bottomN.html?margin_parent toauto-topA-heightN-bottomN-ref.html?margin_parent +== toauto-topA-heightA-bottomN.html?margin_parent toauto-topA-heightA-bottomN-ref.html?margin_parent +== fromauto-topN-heightA-bottomA.html?margin_parent topN-heightA-bottomA-ref.html?margin_parent +== fromauto-topN-heightA-bottomN.html?margin_parent topN-heightA-bottomN-ref.html?margin_parent +== fromauto-topA-heightN-bottomA.html?margin_parent topA-heightN-bottomA-ref.html?margin_parent +== fromauto-topN-heightN-bottomA.html?margin_parent topN-heightN-bottomA-ref.html?margin_parent +== fromauto-topA-heightN-bottomN.html?margin_parent topA-heightN-bottomN-ref.html?margin_parent +== fromauto-topA-heightA-bottomN.html?margin_parent topA-heightA-bottomN-ref.html?margin_parent diff --git a/layout/reftests/position-dynamic-changes/vertical/reftest_padding_abspos.list b/layout/reftests/position-dynamic-changes/vertical/reftest_padding_abspos.list new file mode 100644 index 0000000..1b1bc58 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/reftest_padding_abspos.list @@ -0,0 +1,20 @@ +# Please see the comment at the beginning of reftest.list + +== topN-heightA-bottomA.html?padding_abspos topN-heightA-bottomA-ref.html?padding_abspos +== topN-heightA-bottomN.html?padding_abspos topN-heightA-bottomN-ref.html?padding_abspos +== topA-heightN-bottomA.html?padding_abspos topA-heightN-bottomA-ref.html?padding_abspos +== topN-heightN-bottomA.html?padding_abspos topN-heightN-bottomA-ref.html?padding_abspos +== topA-heightN-bottomN.html?padding_abspos topA-heightN-bottomN-ref.html?padding_abspos +== topA-heightA-bottomN.html?padding_abspos topA-heightA-bottomN-ref.html?padding_abspos +== toauto-topN-heightA-bottomA.html?padding_abspos toauto-topN-heightA-bottomA-ref.html?padding_abspos +== toauto-topN-heightA-bottomN.html?padding_abspos toauto-topN-heightA-bottomN-ref.html?padding_abspos +== toauto-topA-heightN-bottomA.html?padding_abspos toauto-topA-heightN-bottomA-ref.html?padding_abspos +== toauto-topN-heightN-bottomA.html?padding_abspos toauto-topN-heightN-bottomA-ref.html?padding_abspos +== toauto-topA-heightN-bottomN.html?padding_abspos toauto-topA-heightN-bottomN-ref.html?padding_abspos +== toauto-topA-heightA-bottomN.html?padding_abspos toauto-topA-heightA-bottomN-ref.html?padding_abspos +== fromauto-topN-heightA-bottomA.html?padding_abspos topN-heightA-bottomA-ref.html?padding_abspos +== fromauto-topN-heightA-bottomN.html?padding_abspos topN-heightA-bottomN-ref.html?padding_abspos +== fromauto-topA-heightN-bottomA.html?padding_abspos topA-heightN-bottomA-ref.html?padding_abspos +== fromauto-topN-heightN-bottomA.html?padding_abspos topN-heightN-bottomA-ref.html?padding_abspos +== fromauto-topA-heightN-bottomN.html?padding_abspos topA-heightN-bottomN-ref.html?padding_abspos +== fromauto-topA-heightA-bottomN.html?padding_abspos topA-heightA-bottomN-ref.html?padding_abspos diff --git a/layout/reftests/position-dynamic-changes/vertical/reftest_padding_parent.list b/layout/reftests/position-dynamic-changes/vertical/reftest_padding_parent.list new file mode 100644 index 0000000..41ae599 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/reftest_padding_parent.list @@ -0,0 +1,20 @@ +# Please see the comment at the beginning of reftest.list + +== topN-heightA-bottomA.html?padding_parent topN-heightA-bottomA-ref.html?padding_parent +== topN-heightA-bottomN.html?padding_parent topN-heightA-bottomN-ref.html?padding_parent +== topA-heightN-bottomA.html?padding_parent topA-heightN-bottomA-ref.html?padding_parent +== topN-heightN-bottomA.html?padding_parent topN-heightN-bottomA-ref.html?padding_parent +== topA-heightN-bottomN.html?padding_parent topA-heightN-bottomN-ref.html?padding_parent +== topA-heightA-bottomN.html?padding_parent topA-heightA-bottomN-ref.html?padding_parent +== toauto-topN-heightA-bottomA.html?padding_parent toauto-topN-heightA-bottomA-ref.html?padding_parent +== toauto-topN-heightA-bottomN.html?padding_parent toauto-topN-heightA-bottomN-ref.html?padding_parent +== toauto-topA-heightN-bottomA.html?padding_parent toauto-topA-heightN-bottomA-ref.html?padding_parent +== toauto-topN-heightN-bottomA.html?padding_parent toauto-topN-heightN-bottomA-ref.html?padding_parent +== toauto-topA-heightN-bottomN.html?padding_parent toauto-topA-heightN-bottomN-ref.html?padding_parent +== toauto-topA-heightA-bottomN.html?padding_parent toauto-topA-heightA-bottomN-ref.html?padding_parent +== fromauto-topN-heightA-bottomA.html?padding_parent topN-heightA-bottomA-ref.html?padding_parent +== fromauto-topN-heightA-bottomN.html?padding_parent topN-heightA-bottomN-ref.html?padding_parent +== fromauto-topA-heightN-bottomA.html?padding_parent topA-heightN-bottomA-ref.html?padding_parent +== fromauto-topN-heightN-bottomA.html?padding_parent topN-heightN-bottomA-ref.html?padding_parent +== fromauto-topA-heightN-bottomN.html?padding_parent topA-heightN-bottomN-ref.html?padding_parent +== fromauto-topA-heightA-bottomN.html?padding_parent topA-heightA-bottomN-ref.html?padding_parent diff --git a/layout/reftests/position-dynamic-changes/vertical/reftest_plain.list b/layout/reftests/position-dynamic-changes/vertical/reftest_plain.list new file mode 100644 index 0000000..2e760ef --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/reftest_plain.list @@ -0,0 +1,20 @@ +# Please see the comment at the beginning of reftest.list + +== 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/style.css b/layout/reftests/position-dynamic-changes/vertical/style.css new file mode 100644 index 0000000..f546e60 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/style.css @@ -0,0 +1,19 @@ +#parent { + position: relative; + width: 400px; + height: 400px; + background: red; + border: 0 solid black; +} +#child { + position: absolute; + width: 100px; + left: 100px; + background: blue; + border: 0 solid black; +} +.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..77f3a35 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightA-bottomN-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..defcaaf --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightA-bottomN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..77f3a35 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomA-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..713103f --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..3ac9c1b --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomN-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..6a7dfd2 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topA-heightN-bottomN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..77f3a35 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomA-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..e590f86 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..dcd0e37 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomN-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..ad4e3e8 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightA-bottomN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..3ac9c1b --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightN-bottomA-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..56f1621 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/toauto-topN-heightN-bottomA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..75f7f20 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightA-bottomN-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..d7e854a --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightA-bottomN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..1513ea8 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomA-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..38a5063 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..054f968 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomN-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..832d77a --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topA-heightN-bottomN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..bcec5c9 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomA-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..ca943c2 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..13417a7 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomN-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..2200c46 --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightA-bottomN.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + 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..8e2ef7b --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightN-bottomA-ref.html @@ -0,0 +1,15 @@ + + + + + + + +
+
+
+
+
+
+ + 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..73ae72d --- /dev/null +++ b/layout/reftests/position-dynamic-changes/vertical/topN-heightN-bottomA.html @@ -0,0 +1,19 @@ + + + + + + + + +
+
+
+
+
+
+ + + diff --git a/layout/reftests/reftest.list b/layout/reftests/reftest.list index 21aa334..80cc9a9 100644 --- a/layout/reftests/reftest.list +++ b/layout/reftests/reftest.list @@ -227,6 +227,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