4 <title>Ligature Linebreaking
</title>
5 <script src=
"../../resources/testharness.js"></script>
6 <script src=
"../../resources/testharnessreport.js"></script>
8 <style type=
"text/css">
10 font-family: megalopolis
;
11 src: url
(../../third_party/MEgalopolis/MEgalopolisExtra.woff) format
("woff");
15 font-family: megalopolis
, sans-serif
;
19 -moz-font-feature-settings:"frac" 1, "dlig" 1;
20 -moz-font-feature-settings:"frac=1, dlig=1";
21 -ms-font-feature-settings:"frac" 1, "dlig" 1;
22 -o-font-feature-settings:"frac" 1, "dlig" 1;
23 -webkit-font-feature-settings:"frac" 1, "dlig" 1;
24 font-feature-settings:"frac" 1, "dlig" 1;
30 p
{ font-family: serif
; font-style: italic
; }
34 background-color: lightpink
;
35 word-wrap: break-word
;
42 <div class=
"dlig container">CACA
</div>
46 setup({ explicit_done
: true });
47 window
.addEventListener("load", function() {
49 assert_true(document
.querySelector('.dlig').clientHeight
<= 24, "Two ligatures laid out in one line.");
50 }, "Word expected to be laid out in one line.");