diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-cascade/all-prop-unset-visited.html')
-rw-r--r-- | testing/web-platform/tests/css/css-cascade/all-prop-unset-visited.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-cascade/all-prop-unset-visited.html b/testing/web-platform/tests/css/css-cascade/all-prop-unset-visited.html new file mode 100644 index 0000000000..598d3f5edc --- /dev/null +++ b/testing/web-platform/tests/css/css-cascade/all-prop-unset-visited.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<title>CSS Cascade: all:unset in :visited</title> +<link rel="help" href="https://drafts.csswg.org/css-cascade/#all-shorthand"> +<link rel="match" href="all-prop-unset-visited-ref.html"> +<style> + :root { color: green; } + a:visited { color: red; } + a:visited { all: unset; } +</style> +<a href="">Test passes if this text is green.</a> |