mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
00069d57ec
The test invalidates the z-index element, so that we do a partial build with just that and the DAG no longer knows the relative ordering between it and the other blue elements. We then expand the size of the 'first' elements stacking context, and ensure that we provide enough intersecting items to know that we're on top of the z-index element. MozReview-Commit-ID: KP7c3bnwfBd * * * [mq]: fix MozReview-Commit-ID: EuraqvaUS35 --HG-- extra : rebase_source : 9e2e4f2dc661cc552891499a614d489625ea895d
27 lines
487 B
HTML
27 lines
487 B
HTML
<html>
|
|
<head>
|
|
<style>
|
|
div {
|
|
width: 200px;
|
|
height: 200px;
|
|
background-color: blue;
|
|
filter: greyscale(50%);
|
|
position: relative;
|
|
}
|
|
#second {
|
|
width: 600px;
|
|
height: 500px;
|
|
background-color: green;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="top" style="z-index:-4;"></div>
|
|
<div style="top: 10px;"></div>
|
|
<div style="top: 20px;">
|
|
<div id="second" style="top: -400px;"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|