summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/first-line-opacity-001.html
blob: 83f90824b8ab42976a826fcc7567a9f7f52e4379 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html>
<head>
<title>CSS Test: ::first-line supports opacity.</title>
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1639664">
<link rel="match" href="first-line-opacity-001-ref.html">
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-line-styling">
  <style>
    p::first-line {
      opacity: 0;
    }
  </style>
</head>
<body>
  <p>First<br>Second</p>
</body>
</html>