summaryrefslogtreecommitdiffstats
path: root/layout/reftests/percent-overflow-sizing
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /layout/reftests/percent-overflow-sizing
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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.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
32 files changed, 211 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 0000000000..9ae00827dd
--- /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 0000000000..7e0418f6b4
--- /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 0000000000..fc44641112
--- /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 0000000000..0e38d16aba
--- /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 0000000000..dd2288a02b
--- /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 0000000000..0aa7777272
--- /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 0000000000..dd2288a02b
--- /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 0000000000..bf5456be9b
--- /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 0000000000..58e9327742
--- /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 0000000000..e349c0edc9
--- /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 0000000000..649a47b410
--- /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 0000000000..913ae6f405
--- /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 0000000000..0135bcca81
--- /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 0000000000..897fda8429
--- /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 0000000000..2c20eccc81
--- /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 0000000000..7ad01a7b20
--- /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 0000000000..626fbe7b50
--- /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 0000000000..76b1e6ca52
--- /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 0000000000..91bfd1e35a
--- /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 0000000000..b74a38c303
--- /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 0000000000..2c6833fe33
--- /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 0000000000..2a2539429f
--- /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 0000000000..a4939e9021
--- /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 0000000000..c48bbb72a9
--- /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 0000000000..5b369b3fb6
--- /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.list b/layout/reftests/percent-overflow-sizing/reftest.list
new file mode 100644
index 0000000000..937f0f00da
--- /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 0000000000..dcbd1709ed
--- /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 0000000000..59342917f3
--- /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 0000000000..789dbb635b
--- /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 0000000000..b22a101ce4
--- /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 0000000000..e4e1f492a0
--- /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 0000000000..f79a59c05d
--- /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>