forked from mirrors/gecko-dev
Automatic update from web-platform-tests Fix composited outline layer order with overflow controls Previously when we updated the child layer list of a CompositedLayerMapping, we reattached decoration_outline_layer_ in GraphicsLayerTreeBuilder before calling CLM::SetSubLayers(), and reattached overflow_controls_host_layer_ in CLM::SetSubLayers(), causing wrong order of the two layers. Now reattach both in CLM::SetSubLayers() (which will reattach more layers when we adjust the tree hierarchy in later CLs). Change-Id: I2fd2c71aa8c206117a0d214158eff83a8d94e0c6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2205894 Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#769727} -- wpt-commits: f014d7e1dc9d974948181bd6bcd80ea045814d85 wpt-pr: 23662
24 lines
634 B
HTML
24 lines
634 B
HTML
<!doctype html>
|
|
<title>CSS-UI test: outline-offset width negative values on scroller</title>
|
|
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
|
<link rel=help href="https://drafts.csswg.org/css-ui-3/#outline-props">
|
|
<style>
|
|
#container {
|
|
width: 100px;
|
|
height: 100px;
|
|
background: red;
|
|
will-change: transform;
|
|
overflow: scroll;
|
|
outline: solid 50px green;
|
|
outline-offset: -50px;
|
|
}
|
|
#child {
|
|
position: relative;
|
|
will-change: transform;
|
|
height: 1000px;
|
|
}
|
|
</style>
|
|
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
|
<div id="container">
|
|
<div id="child"></div>
|
|
</div>
|