summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/border-image-round-and-stretch.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/css/css-backgrounds/border-image-round-and-stretch.html
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds/border-image-round-and-stretch.html')
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/border-image-round-and-stretch.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/border-image-round-and-stretch.html b/testing/web-platform/tests/css/css-backgrounds/border-image-round-and-stretch.html
new file mode 100644
index 0000000000..6833b562da
--- /dev/null
+++ b/testing/web-platform/tests/css/css-backgrounds/border-image-round-and-stretch.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>CSS Backgrounds and Borders Test: 'border-image' set as 'round' and 'stretch' </title>
+ <link rel="author" title="Ren Jing" href="mailto:reni2046@gmail.com">
+ <link rel="help" href="http://www.w3.org/TR/css3-background/#border-images">
+ <link rel="match" href="reference/border-image-round-and-stretch-ref.html">
+ <meta name="assert" content="orange diamonds on top and bottom border should be repeated 12 times, and orange diamonds on left and right border should be stretched, diamonds in corners should be red, and other diamonds should be orange.">
+ <meta name="fuzzy" content="0-25; 0-4192">
+ <style type="text/css">
+ .container {
+ border: double red 1em;
+ border-image: url("support/border.png") 27 round stretch;
+ height:77px;
+ width:192px;
+ }
+ </style>
+</head>
+<body>
+ <p>The test passes if orange diamonds on top and bottom border repeat 12 times, and orange diamonds on left and right border are stretched, diamonds in corners are red, and other diamonds are orange.</p>
+ <div class="container"></div>
+</body>
+</html>