1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-17 18:15:08 +00:00
serenity/Tests/LibWeb/Layout/input/viewport-overflow-propagation-1.html
Andreas Kling 4011a107a4 LibWeb: Propagate overflow modes from <html> or <body> to viewport
This patch implements "Overflow Viewport Propagation" from CSS-OVERFLOW.
It fixes an issue where many websites were not scrollable because they
had `overflow: scroll` on the body element and we didn't propagate it.
2023-08-03 13:21:26 +02:00

12 lines
152 B
HTML

<!doctype html><style>
html {
overflow: visible;
}
body {
overflow: scroll;
}
div {
width: 100px;
height: 2000px;
}
</style><body><div>