summaryrefslogtreecommitdiffstats
path: root/layout/reftests/percent-overflow-sizing
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/percent-overflow-sizing
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/percent-overflow-sizing')
-rw-r--r--layout/reftests/percent-overflow-sizing/dynamicHeight100-ref.html7
-rw-r--r--layout/reftests/percent-overflow-sizing/dynamicHeight100.html7
-rw-r--r--layout/reftests/percent-overflow-sizing/greenbox.html1
-rw-r--r--layout/reftests/percent-overflow-sizing/greenboxhbar.html2
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollAbsHeight.html5
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollAbsHeightD.html6
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollAbsHeightQuirks.html5
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollAbsHeightQuirksD.html5
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollAbsMinHeightD.html6
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollAbsMinHeightQuirksD.html5
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollSimpleHeight.html5
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollSimpleHeightD.html6
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-1.html4
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-1D.html5
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-2.html6
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-2D.html7
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-3.html8
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-3D.html9
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollSimpleMinHeightD.html6
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollSimpleMinHeightQuirks-1D.html5
-rw-r--r--layout/reftests/percent-overflow-sizing/hScrollSimpleMinHeightQuirks-3D.html9
-rw-r--r--layout/reftests/percent-overflow-sizing/nestedHeight-ref.html8
-rw-r--r--layout/reftests/percent-overflow-sizing/nestedHeight.html8
-rw-r--r--layout/reftests/percent-overflow-sizing/nestedHeightQuirks-ref.html8
-rw-r--r--layout/reftests/percent-overflow-sizing/nestedHeightQuirks.html8
-rw-r--r--layout/reftests/percent-overflow-sizing/reftest-stylo.list76
-rw-r--r--layout/reftests/percent-overflow-sizing/reftest.list26
-rw-r--r--layout/reftests/percent-overflow-sizing/simpleAbsHeight.html5
-rw-r--r--layout/reftests/percent-overflow-sizing/simpleAbsHeightD.html6
-rw-r--r--layout/reftests/percent-overflow-sizing/simpleAbsMinHeightD.html6
-rw-r--r--layout/reftests/percent-overflow-sizing/simpleHeight100.html5
-rw-r--r--layout/reftests/percent-overflow-sizing/simpleHeight100D.html6
-rw-r--r--layout/reftests/percent-overflow-sizing/simpleMinHeight100D.html6
33 files changed, 287 insertions, 0 deletions
diff --git a/layout/reftests/percent-overflow-sizing/dynamicHeight100-ref.html b/layout/reftests/percent-overflow-sizing/dynamicHeight100-ref.html
new file mode 100644
index 000000000..9ae00827d
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/dynamicHeight100-ref.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<body>
+<div id="a" style="overflow:auto; width:200px">
+<div style="background: green; height:100%">
+</div>
+</div>
+</body>
diff --git a/layout/reftests/percent-overflow-sizing/dynamicHeight100.html b/layout/reftests/percent-overflow-sizing/dynamicHeight100.html
new file mode 100644
index 000000000..7e0418f6b
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/dynamicHeight100.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<body onload="document.getElementById('a').style.removeProperty('height');">
+<div id="a" style="overflow:auto; height:200px; width:200px">
+<div style="background: green; height:100%">
+</div>
+</div>
+</body>
diff --git a/layout/reftests/percent-overflow-sizing/greenbox.html b/layout/reftests/percent-overflow-sizing/greenbox.html
new file mode 100644
index 000000000..fc4464111
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/greenbox.html
@@ -0,0 +1 @@
+<div style="height:200px;width:200px; background:green">
diff --git a/layout/reftests/percent-overflow-sizing/greenboxhbar.html b/layout/reftests/percent-overflow-sizing/greenboxhbar.html
new file mode 100644
index 000000000..0e38d16ab
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/greenboxhbar.html
@@ -0,0 +1,2 @@
+<div style="overflow:auto; background:green; height:200px; width:200px">
+<div style="width:300px; height:1px">
diff --git a/layout/reftests/percent-overflow-sizing/hScrollAbsHeight.html b/layout/reftests/percent-overflow-sizing/hScrollAbsHeight.html
new file mode 100644
index 000000000..dd2288a02
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollAbsHeight.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<div style="overflow:auto; width:200px; position:absolute; height:200px;">
+<div style="position:absolute; width:300px; height:100%; background:green">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/hScrollAbsHeightD.html b/layout/reftests/percent-overflow-sizing/hScrollAbsHeightD.html
new file mode 100644
index 000000000..0aa777727
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollAbsHeightD.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<body onload="document.getElementById('a').style.height='100%';">
+<div style="overflow:auto; width:200px; position:absolute; height:200px;">
+<div id=a style="position:absolute; width:300px; background:green">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/hScrollAbsHeightQuirks.html b/layout/reftests/percent-overflow-sizing/hScrollAbsHeightQuirks.html
new file mode 100644
index 000000000..dd2288a02
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollAbsHeightQuirks.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<div style="overflow:auto; width:200px; position:absolute; height:200px;">
+<div style="position:absolute; width:300px; height:100%; background:green">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/hScrollAbsHeightQuirksD.html b/layout/reftests/percent-overflow-sizing/hScrollAbsHeightQuirksD.html
new file mode 100644
index 000000000..bf5456be9
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollAbsHeightQuirksD.html
@@ -0,0 +1,5 @@
+<body onload="document.getElementById('a').style.height='100%';">
+<div style="overflow:auto; width:200px; position:absolute; height:200px;">
+<div id=a style="position:absolute; width:300px; background:green">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/hScrollAbsMinHeightD.html b/layout/reftests/percent-overflow-sizing/hScrollAbsMinHeightD.html
new file mode 100644
index 000000000..58e932774
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollAbsMinHeightD.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<body onload="document.getElementById('a').style.minHeight='100%';">
+<div style="overflow:auto; width:200px; position:absolute; height:200px;">
+<div id=a style="position:absolute; width:300px; background:green">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/hScrollAbsMinHeightQuirksD.html b/layout/reftests/percent-overflow-sizing/hScrollAbsMinHeightQuirksD.html
new file mode 100644
index 000000000..e349c0edc
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollAbsMinHeightQuirksD.html
@@ -0,0 +1,5 @@
+<body onload="document.getElementById('a').style.minHeight='100%';">
+<div style="overflow:auto; width:200px; position:absolute; height:200px;">
+<div id=a style="position:absolute; width:300px; background:green">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/hScrollSimpleHeight.html b/layout/reftests/percent-overflow-sizing/hScrollSimpleHeight.html
new file mode 100644
index 000000000..649a47b41
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollSimpleHeight.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<div style="overflow:auto; width:200px; height:200px;">
+<div style="width:300px; height:100%; background:green">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightD.html b/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightD.html
new file mode 100644
index 000000000..913ae6f40
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightD.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<body onload="document.getElementById('a').style.height='100%';">
+<div style="overflow:auto; width:200px; height:200px;">
+<div id=a style="width:300px; background:green">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-1.html b/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-1.html
new file mode 100644
index 000000000..0135bcca8
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-1.html
@@ -0,0 +1,4 @@
+<div style="overflow:auto; width:200px; height:200px;">
+<div style="width:300px; height:100%; background:green">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-1D.html b/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-1D.html
new file mode 100644
index 000000000..897fda842
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-1D.html
@@ -0,0 +1,5 @@
+<body onload="document.getElementById('a').style.height='100%';">
+<div style="overflow:auto; width:200px; height:200px;">
+<div id=a style="width:300px; background:green">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-2.html b/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-2.html
new file mode 100644
index 000000000..2c20eccc8
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-2.html
@@ -0,0 +1,6 @@
+<div style="overflow:auto; width:200px; height:200px;">
+<div>
+<div style="width:300px; height:100%; background:green">
+</div>
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-2D.html b/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-2D.html
new file mode 100644
index 000000000..7ad01a7b2
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-2D.html
@@ -0,0 +1,7 @@
+<body onload="document.getElementById('a').style.height='100%';">
+<div style="overflow:auto; width:200px; height:200px;">
+<div>
+<div id=a style="width:300px; background:green">
+</div>
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-3.html b/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-3.html
new file mode 100644
index 000000000..626fbe7b5
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-3.html
@@ -0,0 +1,8 @@
+<div style="width:200px; height:200px; overflow:auto">
+<div>
+<table cellspacing=0 cellpadding=0 border=0 height="100%"><tr><td>
+<div style="width:300px; height:100%; background:green"><div style="height:1px"><!--Workaround for unrelated table bug--></div>
+</div>
+</table>
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-3D.html b/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-3D.html
new file mode 100644
index 000000000..76b1e6ca5
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollSimpleHeightQuirks-3D.html
@@ -0,0 +1,9 @@
+<body onload="document.getElementById('a').style.height='100%';">
+<div style="width:200px; height:200px; overflow:auto">
+<div>
+<table id=a cellspacing=0 cellpadding=0 border=0 height="100%"><tr><td>
+<div style="width:300px; background:green; height:100%"><div style="height:1px"><!--Workaround for unrelated table bug--></div>
+</div>
+</table>
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/hScrollSimpleMinHeightD.html b/layout/reftests/percent-overflow-sizing/hScrollSimpleMinHeightD.html
new file mode 100644
index 000000000..91bfd1e35
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollSimpleMinHeightD.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<body onload="document.getElementById('a').style.minHeight='100%';">
+<div style="overflow:auto; width:200px; height:200px;">
+<div id=a style="width:300px; background:green">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/hScrollSimpleMinHeightQuirks-1D.html b/layout/reftests/percent-overflow-sizing/hScrollSimpleMinHeightQuirks-1D.html
new file mode 100644
index 000000000..b74a38c30
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollSimpleMinHeightQuirks-1D.html
@@ -0,0 +1,5 @@
+<body onload="document.getElementById('a').style.minHeight='100%';">
+<div style="overflow:auto; width:200px; height:200px;">
+<div id=a style="width:300px; background:green">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/hScrollSimpleMinHeightQuirks-3D.html b/layout/reftests/percent-overflow-sizing/hScrollSimpleMinHeightQuirks-3D.html
new file mode 100644
index 000000000..2c6833fe3
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/hScrollSimpleMinHeightQuirks-3D.html
@@ -0,0 +1,9 @@
+<body onload="document.getElementById('a').style.minHeight='100%';">
+<div style="width:200px; height:200px; overflow:auto">
+<div>
+<table id=a cellspacing=0 cellpadding=0 border=0 height="100%"><tr><td>
+<div style="width:300px; background:green; height:100%"><div style="height:1px"><!--Workaround for unrelated table bug--></div>
+</div>
+</table>
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/nestedHeight-ref.html b/layout/reftests/percent-overflow-sizing/nestedHeight-ref.html
new file mode 100644
index 000000000..2a2539429
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/nestedHeight-ref.html
@@ -0,0 +1,8 @@
+<!DOCTYPE HTML>
+<body>
+<div id="a" style="overflow:auto; width:200px">
+ <div style="overflow:auto">
+ <div style="background: green; height:100%"></div>
+ </div>
+</div>
+</body>
diff --git a/layout/reftests/percent-overflow-sizing/nestedHeight.html b/layout/reftests/percent-overflow-sizing/nestedHeight.html
new file mode 100644
index 000000000..a4939e902
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/nestedHeight.html
@@ -0,0 +1,8 @@
+<!DOCTYPE HTML>
+<body onload="document.getElementById('a').style.removeProperty('height');">
+<div id="a" style="overflow:auto; height:200px; width:200px">
+ <div style="overflow:auto">
+ <div style="background: green; height:100%"></div>
+ </div>
+</div>
+</body>
diff --git a/layout/reftests/percent-overflow-sizing/nestedHeightQuirks-ref.html b/layout/reftests/percent-overflow-sizing/nestedHeightQuirks-ref.html
new file mode 100644
index 000000000..c48bbb72a
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/nestedHeightQuirks-ref.html
@@ -0,0 +1,8 @@
+<!-- Quirks mode -->
+<body>
+<div id="a" style="overflow:auto; width:200px">
+ <div style="overflow:auto">
+ <div style="background: green; height:100%"></div>
+ </div>
+</div>
+</body>
diff --git a/layout/reftests/percent-overflow-sizing/nestedHeightQuirks.html b/layout/reftests/percent-overflow-sizing/nestedHeightQuirks.html
new file mode 100644
index 000000000..5b369b3fb
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/nestedHeightQuirks.html
@@ -0,0 +1,8 @@
+<!-- Quirks mode -->
+<body onload="document.getElementById('a').style.removeProperty('height');">
+<div id="a" style="overflow:auto; height:200px; width:200px">
+ <div style="overflow:auto">
+ <div style="background: green; height:100%"></div>
+ </div>
+</div>
+</body>
diff --git a/layout/reftests/percent-overflow-sizing/reftest-stylo.list b/layout/reftests/percent-overflow-sizing/reftest-stylo.list
new file mode 100644
index 000000000..0d1e6a586
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/reftest-stylo.list
@@ -0,0 +1,76 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+== simpleHeight100.html simpleHeight100.html
+== simpleAbsHeight.html simpleAbsHeight.html
+skip-if(B2G||Mulet) random-if(transparentScrollbars) == hScrollSimpleHeight.html hScrollSimpleHeight.html
+# bug 650591
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+skip-if(B2G||Mulet) random-if(transparentScrollbars) == hScrollSimpleHeightQuirks-1.html hScrollSimpleHeightQuirks-1.html
+# bug 650591
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+skip-if(B2G||Mulet) random-if(transparentScrollbars) == hScrollSimpleHeightQuirks-2.html hScrollSimpleHeightQuirks-2.html
+# bug 650591
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+skip-if(B2G||Mulet) random-if(transparentScrollbars) == hScrollSimpleHeightQuirks-3.html hScrollSimpleHeightQuirks-3.html
+# bug 650591
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+skip-if(B2G||Mulet) random-if(transparentScrollbars) == hScrollAbsHeight.html hScrollAbsHeight.html
+# bug 650591
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+skip-if(B2G||Mulet) random-if(transparentScrollbars) == hScrollAbsHeightQuirks.html hScrollAbsHeightQuirks.html
+# bug 650591
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+== simpleHeight100D.html simpleHeight100D.html
+== simpleAbsHeightD.html simpleAbsHeightD.html
+skip-if(B2G||Mulet) random-if(transparentScrollbars) == hScrollSimpleHeightD.html hScrollSimpleHeightD.html
+# bug 650591
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+skip-if(B2G||Mulet) random-if(transparentScrollbars) == hScrollSimpleHeightQuirks-1D.html hScrollSimpleHeightQuirks-1D.html
+# bug 650591
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+skip-if(B2G||Mulet) random-if(transparentScrollbars) == hScrollSimpleHeightQuirks-2D.html hScrollSimpleHeightQuirks-2D.html
+# bug 650591
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+random-if(transparentScrollbars) fuzzy-if(B2G,1,11) == hScrollSimpleHeightQuirks-3D.html hScrollSimpleHeightQuirks-3D.html
+# bug 650591, 1136304
+skip-if(B2G||Mulet) random-if(transparentScrollbars) == hScrollAbsHeightD.html hScrollAbsHeightD.html
+# bug 650591
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+skip-if(B2G||Mulet) random-if(transparentScrollbars) == hScrollAbsHeightQuirksD.html hScrollAbsHeightQuirksD.html
+# bug 650591
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+== simpleMinHeight100D.html simpleMinHeight100D.html
+== simpleAbsMinHeightD.html simpleAbsMinHeightD.html
+skip-if(B2G||Mulet) random-if(transparentScrollbars) == hScrollSimpleMinHeightD.html hScrollSimpleMinHeightD.html
+# bug 650591
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+skip-if(B2G||Mulet) random-if(transparentScrollbars) == hScrollSimpleMinHeightQuirks-1D.html hScrollSimpleMinHeightQuirks-1D.html
+# bug 650591
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+skip skip-if(B2G||Mulet) random-if(transparentScrollbars) == hScrollSimpleMinHeightQuirks-3D.html hScrollSimpleMinHeightQuirks-3D.html
+# bug 650591
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+skip-if(B2G||Mulet) random-if(transparentScrollbars) == hScrollAbsMinHeightD.html hScrollAbsMinHeightD.html
+# bug 650591
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+skip-if(B2G||Mulet) random-if(transparentScrollbars) == hScrollAbsMinHeightQuirksD.html hScrollAbsMinHeightQuirksD.html
+# bug 650591
+# bug 773482
+# Initial mulet triage: parity with B2G/B2G Desktop
+== dynamicHeight100.html dynamicHeight100.html
+== nestedHeight.html nestedHeight.html
+== nestedHeightQuirks.html nestedHeightQuirks.html
diff --git a/layout/reftests/percent-overflow-sizing/reftest.list b/layout/reftests/percent-overflow-sizing/reftest.list
new file mode 100644
index 000000000..937f0f00d
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/reftest.list
@@ -0,0 +1,26 @@
+== simpleHeight100.html greenbox.html
+== simpleAbsHeight.html greenbox.html
+random-if(transparentScrollbars) == hScrollSimpleHeight.html greenboxhbar.html # bug 650591
+random-if(transparentScrollbars) == hScrollSimpleHeightQuirks-1.html greenboxhbar.html # bug 650591
+random-if(transparentScrollbars) == hScrollSimpleHeightQuirks-2.html greenboxhbar.html # bug 650591
+random-if(transparentScrollbars) == hScrollSimpleHeightQuirks-3.html greenboxhbar.html # bug 650591
+random-if(transparentScrollbars) == hScrollAbsHeight.html greenboxhbar.html # bug 650591
+random-if(transparentScrollbars) == hScrollAbsHeightQuirks.html greenboxhbar.html # bug 650591
+== simpleHeight100D.html greenbox.html
+== simpleAbsHeightD.html greenbox.html
+random-if(transparentScrollbars) == hScrollSimpleHeightD.html greenboxhbar.html # bug 650591
+random-if(transparentScrollbars) == hScrollSimpleHeightQuirks-1D.html greenboxhbar.html # bug 650591
+random-if(transparentScrollbars) == hScrollSimpleHeightQuirks-2D.html greenboxhbar.html # bug 650591
+random-if(transparentScrollbars) == hScrollSimpleHeightQuirks-3D.html greenboxhbar.html # bug 650591
+random-if(transparentScrollbars) == hScrollAbsHeightD.html greenboxhbar.html # bug 650591
+random-if(transparentScrollbars) == hScrollAbsHeightQuirksD.html greenboxhbar.html # bug 650591
+== simpleMinHeight100D.html greenbox.html
+== simpleAbsMinHeightD.html greenbox.html
+random-if(transparentScrollbars) == hScrollSimpleMinHeightD.html greenboxhbar.html # bug 650591
+random-if(transparentScrollbars) == hScrollSimpleMinHeightQuirks-1D.html greenboxhbar.html # bug 650591
+random-if(transparentScrollbars) == hScrollSimpleMinHeightQuirks-3D.html greenboxhbar.html # bug 650591
+random-if(transparentScrollbars) == hScrollAbsMinHeightD.html greenboxhbar.html # bug 650591
+random-if(transparentScrollbars) == hScrollAbsMinHeightQuirksD.html greenboxhbar.html # bug 650591
+== dynamicHeight100.html dynamicHeight100-ref.html
+== nestedHeight.html nestedHeight-ref.html
+== nestedHeightQuirks.html nestedHeightQuirks-ref.html
diff --git a/layout/reftests/percent-overflow-sizing/simpleAbsHeight.html b/layout/reftests/percent-overflow-sizing/simpleAbsHeight.html
new file mode 100644
index 000000000..dcbd1709e
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/simpleAbsHeight.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<div style="overflow:auto; height:200px; width:200px; position:relative">
+<div style="background: green; height:100%; width:100%; position:absolute">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/simpleAbsHeightD.html b/layout/reftests/percent-overflow-sizing/simpleAbsHeightD.html
new file mode 100644
index 000000000..59342917f
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/simpleAbsHeightD.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<body onload="document.getElementById('a').style.height='100%';">
+<div style="overflow:auto; height:200px; width:200px; position:relative">
+<div id=a style="background: green; width:100%; position:absolute">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/simpleAbsMinHeightD.html b/layout/reftests/percent-overflow-sizing/simpleAbsMinHeightD.html
new file mode 100644
index 000000000..789dbb635
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/simpleAbsMinHeightD.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<body onload="document.getElementById('a').style.minHeight='100%'">
+<div style="overflow:auto; height:200px; width:200px; position:relative">
+<div id=a style="background: green; min-width:100%; position:absolute">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/simpleHeight100.html b/layout/reftests/percent-overflow-sizing/simpleHeight100.html
new file mode 100644
index 000000000..b22a101ce
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/simpleHeight100.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<div style="overflow:auto; height:200px; width:200px">
+<div style="background: green; height:100%">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/simpleHeight100D.html b/layout/reftests/percent-overflow-sizing/simpleHeight100D.html
new file mode 100644
index 000000000..e4e1f492a
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/simpleHeight100D.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<body onload="document.getElementById('a').style.height='100%';">
+<div style="overflow:auto; height:200px; width:200px">
+<div id=a style="background: green;">
+</div>
+</div>
diff --git a/layout/reftests/percent-overflow-sizing/simpleMinHeight100D.html b/layout/reftests/percent-overflow-sizing/simpleMinHeight100D.html
new file mode 100644
index 000000000..f79a59c05
--- /dev/null
+++ b/layout/reftests/percent-overflow-sizing/simpleMinHeight100D.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<body onload="document.getElementById('a').style.minHeight='100%';">
+<div style="overflow:auto; height:200px; width:200px">
+<div id=a style="background: green;">
+</div>
+</div>