forked from mirrors/gecko-dev
Automatic update from web-platform-tests [layout] Track inflow-bounds within box fragment builder. This patch tracks the bounds of any inflow children (no floats, or out-of-flow positioned objects). This is only done for scrollable containers. This is used to correctly determine the layout-overflow of a fragment. Bug: 1066616 Change-Id: I334176cdf61f6eda92573e169719dbf7a2f62995 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2432225 Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#812667} -- wpt-commits: 16a2f5ee43387c9578f10fd7f1672ed86bc63888 wpt-pr: 25892
12 lines
651 B
HTML
12 lines
651 B
HTML
<!DOCTYPE html>
|
|
<meta name="assert" content="This ensures that floats block-end margin contributes to the scrollable overflow.">
|
|
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#scrollable" />
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/resources/check-layout-th.js"></script>
|
|
<body onload="checkLayout('#target')">
|
|
<div id="target" style="width: 100px; height: 100px; overflow: scroll;" data-expected-scroll-height="220">
|
|
<div style="float: left; width: 50px; height: 200px; margin: 10px; background: lime;"></div>
|
|
</div>
|
|
<div id=log></div>
|
|
</body>
|