diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /layout/reftests/css-visited/logical-box-border-color-visited-link-002.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/css-visited/logical-box-border-color-visited-link-002.html')
-rw-r--r-- | layout/reftests/css-visited/logical-box-border-color-visited-link-002.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/reftests/css-visited/logical-box-border-color-visited-link-002.html b/layout/reftests/css-visited/logical-box-border-color-visited-link-002.html new file mode 100644 index 0000000000..0ace612bab --- /dev/null +++ b/layout/reftests/css-visited/logical-box-border-color-visited-link-002.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Logical Properties: Flow-Relative Border Colors in Visited Links</title> +<style> +a { + display: inline-block; + vertical-align: top; + border: 25px solid red; +} +#link1, #link2:visited { + border-block-color: green; + border-inline-color: green; +} +#link3 { + border-block: 25px solid green; + border-inline: 25px solid green; +} +#link4:visited { + /* :visited should honor the border color but ignore other values in the shorthand */ + border-block: 0 none green; + border-inline: 0 none green; +} +</style> +<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> +<a id="link1" href="visited-page.html"></a><a id="link2" href="visited-page.html"></a><br> +<a id="link3" href="visited-page.html"></a><a id="link4" href="visited-page.html"></a> |