summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/document-canvas-remove-body.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds/document-canvas-remove-body.html')
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/document-canvas-remove-body.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/document-canvas-remove-body.html b/testing/web-platform/tests/css/css-backgrounds/document-canvas-remove-body.html
new file mode 100644
index 0000000000..35b0383cea
--- /dev/null
+++ b/testing/web-platform/tests/css/css-backgrounds/document-canvas-remove-body.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<script src="/common/reftest-wait.js"></script>
+<script src="/common/rendering-utils.js"></script>
+<link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#body-background">
+<link rel="match" href="document-canvas-remove-body-ref.html">
+<body style="background: red"></body>
+<script>
+waitForAtLeastOneFrame().then(() => {
+ document.body.remove();
+ takeScreenshot();
+});
+</script>
+</html>