mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10: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 <[email protected]> Reviewed-by: Morten Stenshorne <[email protected]> Cr-Commit-Position: refs/heads/master@{#599990} -- wpt-commits: 6aa79dbab74eee1e2112908cd150514942bdac36 wpt-pr: 13542
40 lines
670 B
HTML
40 lines
670 B
HTML
<!DOCTYPE html>
|
|
<title>flexbox | flex-flow: column-reverse wrap-reverse; order</title>
|
|
<link rel="author" href="http://opera.com" title="Opera Software">
|
|
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#order-property">
|
|
<link rel="match" href="../reference/blank.html">
|
|
<link rel="flags" content="invalid">
|
|
<style>
|
|
div {
|
|
width: 200px;
|
|
height: 4em;
|
|
display: flex;
|
|
}
|
|
span {
|
|
background: red;
|
|
order: 1.5;
|
|
flex: 1 0 0%;
|
|
}
|
|
span+span {
|
|
background: white;
|
|
order: 0;
|
|
}
|
|
/* irrelevant */
|
|
* {margin: 0;}
|
|
h1 {
|
|
width: 100px;
|
|
height: 4em;
|
|
background: white;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
</style>
|
|
|
|
<div>
|
|
<span></span>
|
|
<span></span>
|
|
</div>
|
|
|
|
<h1></h1>
|