summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/selectors/floating-first-letter-feff.html
blob: c5cec97fed8781f2b1ec171c6f009514616b29a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!doctype html>
<meta charset=utf-8>
<title>Drop cap with U+FEFF in the document</title>
<meta name="assert" content="The text placement within :first-line should not be affected by later presence of U+FEFF.">
<link rel=help href=https://drafts.csswg.org/css-pseudo-4/#first-line-styling>
<link rel=match href=floating-first-letter-ref.html>
<style>
  p:first-line {
    background: lightblue;
  }

  p::first-letter {
    float: left;
    font-size: 4rem;
  }
</style>
<p>Ab</p>&#xFEFF;