Add reftests for text-shadow and box-shadow not causing scrollable overflow. (Bug 542595, patch 24) (for bug 446693) a2.0=blocking2.0:beta8
authorL. David Baron <dbaron@dbaron.org>
Wed, 06 Oct 2010 21:25:47 -0700
changeset 55044 58e3696a0dad5751054e4e6c5fec4375373f0c6e
parent 55043 b492a3d8bc1c93aadbd3a6080216222c33d14f23
child 55045 74a0c9dba31781700c1e3d1c2dd1d1561529272f
push id16120
push userdbaron@mozilla.com
push dateThu, 07 Oct 2010 04:26:21 +0000
treeherdermozilla-central@1aab37daf3bc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs542595, 446693
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Add reftests for text-shadow and box-shadow not causing scrollable overflow. (Bug 542595, patch 24) (for bug 446693) a2.0=blocking2.0:beta8
layout/reftests/box-shadow/overflow-not-scrollable-1-ref.html
layout/reftests/box-shadow/overflow-not-scrollable-1-ref2.html
layout/reftests/box-shadow/overflow-not-scrollable-1.html
layout/reftests/box-shadow/overflow-not-scrollable-2-ref.html
layout/reftests/box-shadow/overflow-not-scrollable-2.html
layout/reftests/box-shadow/reftest.list
layout/reftests/text-shadow/overflow-not-scrollable-1-ref.html
layout/reftests/text-shadow/overflow-not-scrollable-1-ref2.html
layout/reftests/text-shadow/overflow-not-scrollable-1.html
layout/reftests/text-shadow/overflow-not-scrollable-2-ref.html
layout/reftests/text-shadow/overflow-not-scrollable-2.html
layout/reftests/text-shadow/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/box-shadow/overflow-not-scrollable-1-ref.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<style type="text/css">
+
+div {
+  height: 200px; width: 200px; overflow: hidden;
+  font-size: 50px;
+}
+span {
+  box-shadow: 210px 210px 2px gray;
+
+  /* work around potential font overflow */
+  margin-left: 5px;
+}
+
+</style>
+<div>
+<span>text</span>
+</div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/box-shadow/overflow-not-scrollable-1-ref2.html
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML>
+<style type="text/css">
+
+div {
+  height: 200px; width: 200px;
+  font-size: 50px;
+}
+
+span {
+  /* work around potential font overflow */
+  margin-left: 5px;
+}
+
+</style>
+<div>
+<span>text</span>
+</div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/box-shadow/overflow-not-scrollable-1.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<style type="text/css">
+
+div {
+  height: 200px; width: 200px; overflow: auto;
+  font-size: 50px;
+}
+span {
+  box-shadow: 210px 210px 2px gray;
+
+  /* work around potential font overflow */
+  margin-left: 5px;
+}
+
+</style>
+<div>
+<span>text</span>
+</div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/box-shadow/overflow-not-scrollable-2-ref.html
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML>
+<style type="text/css">
+
+div {
+  height: 200px; width: 200px; overflow: hidden;
+  font-size: 50px;
+  font-weight: bold;
+}
+span {
+  box-shadow: 100px 100px 30px black;
+
+  /* work around potential font overflow */
+  margin-left: 5px;
+}
+
+</style>
+<div>
+<span>text</span>
+</div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/box-shadow/overflow-not-scrollable-2.html
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML>
+<style type="text/css">
+
+div {
+  height: 200px; width: 200px; overflow: auto;
+  font-size: 50px;
+  font-weight: bold;
+}
+span {
+  box-shadow: 100px 100px 30px black;
+
+  /* work around potential font overflow */
+  margin-left: 5px;
+}
+
+</style>
+<div>
+<span>text</span>
+</div>
--- a/layout/reftests/box-shadow/reftest.list
+++ b/layout/reftests/box-shadow/reftest.list
@@ -12,8 +12,12 @@
 == boxshadow-button.html boxshadow-button-ref.html
 == boxshadow-fileupload.html boxshadow-fileupload-ref.html
 == boxshadow-inner-basic.html boxshadow-inner-basic-ref.svg
 random-if(layersGPUAccelerated) == boxshadow-mixed.html boxshadow-mixed-ref.html
 random-if(d2d) == boxshadow-rounded-spread.html boxshadow-rounded-spread-ref.html
 HTTP(..) == boxshadow-dynamic.xul boxshadow-dynamic-ref.xul
 random-if(d2d) == boxshadow-onecorner.html boxshadow-onecorner-ref.html
 == boxshadow-skiprect.html boxshadow-skiprect-ref.html
+
+== overflow-not-scrollable-1.html overflow-not-scrollable-1-ref.html
+== overflow-not-scrollable-1.html overflow-not-scrollable-1-ref2.html
+== overflow-not-scrollable-2.html overflow-not-scrollable-2-ref.html
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-shadow/overflow-not-scrollable-1-ref.html
@@ -0,0 +1,16 @@
+<!DOCTYPE HTML>
+<style type="text/css">
+
+div {
+  height: 200px; width: 200px; overflow: hidden;
+  text-shadow: 210px 210px 2px gray;
+  font-size: 50px;
+}
+
+/* work around potential font overflow */
+span { margin-left: 5px }
+
+</style>
+<div>
+<span>text</span>
+</div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-shadow/overflow-not-scrollable-1-ref2.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<style type="text/css">
+
+div {
+  height: 200px; width: 200px;
+  font-size: 50px;
+}
+
+/* work around potential font overflow */
+span { margin-left: 5px }
+
+</style>
+<div>
+<span>text</span>
+</div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-shadow/overflow-not-scrollable-1.html
@@ -0,0 +1,16 @@
+<!DOCTYPE HTML>
+<style type="text/css">
+
+div {
+  height: 200px; width: 200px; overflow: auto;
+  text-shadow: 210px 210px 2px gray;
+  font-size: 50px;
+}
+
+/* work around potential font overflow */
+span { margin-left: 5px }
+
+</style>
+<div>
+<span>text</span>
+</div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-shadow/overflow-not-scrollable-2-ref.html
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML>
+<style type="text/css">
+
+div {
+  height: 200px; width: 200px; overflow: hidden;
+  text-shadow: 100px 100px 30px black;
+  font-size: 50px;
+  font-weight: bold;
+}
+
+/* work around potential font overflow */
+span { margin-left: 5px }
+
+</style>
+<div>
+<span>text</span>
+</div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-shadow/overflow-not-scrollable-2.html
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML>
+<style type="text/css">
+
+div {
+  height: 200px; width: 200px; overflow: auto;
+  text-shadow: 100px 100px 30px black;
+  font-size: 50px;
+  font-weight: bold;
+}
+
+/* work around potential font overflow */
+span { margin-left: 5px }
+
+</style>
+<div>
+<span>text</span>
+</div>
--- a/layout/reftests/text-shadow/reftest.list
+++ b/layout/reftests/text-shadow/reftest.list
@@ -12,8 +12,11 @@
 == decorations-multiple-zorder.html decorations-multiple-zorder-ref.html
 == multiple-noblur.html multiple-noblur-ref.html
 == quirks-decor-noblur.html quirks-decor-noblur-ref.html
 == standards-decor-noblur.html standards-decor-noblur-ref.html
 == padding-decoration.html padding-decoration-ref.html
 == textindent.html textindent-ref.html
 == lineoverflow.html lineoverflow-ref.html
 
+== overflow-not-scrollable-1.html overflow-not-scrollable-1-ref.html
+== overflow-not-scrollable-1.html overflow-not-scrollable-1-ref2.html
+== overflow-not-scrollable-2.html overflow-not-scrollable-2-ref.html