Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE HTML>
<title>CSS Test: The 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-ref.html">
<style>
div::first-letter { color: green }
</style>
<div>
<span></span>
<span>First letter should be green</span>
</div>