wpt / css / CSS2 / linebox / anonymous-inline-inherit-001.html

Status: PASS | Duration: 17ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/CSS2/linebox/anonymous-inline-inherit-001.html

<!DOCTYPE html>
<link rel="match" href="anonymous-inline-inherit-001-ref.html">
<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#anonymous">
<link rel="author" href="kojii@chromium.org">
<!--
  The text node for "x" should be wrapped in an anonymous inline box,
  which should have the initial value for non-inherited properties.
  https://drafts.csswg.org/css2/visuren.html#anonymous
-->
<body>
  <span style="vertical-align: top">
    <span style="font-size: 500%">A</span>
    x
  </span>
</body>

/css/CSS2/linebox/anonymous-inline-inherit-001-ref.html

<!DOCTYPE html>
<body>
  <span>
    <span style="font-size: 500%">A</span>
    x
  </span>
</body>