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/border-image-7.html | |
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/border-image-7.html')
-rw-r--r-- | testing/web-platform/tests/css/css-backgrounds/border-image-7.html | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/border-image-7.html b/testing/web-platform/tests/css/css-backgrounds/border-image-7.html new file mode 100644 index 0000000000..4142dcb427 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/border-image-7.html @@ -0,0 +1,46 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="utf-8"> + <title> + CSS Border and Background: border-image #7 border-image-width + </title> + <meta name="assert" content="Basic support for the border-image-width property" /> + + <link rel="author" title="Jérémie Patonnier" href="mailto:jeremie@patonnier.net" / > + + <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-image-width"> + + <style type="text/css"> + + #test { + border : 10px solid red; + width : 20px; + height : 20px; + + border-image-source: url(support/img-ref-1.png); + border-image-slice : 10; + border-image-width : 1px; + } + + #ref { + border : 1px solid #009900; + padding: 9px; + width : 20px; + height : 20px; + } + + </style> + +</head> +<body> + + <p> + Pass if both squares are identical. + </p> + + <p id="test"></p> + <p id="ref"></p> + +</body> +</html> |