mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 13:48:23 +02:00
Automatic update from web-platform-testsDon't propagate root/body background to viewport for display:none. According to the specification, we should not paint backgrounds for html or body on the viewport if they are display:none [1]. [1] https://drafts.csswg.org/css-backgrounds/#special-backgrounds Bug: 895757 Change-Id: Ia975022e3bfa849298667f72908a64c0d5331872 Reviewed-on: https://chromium-review.googlesource.com/c/1283134 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#599990} -- wpt-commits: 6aa79dbab74eee1e2112908cd150514942bdac36 wpt-pr: 13542 --HG-- rename : testing/web-platform/tests/tools/lint/tests/dummy/ref/about_blank-ref.html => testing/web-platform/tests/tools/lint/tests/dummy/about_blank.html
26 lines
505 B
HTML
26 lines
505 B
HTML
<!DOCTYPE html>
|
|
<title>flexbox | overflow</title>
|
|
<link rel="author" href="http://opera.com" title="Opera Software">
|
|
<link rel="help"
|
|
href="http://www.w3.org/TR/css-flexbox-1/#justify-content-property">
|
|
<link rel="match" href="../reference/blank.html">
|
|
<style>
|
|
div {
|
|
background: red;
|
|
height: 4em;
|
|
width: 0;
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
p {width: 200px;}
|
|
</style>
|
|
|
|
<div>
|
|
<p>one two three four</p>
|
|
<p>damer</p>
|
|
<p>damer</p>
|
|
<p>damer</p>
|
|
<p>damer</p>
|
|
</div>
|