Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-content/quotes-first-letter-005.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset=utf-8>
<title>CSS-content test: first letter with quotes interaction dynamic attachment siblings</title>
<link rel="author" title="Daniil Sakhapov" href="sakhapov@google.com">
<link rel="match" href="reference/quotes-first-letter-002-ref.html">
<style>
.first-letter::first-letter { color: green; }
</style>
<q>
<div id="first">
<q>Should not crash or assert and all six quotes should be displayed.</q>
</div>
<div id="last">
<q>Should not crash or assert and all six quotes should be displayed.</q>
</div>
</q>
<script>
document.body.offsetTop;
first.className = 'first-letter';
last.className = 'first-letter';
</script>