summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/background-margin-root.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds/background-margin-root.html')
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/background-margin-root.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/background-margin-root.html b/testing/web-platform/tests/css/css-backgrounds/background-margin-root.html
new file mode 100644
index 0000000000..01fba7eb6a
--- /dev/null
+++ b/testing/web-platform/tests/css/css-backgrounds/background-margin-root.html
@@ -0,0 +1,13 @@
+<!doctype HTML>
+<title>Backgrounds on the root element should extend to cover the entire canvas in the presence of margin</title>
+<link rel="author" title="Philip Rogers" href="mailto:pdr@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#root-background">
+<link rel="match" href="background-margin-root-ref.html">
+<meta name=fuzzy content="0-1;0-19000">
+<style>
+ html {
+ background: linear-gradient(lightblue, yellow);
+ height: 300px;
+ margin: 50px;
+ }
+</style>