summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/first-line-with-inline-block.html
blob: 12e11a3d2e4344b57c755b8a7e749115b299e549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-text-line">
<link rel="match" href="reference/first-line-with-inline-block-ref.html">
<style>
.fl:first-line {
  color: red;
}
.fl-atomic {
  display: inline-block;
}
.fl-atomic:first-line {
  color: lime;
}
</style>
<div class="fl">
FIRST <div class="fl-atomic">first</span><br>second</div> FIRST
</div>