ladybird/Tests/LibWeb/Ref/expected/box-shadow-with-overflow-hidden-ref.html
Aliaksandr Kalenik 597fe8288c LibWeb: Apply own clip rect for background phase only when clip used
Fixes a bug where we would clip `box-shadow` when `overflow: hidden`
was set, which is not supposed to happen since `overflow` only affects
clipping of an element's content.
2025-11-19 18:17:42 +01:00

10 lines
266 B
HTML

<!DOCTYPE html>
<link rel="match" href="../expected/box-shadow-with-overflow-hidden-ref.html" />
<!DOCTYPE html><style>
.box {
background-color: black;
width: 100px;
height: 100px;
box-shadow: 12px 12px 2px 1px red;
}
</style><div class="box"></div>