author | Morten Stenshorne <mstensho@chromium.org> |
Tue, 06 Mar 2018 18:27:04 +0000 | |
changeset 462365 | 86d6195a7936ca18903c0c403ecae7f8c75b9282 |
parent 462364 | 93abbea1dcdc7a55b35b351cbb31db13516ff255 |
child 462366 | 3ea4f0746ad6c5817d91571ea2ed579f50c5cded |
push id | 1683 |
push user | sfraser@mozilla.com |
push date | Thu, 26 Apr 2018 16:43:40 +0000 |
treeherder | mozilla-release@5af6cb21869d [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | testonly |
bugs | 1436558, 907549, 535273 |
milestone | 60.0a1 |
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
|
--- a/testing/web-platform/meta/MANIFEST.json +++ b/testing/web-platform/meta/MANIFEST.json @@ -68188,16 +68188,28 @@ [ "/css/CSS2/normal-flow/inlines-020-ref.xht", "==" ] ], {} ] ], + "css/CSS2/normal-flow/margin-collapse-through-zero-height-block.html": [ + [ + "/css/CSS2/normal-flow/margin-collapse-through-zero-height-block.html", + [ + [ + "/css/reference/ref-filled-green-200px-square.html", + "==" + ] + ], + {} + ] + ], "css/CSS2/normal-flow/max-height-001.xht": [ [ "/css/CSS2/normal-flow/max-height-001.xht", [ [ "/css/CSS2/reference/ref-filled-black-96px-square.xht", "==" ] @@ -448161,16 +448173,20 @@ "css/CSS2/normal-flow/inlines-020-ref.xht": [ "a31254e929342c84c104a35cb99e238c087c98ed", "support" ], "css/CSS2/normal-flow/inlines-020.xht": [ "a19a4cc8d7c500e01a0b591b16c13cd9a18773db", "reftest" ], + "css/CSS2/normal-flow/margin-collapse-through-zero-height-block.html": [ + "33e6e180ed6e9896b7aeb3fcd9060bedb162291c", + "reftest" + ], "css/CSS2/normal-flow/max-height-001.xht": [ "34a501cb70b591b6998234f3366361c33a064a18", "reftest" ], "css/CSS2/normal-flow/max-height-002.xht": [ "3953046b0bca50a90b44ab66fb91691526096ccc", "reftest" ],
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/normal-flow/margin-collapse-through-zero-height-block.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<title>Collapse bottom margin from previous sibling through zero height block to next sibling</title> +<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> +<link rel="help" href="https://www.w3.org/TR/CSS22/box.html#collapsing-margins" title="8.3.1 Collapsing margins"> +<link rel="match" href="../../reference/ref-filled-green-200px-square.html"> +<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> +<div style="overflow:hidden; width:200px; height:400px; background:green;"> + <div style="margin-bottom:200px;"></div> + <div style="height:0;"></div> + <div style="height:200px; margin-top:100px; background:white;"></div> + <div style="height:200px; background:red;"></div> +</div>