LibWeb: Remove non-spec condition in scrollable overflow calculation

This commit is contained in:
Psychpsyo 2024-11-23 14:58:32 +01:00 committed by Sam Atkins
parent 366f15b441
commit 0320494c3f
Notes: github-actions[bot] 2024-12-04 17:26:30 +00:00
3 changed files with 26 additions and 3 deletions

View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<link rel="match" href="../expected/scrollable-overflow-viewport-bug.html">
<style>
#child {
position: absolute;
top: 150vh;
width: 100px;
height: 100px;
}
#holder {
position: absolute;
overflow: hidden;
}
</style>
<div id="holder"></div>
<script>
const child = document.createElement("div");
child.id = "child";
holder.appendChild(child);
</script>