summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/first-line-replaced-001.html
blob: 453c55e4a76fedbafcc470d5def5b98c4be16ec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<link rel="match" href="first-line-replaced-001-ref.html">
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-line-styling">
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
<style>
.inner {
  display: inline-block;
  margin: 10px;
}
*::first-line { visibility: visible; }
</style>
<body>
  <div>A<span class=inner></span>C</div>
</body>