Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-pseudo/first-letter-skip-empty-span-nested.html - WPT Dashboard Interop Dashboard
<!DOCTYPE HTML>
<title>CSS Test: The nested empty span should be skipped when finding the ::first-letter content</title>
<link rel="author" title="Jaeyong Bae" href="jdragon.bae@gmail.com">
<link rel="match" href="first-letter-skip-empty-span-nested-ref.html">
<style>
div::first-letter { color: green }
</style>
<div>
<span></span>
<span><span></span>First letter should be green</span>
</div>