mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00:00
LibWeb: Remove non-spec condition in scrollable overflow calculation
This commit is contained in:
parent
366f15b441
commit
0320494c3f
Notes:
github-actions[bot]
2024-12-04 17:26:30 +00:00
Author: https://github.com/Psychpsyo
Commit: 0320494c3f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2525
Reviewed-by: https://github.com/AtkinsSJ ✅
3 changed files with 26 additions and 3 deletions
22
Tests/LibWeb/Ref/input/scrollable-overflow-viewport-bug.html
Normal file
22
Tests/LibWeb/Ref/input/scrollable-overflow-viewport-bug.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue