mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 18:15:08 +00:00

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.
12 lines
152 B
HTML
12 lines
152 B
HTML
<!doctype html><style>
|
|
html {
|
|
overflow: visible;
|
|
}
|
|
body {
|
|
overflow: scroll;
|
|
}
|
|
div {
|
|
width: 100px;
|
|
height: 2000px;
|
|
}
|
|
</style><body><div>
|