wpt / css / css-text-decor / text-decoration-inset-030.html

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

/css/css-text-decor/text-decoration-inset-030.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Decoration 4: text-decoration-inset percentage with b-d-b slice and br</title>
<link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#text-decoration-inset-property">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/8403">
<link rel="match" href="reference/text-decoration-inset-028-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
  body { background: white; color: black; font: 20px/2 Ahem; }
  p {
    text-decoration-line: underline;
    text-decoration-color: blue;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    text-decoration-inset: 10% 20%;
    box-decoration-break: slice;
  }
</style>

<p>abcde<br>fghij</p>

/css/css-text-decor/reference/text-decoration-inset-028-ref.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Decoration 4 reference: text-decoration-inset percentage with b-d-b slice</title>
<link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#text-decoration-inset-property">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
  body { background: white; color: black; font: 20px/2 Ahem; }
  u {
    text-decoration-line: underline;
    text-decoration-color: blue;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
  }
</style>

<div style="width: 100px;">
  <p>a<u>bcde fgh</u>ij</p>
</div>