mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-21 11:40:34 -10:00
Automatic update from web-platform-tests [layout] Don't allow non-formatting-context to be relayout-roots. As lots of state can be passed from a non-fc to its sibling, treating these as formatting context roots is incorrect for lots of edge cases. This patch dis-allows non-fcs to be relayout-roots. Change-Id: Ieef1a2ad1d653bd954a8a9989aecc8ac83107f69 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2707136 Reviewed-by: Morten Stenshorne <[email protected]> Commit-Queue: Ian Kilpatrick <[email protected]> Cr-Commit-Position: refs/heads/master@{#856317} -- wpt-commits: dfe483887469f2ad966d6244910b7aa5f0cfbb7b wpt-pr: 27710
13 lines
625 B
HTML
13 lines
625 B
HTML
<!DOCTYPE html>
|
|
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
|
|
<link rel="help" href="https://www.w3.org/TR/CSS22/box.html#collapsing-margins" title="8.3.1 Collapsing margins">
|
|
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
|
<div style="width: 100px; height: 100px; background: green;"></div>
|
|
<div style="width: 0; height: 0; outline: solid red 50px; position: relative; z-index: 1; overflow: clip; margin-left: 50px;">
|
|
<div id="target"></div>
|
|
</div>
|
|
<script>
|
|
document.body.offsetTop;
|
|
document.getElementById('target').style.marginTop = '-1000px';
|
|
</script>
|