mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 21:28:04 +02:00
Automatic update from web-platform-tests Fix fragment data under overflow clip under multicol This fixes fragment data LogicalTopInFlowThread for overflowing contents under clip under multicol. Previously the overflowing parts created phantom fragments as if they were overflow:visible. Now the overflowing parts are under the last fragment of the clipping element. They will be painted correctly when they scrolls into the container clip rect. Bug: 1063043, 1064015 Change-Id: Ie8d60250736b0a5074872e7ef8d021c5731f9b40 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2132934 Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#756142} -- wpt-commits: 400c39870b6454148cb8247fc2b980134b3156f5 wpt-pr: 22626
33 lines
785 B
HTML
33 lines
785 B
HTML
<!DOCTYPE html>
|
|
<title>CSS Multi-column Layout Test: multicol with overflow-clipped content</title>
|
|
<link rel="help" href="https://www.w3.org/TR/css-multicol-1/">
|
|
<link rel="match" href="multicol-overflow-clip-ref.html">
|
|
<meta name="assert" content="Overflow clip should work under multicol.">
|
|
<style>
|
|
.multicol {
|
|
column-count: 3;
|
|
}
|
|
.parent {
|
|
background: green;
|
|
height: 50px;
|
|
overflow: hidden;
|
|
}
|
|
.child2 {
|
|
margin-top: 50px;
|
|
background: darkred;
|
|
color: red;
|
|
height: 100px;
|
|
}
|
|
</style>
|
|
<div class="multicol">
|
|
<div class="parent">
|
|
<div class="child2">This should be hidden.</div>
|
|
</div>
|
|
<div class="parent">
|
|
<div class="child2">This should be hidden.</div>
|
|
</div>
|
|
<div class="parent">
|
|
<div class="child2">This should be hidden.</div>
|
|
</div>
|
|
</div>
|
|
|