summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/first-line-inherited-no-transition.html
blob: e5253daa63fc7cb074901dd086864e27426cd152 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<title>CSS Pseudo-Element Test: ::first-line style should not trigger transitions on elements</title>
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-line-pseudo">
<link rel="match" href="first-line-inherited-no-transition-ref.html">
<style>
  p::first-line { font-weight: bold; }
  span {
    transition-property: font-weight;
    transition-duration: 100s;
    transition-delay: -50s;
  }
</style>
<p><span>Should be bold<br>Should not be bold</span></p>