Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Not for formal review] Update cull rect before paint (behind runtime flag) #27172

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!doctype html>
<title>overflow:hidden changes size with stacking context child</title>
<link rel="help" href="https://drafts.csswg.org/css-overflow/#valdef-overflow-hidden">
<link rel="help" href="https://www.w3.org/TR/CSS22/zindex.html">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<script src="/common/rendering-utils.js"></script>
<script src="/common/reftest-wait.js"></script>
<style>
#container {
overflow: hidden;
width: 100px;
height: 20px;
}
#stacking-context {
position: relative;
background: red;
z-index: 100;
}
.content {
width: 100px;
height: 20px;
background: green;
}
</style>
<p>Test passes if there is a filled green square.</p>
<div id="container">
<div id="stacking-context">
<div class="content"></div>
<div class="content"></div>
<div class="content"></div>
<div class="content"></div>
<div class="content"></div>
</div>
</div>
<script>
waitForAtLeastOneFrame().then(() => {
container.style.height = '100px';
takeScreenshot();
});
</script>