summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/ttwf-css3background-border-style-shorthand.htm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/css-backgrounds/ttwf-css3background-border-style-shorthand.htm
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds/ttwf-css3background-border-style-shorthand.htm')
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/ttwf-css3background-border-style-shorthand.htm31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/ttwf-css3background-border-style-shorthand.htm b/testing/web-platform/tests/css/css-backgrounds/ttwf-css3background-border-style-shorthand.htm
new file mode 100644
index 0000000000..ae52c45f47
--- /dev/null
+++ b/testing/web-platform/tests/css/css-backgrounds/ttwf-css3background-border-style-shorthand.htm
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS Backgrounds and Borders Test: border_style_shorthand</title>
+ <link rel="author" title="disound" href="mailto:disound@gmail.com" />
+ <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-style" />
+ <meta name="flags" content="image" />
+ <meta name="assert" content="'Border-style' is a shorthand for the other four. Its four values set the top, right, bottom and left border respectively. A missing left is the same as right, a missing bottom is the same as top, and a missing right is also the same as top." />
+ <style>
+ #ref {
+ background-color: white;
+ height: 160px;
+ width: 160px;
+ }
+ #test {
+ border: black solid 5px;
+ border-style: solid dotted dashed double;
+ bottom: 160px;
+ height: 100px;
+ padding: 25px;
+ position: relative;
+ width: 100px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a white square, left border style is double, bottom border style is dashed, right border style is dotted, top border style is solid.</p>
+ <div id="ref"></div>
+ <div id="test"></div>
+ </body>
+</html>