Files
sousa-gecko/testing/web-platform/tests/css/css-overflow/overflow-clip-margin-003.html
T
Tab Atkins Jr 1a3498f6c1 Bug 2030031 [wpt PR 59007] - Don't show red on success; add some red failure cases., a=testonly
Automatic update from web-platform-tests
Don't show red on success; add some red failure cases. (#59007)
--

wpt-commits: 387f61d78bdc77798a9208ab754510ec7fdf9a47
wpt-pr: 59007
2026-04-17 08:39:28 +00:00

29 lines
804 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>Verifies overflow-clip-margin doesn't impact paint effects</title>
<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#propdef-overflow-clip-margin">
<link rel="author" title="Scott Violet" href="mailto:sky@chromium.org">
<link rel="match" href="overflow-clip-margin-003-ref.html">
<style>
.parent {
width: 100px;
height: 100px;
background-color: green;
overflow: clip;
overflow-clip-margin: 1px;
box-shadow: 20px 20px 5px blue;
}
.fail {
width: 20px;
height: 20px;
background-color: red;
position: relative;
top: -15px;
left: 85px;
z-index: -1;
}
</style>
<p>You should see a green box with a blue box shadow.
<div class="parent"></div>
<div class="fail"></div>