summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/first-line-inherited-transition-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-pseudo/first-line-inherited-transition-crash.html')
-rw-r--r--testing/web-platform/tests/css/css-pseudo/first-line-inherited-transition-crash.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-pseudo/first-line-inherited-transition-crash.html b/testing/web-platform/tests/css/css-pseudo/first-line-inherited-transition-crash.html
new file mode 100644
index 0000000000..223a0060eb
--- /dev/null
+++ b/testing/web-platform/tests/css/css-pseudo/first-line-inherited-transition-crash.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<title>CSS Pseudo-Element Test: Color transition from inherited ::first-line style should not crash</title>
+<link rel="help" href="https://crbug.com/1416821">
+<style>
+ div::first-line { color: red }
+ span { transition: color 100s; }
+</style>
+<div><span>First line</span></div>