Bug 480888 patch 5: Add tests that should catch the regression across platforms that was previously caught only by a reftest on Android.
authorL. David Baron <dbaron@dbaron.org>
Mon, 17 Feb 2014 20:07:46 -0800
changeset 169221 beff43e0a138794ad463c6447dd327f240d5428c
parent 169220 83a2b19f7492fd07b0aa133bca65b0e91c54f49d
child 169222 bcba561c4e53872d39c874892723cde1526be891
push idunknown
push userunknown
push dateunknown
bugs480888, 709014
milestone30.0a1
Bug 480888 patch 5: Add tests that should catch the regression across platforms that was previously caught only by a reftest on Android. The outline-overflow-inline-block-* tests fail, as expected, with the aOverflowOverride parameter to UnionBorderBoxes always changed to null. Note that the outline-overflow-inline-block-* tests depend on the fix for bug 709014.
layout/reftests/outline/outline-overflow-block-abspos.html
layout/reftests/outline/outline-overflow-block-float.html
layout/reftests/outline/outline-overflow-block-ref.html
layout/reftests/outline/outline-overflow-inlineblock-abspos.html
layout/reftests/outline/outline-overflow-inlineblock-float.html
layout/reftests/outline/outline-overflow-inlineblock-ref.html
layout/reftests/outline/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/outline/outline-overflow-block-abspos.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<title>outline goes around overflow, floats</title>
+<style>
+
+html, body { margin: 0; padding: 0; border: none }
+html { overflow:hidden /* avoid second reflow for scrollbars */ }
+
+body > div { margin: 100px; outline: 2px solid blue; position: relative }
+
+body > div > div { position: absolute; top: 0; left: 0; width: 100px; height: 100px }
+
+</style>
+<body>
+<div><div></div></div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/outline/outline-overflow-block-float.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<title>outline goes around overflow, floats</title>
+<style>
+
+html, body { margin: 0; padding: 0; border: none }
+html { overflow:hidden /* avoid second reflow for scrollbars */ }
+
+body > div { margin: 100px; outline: 2px solid blue }
+
+body > div > div { float: left; width: 100px; height: 100px }
+
+</style>
+<body>
+<div><div></div></div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/outline/outline-overflow-block-ref.html
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML>
+<title>outline goes around overflow, floats</title>
+<style>
+
+html, body { margin: 0; padding: 0; border: none }
+html { overflow:hidden /* avoid second reflow for scrollbars */ }
+
+body > div { margin: 98px; border: 2px solid blue; height: 100px }
+
+</style>
+<body>
+<div></div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/outline/outline-overflow-inlineblock-abspos.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<title>outline goes around overflow, floats</title>
+<style>
+
+html, body { margin: 0; padding: 0; border: none }
+html { overflow:hidden /* avoid second reflow for scrollbars */ }
+
+body > div { margin: 100px; outline: 2px solid blue; display: inline-block; height: 0; width: 0; position: relative }
+
+body > div > div { position: absolute; top: 0; left: 0; width: 100px; height: 100px }
+
+</style>
+<body>
+<div><div></div></div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/outline/outline-overflow-inlineblock-float.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<title>outline goes around overflow, floats</title>
+<style>
+
+html, body { margin: 0; padding: 0; border: none }
+html { overflow:hidden /* avoid second reflow for scrollbars */ }
+
+body > div { margin: 100px; outline: 2px solid blue; display: inline-block; height: 0; width: 0 }
+
+body > div > div { float: left; width: 100px; height: 100px }
+
+</style>
+<body>
+<div><div></div></div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/outline/outline-overflow-inlineblock-ref.html
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML>
+<title>outline goes around overflow, floats</title>
+<style>
+
+html, body { margin: 0; padding: 0; border: none }
+html { overflow:hidden /* avoid second reflow for scrollbars */ }
+
+body > div { margin: 98px; border: 2px solid blue; height: 100px; width: 100px }
+
+</style>
+<body>
+<div></div>
--- a/layout/reftests/outline/reftest.list
+++ b/layout/reftests/outline/reftest.list
@@ -1,4 +1,8 @@
 == outline-and-box-shadow.html outline-and-box-shadow-ref.html
 == outline-and-3d-transform-1a.html outline-and-3d-transform-1-ref.html
 == outline-and-3d-transform-1b.html outline-and-3d-transform-1-ref.html
 == outline-and-3d-transform-2.html outline-and-3d-transform-2-ref.html
+== outline-overflow-block-abspos.html outline-overflow-block-ref.html
+== outline-overflow-block-float.html outline-overflow-block-ref.html
+== outline-overflow-inlineblock-abspos.html outline-overflow-inlineblock-ref.html
+== outline-overflow-inlineblock-float.html outline-overflow-inlineblock-ref.html