summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/boundary-shaping/boundary-shaping-001.html
blob: d6c8fa2b236f56e11f07b15c491321e062972ca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Text shaping must not be broken across inline box boundaries when there is no change in formatting</title>
<link rel=match href="reference/boundary-shaping-001.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 {
  /* initial values for these properties should not interrupt shaping */
  vertical-align: initial;
  padding: initial;
  margin: initial;
  border: initial;
}
</style>
</head>
<body>
of<span class=a>f</span>ice
</body>
</html>