summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/background-color-clip.html
blob: 961e161388d7f1962cfc4ecb22c18b47e60ad62e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<meta charset="utf-8">
<title>Background Color Clip</title>
<link rel="match" href="reference/background-color-clip.html">
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#background-color">
<meta name="assert" content="Check that the background color is clipped according to the background-clip value associated with the bottom-most background image layer.">
<style>
    div {
        width: 120px;
        height: 100px;
        background-color: green;
        background-clip: border-box, content-box, border-box;
        background-image: none, none;
        border-style: solid;
        border-width: 10px;
        border-color: transparent;
    }
</style>
<div></div>