diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/tests/css/css-backgrounds/ttwf-css3background-border-style-double.htm | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds/ttwf-css3background-border-style-double.htm')
-rw-r--r-- | testing/web-platform/tests/css/css-backgrounds/ttwf-css3background-border-style-double.htm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/ttwf-css3background-border-style-double.htm b/testing/web-platform/tests/css/css-backgrounds/ttwf-css3background-border-style-double.htm new file mode 100644 index 0000000000..c5bc32781e --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/ttwf-css3background-border-style-double.htm @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<html> + <head> + <title>CSS Backgrounds and Borders Test: border_style_double</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. 'double': Two parallel solid lines with some space between them. (The thickness of the lines is not specified, but the sum of the lines and the space must equal 'border-width'.)" /> + <style> + #ref { + background-color: white; + height: 160px; + width: 160px; + } + #test { + border: black solid 5px; + border-style: double; + bottom: 160px; + height: 100px; + padding: 25px; + position: relative; + width: 100px; + } + </style> + </head> + <body> + <p>Test passes if there is a white square, border style is double, and the sum of the lines and the space must equal 5.</p> + <div id="ref"></div> + <div id="test"></div> + </body> +</html> |