testing/web-platform/tests/css/css-text/boundary-shaping/boundary-shaping-009.html
author Jonathan Kew <jkew@mozilla.com>
Tue, 04 Dec 2018 23:48:33 -0500
changeset 509307 abad2ed6d90b6cae6cf9368fadd0c5de638ace0e
parent 509207 8126c43fb9e7a654fef53401c9caf745c67f2b91
permissions -rw-r--r--
Bug 1064172 - Add WPT reftests for properties that inhibit text shaping across inline element boundaries. r=jwatt

<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Text shaping must be broken across inline box boundaries when padding or margin is non-zero</title>
<link rel=match href="reference/boundary-shaping-009.ref.html">
<link rel=help href="https://drafts.csswg.org/css-text/#boundary-shaping">
<style>
body {
  font: 36px sans-serif;
}
div {
  text-align: center;
}
.a {
  padding-right: 10px;
}
.b {
  margin-left: 10px;
}
.c {
  color: red;
  padding-left: 10px;
}
.d {
  color: red;
  margin-right: 10px;
}
</style>
</head>
<body>
<div dir=ltr>
السلام<span class=a>عليكم</span>
</div>
<div dir=ltr>
<span class=b>السلام</span>عليكم
</div>
<div dir=rtl>
السلام<span class=a>عليكم</span>
</div>
<div dir=rtl>
<span class=b>السلام</span>عليكم
</div>
<div dir=ltr>
السلام<span class=c>عليكم</span>
</div>
<div dir=ltr>
<span class=d>السلام</span>عليكم
</div>
<div dir=rtl>
السلام<span class=c>عليكم</span>
</div>
<div dir=rtl>
<span class=d>السلام</span>عليكم
</div>
</body>
</html>