summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/image-rendering-border-image.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-images/image-rendering-border-image.html')
-rw-r--r--testing/web-platform/tests/css/css-images/image-rendering-border-image.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-images/image-rendering-border-image.html b/testing/web-platform/tests/css/css-images/image-rendering-border-image.html
new file mode 100644
index 0000000000..5f4c268d6b
--- /dev/null
+++ b/testing/web-platform/tests/css/css-images/image-rendering-border-image.html
@@ -0,0 +1,18 @@
+<!doctype html>
+<title>image-rendering applies to border-image</title>
+<link rel=help href="https://drafts.csswg.org/css-images/#the-image-rendering">
+<link rel=help href="https://bugzilla.mozilla.org/show_bug.cgi?id=1716442">
+<link rel=author href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel=author href="https://mozilla.org" title="Mozilla">
+<link rel=mismatch href="image-rendering-border-image-notref.html">
+<style>
+div {
+ width: 200px;
+ height: 150px;
+ background-color: black;
+ border: solid 4px;
+ border-image: url(support/small-border.png) 4 / 16px;
+ image-rendering: pixelated;
+}
+</style>
+<div></div>