1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 16:34:59 +00:00
serenity/Tests/LibWeb/Ref/reference/overflow-hidden-7-ref.html
Aliaksandr Kalenik 623ad94582 LibWeb: Resolve effective overflow-x and overflow-y according to spec
Implements following rule from CSS Overflow Module Level 3:
"The visible/clip values of overflow compute to auto/hidden
(respectively) if one of overflow-x or overflow-y is neither visible
nor clip."
2024-02-06 08:39:06 +01:00

9 lines
155 B
HTML

<!DOCTYPE html>
<style>
.box {
width: 200px;
height: 200px;
background-color: darkblue;
}
</style>
<div class="box"></div>