summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-content/quotes-first-letter-002.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-content/quotes-first-letter-002.html')
-rw-r--r--testing/web-platform/tests/css/css-content/quotes-first-letter-002.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-content/quotes-first-letter-002.html b/testing/web-platform/tests/css/css-content/quotes-first-letter-002.html
new file mode 100644
index 0000000000..8c40b1418a
--- /dev/null
+++ b/testing/web-platform/tests/css/css-content/quotes-first-letter-002.html
@@ -0,0 +1,25 @@
+<!doctype html>
+<meta charset=utf-8>
+<title>CSS-content test: first letter with quotes interaction dynamic attachment</title>
+<link rel="author" title="Daniil Sakhapov" href="sakhapov@google.com">
+<link rel="match" href="reference/quotes-first-letter-002-ref.html">
+<link rel=help href="https://drafts.csswg.org/css-content/#quotes">
+
+<style>
+ .first-letter::first-letter { color: green; }
+</style>
+
+<q>
+ <div id="outer">
+ <q>Should not crash or assert and all six quotes should be displayed.</q>
+ <div id="inner">
+ <q>Should not crash or assert and all six quotes should be displayed.</q>
+ </div>
+ </div>
+</q>
+
+<script>
+ document.body.offsetTop;
+ inner.className = 'first-letter';
+ outer.className = 'first-letter';
+</script>