diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds/background-color-clip.html')
-rw-r--r-- | testing/web-platform/tests/css/css-backgrounds/background-color-clip.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/background-color-clip.html b/testing/web-platform/tests/css/css-backgrounds/background-color-clip.html new file mode 100644 index 0000000000..961e161388 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-color-clip.html @@ -0,0 +1,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>
\ No newline at end of file |