author | Ian Kilpatrick <ikilpatrick@chromium.org> |
Wed, 13 May 2020 09:49:49 +0000 | |
changeset 531176 | 8d27c5ce5d6fb6aac7f1d74f47b8c90f697142cc |
parent 531175 | 66fc6d279696f0eb9af21432929448deb4b738e9 |
child 531177 | 19d2de87b9f8426718f9760277c065f36d59c4d4 |
push id | 37435 |
push user | apavel@mozilla.com |
push date | Wed, 20 May 2020 15:28:23 +0000 |
treeherder | mozilla-central@5415da14ec9a [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | testonly |
bugs | 1636833, 23496, 845235, 2187854, 767208 |
milestone | 78.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
|
testing/web-platform/tests/css/css-position/position-absolute-dynamic-relayout-003.html | file | annotate | diff | comparison | revisions |
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-position/position-absolute-dynamic-relayout-003.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<link rel="match" href="../reference/ref-filled-green-100px-square.xht"> +<link rel="help" href="https://www.w3.org/TR/css-position-3/" /> +<meta name="assert" content="This test checks that a dynamic OOF-positioned change doesn't cause children to paint differently." /> +<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> +<div style="display: flex; position: relative; width: 100px; height: 100px;"> + <div style="order: 2; margin-left: -100px; width: 100px; background: green;"></div> + <div style="order: 1; width: 100px; background: red;"></div> + <div id="target" style="position: absolute;"></div> +</div> +<script> + document.body.offsetTop; + document.getElementById('target').style.top = '10px'; +</script>