wpt / css / css-pseudo / first-line-inherited-no-transition.html

Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-pseudo/first-line-inherited-no-transition.html

<!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>

/css/css-pseudo/first-line-inherited-no-transition-ref.html

<!DOCTYPE html>
<title>CSS Test Reference</title>
<p>
  <span style="font-weight:bold">Should be bold</span><br>
  Should not be bold
</p>