Automatic update from web-platform-tests Don't show red on success; add some red failure cases. (#59007) -- wpt-commits: 387f61d78bdc77798a9208ab754510ec7fdf9a47 wpt-pr: 59007
29 lines
804 B
HTML
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>
|