summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-paint-api/background-repeat-x-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-paint-api/background-repeat-x-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-paint-api/background-repeat-x-ref.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-paint-api/background-repeat-x-ref.html b/testing/web-platform/tests/css/css-paint-api/background-repeat-x-ref.html
new file mode 100644
index 0000000000..3df0c5417d
--- /dev/null
+++ b/testing/web-platform/tests/css/css-paint-api/background-repeat-x-ref.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<body>
+<canvas id ="canvas" width="200" height="200"></canvas>
+<script>
+var ctx = document.getElementById('canvas').getContext('2d');
+ctx.fillStyle = 'green';
+ctx.fillRect(0, 0, 50, 50);
+ctx.fillRect(100, 0, 50, 50);
+</script>
+</body>
+</html>