diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-pseudo/first-line-inherited-no-transition.html')
-rw-r--r-- | testing/web-platform/tests/css/css-pseudo/first-line-inherited-no-transition.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-pseudo/first-line-inherited-no-transition.html b/testing/web-platform/tests/css/css-pseudo/first-line-inherited-no-transition.html new file mode 100644 index 0000000000..e5253daa63 --- /dev/null +++ b/testing/web-platform/tests/css/css-pseudo/first-line-inherited-no-transition.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<title>CSS Pseudo-Element Test: ::first-line style should not trigger transitions on elements</title> +<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-line-pseudo"> +<link rel="match" href="first-line-inherited-no-transition-ref.html"> +<style> + p::first-line { font-weight: bold; } + span { + transition-property: font-weight; + transition-duration: 100s; + transition-delay: -50s; + } +</style> +<p><span>Should be bold<br>Should not be bold</span></p> |