summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/first-letter-skip-empty-span.html
blob: d3914050ad892a13df3d5caacc238488175ac5c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!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="help" href="https://drafts.csswg.org/css-pseudo-4/#application-in-css">
<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>