wpt / css / css-text / boundary-shaping / boundary-shaping-002.html

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

/css/css-text/boundary-shaping/boundary-shaping-002.html

<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Text shaping must be broken across inline box boundaries when 'vertical-align' is not 'baseline'</title>
<link rel=match href="reference/boundary-shaping-002.ref.html">
<link rel=help href="https://drafts.csswg.org/css-text/#boundary-shaping">
<style>
@font-face {
  font-family: test;
  src: url(resources/LinLibertine_Re-4.7.5.woff);
}
body {
  font: 36px test; /* use a font that includes ligatures for "fi" etc */
}
.a {
  vertical-align: 1em;
}
</style>
</head>
<body>
of<span class=a>f</span>ice
</body>
</html>

/css/css-text/boundary-shaping/reference/boundary-shaping-002.ref.html

<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<style>
@font-face {
  font-family: test;
  src: url(../resources/LinLibertine_Re-4.7.5.woff);
}
body {
  font: 36px test; /* use a font that includes ligatures for "fi" etc */
}
.a {
  vertical-align: 1em;
  display: inline-block;
}
</style>
</head>
<body>
of<span class=a>f</span>ice
</body>
</html>