summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text/1331339-script-extensions-shaping-1.html
blob: 1571e806d8cfc138954fc91f813953474783a999 (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
29
30
31
32
33
34
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<style>
@font-face {
  font-family: test;
  src: url(../fonts/TAMLThiruValluvar-Regular.ttf);
}
.test {
  font-family: test;
  width: -moz-fit-content;
}
.mask {
  background: green;
  position: relative;
  top: -.7em;
  height: .7em;
}
</style>
</head>
<body>
<div class="test">
<!--
The Grantha nukta characters U+1133C should NOT disrupt shaping of the base text.
-->
&#x0BA4;&#x0BC6;&#x1133c;&#x0BAA;&#x1133c;&#x0BC6;&#x1133c;
<!--
We place a box over the bottom of the text to mask the nuktas from reftest comparison.
-->
<div class="mask"></div>
</div>
</body>
</html>