mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
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.
This commit is contained in:
parent
fbcb130e34
commit
7f961c4964
14
layout/reftests/outline/outline-overflow-block-abspos.html
Normal file
14
layout/reftests/outline/outline-overflow-block-abspos.html
Normal file
@ -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>
|
14
layout/reftests/outline/outline-overflow-block-float.html
Normal file
14
layout/reftests/outline/outline-overflow-block-float.html
Normal file
@ -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>
|
12
layout/reftests/outline/outline-overflow-block-ref.html
Normal file
12
layout/reftests/outline/outline-overflow-block-ref.html
Normal file
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -2,3 +2,7 @@
|
||||
== 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
|
||||
|
Loading…
Reference in New Issue
Block a user