5 <script type=
"text/javascript" src=
"../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
6 <script type=
"text/javascript" src=
"../../http/tests/inspector-protocol/css-protocol-test.js"></script>
7 <script type=
"text/javascript" src=
"../../http/tests/inspector-protocol/dom-protocol-test.js"></script>
8 <script type=
"text/javascript" src=
"resources/style-matching-test.js"></script>
9 <!-- available fonts --->
10 <style type=
"text/css">
12 <!-- Applied styles -->
13 <style type=
"text/css">
17 text-rendering: optimizeLegibility
;
18 font-feature-settings: "liga" 1;
21 #condensed_normal_100 {
22 font-family: CSSMatchingTest
;
23 font-stretch: condensed
;
28 #condensed_normal_900 {
29 font-family: CSSMatchingTest
;
30 font-stretch: condensed
;
35 #condensed_italic_100 {
36 font-family: CSSMatchingTest
;
37 font-stretch: condensed
;
42 #condensed_italic_900 {
43 font-family: CSSMatchingTest
;
44 font-stretch: condensed
;
49 #expanded_normal_100 {
50 font-family: CSSMatchingTest
;
51 font-stretch: expanded
;
56 #expanded_normal_900 {
57 font-family: CSSMatchingTest
;
58 font-stretch: expanded
;
63 #expanded_italic_100 {
64 font-family: CSSMatchingTest
;
65 font-stretch: expanded
;
70 #expanded_italic_900 {
71 font-family: CSSMatchingTest
;
72 font-stretch: expanded
;
79 <pre>According to the CSS3 Fonts Module, Step
4 or the Font Style Matching Algorithm
80 ( https://drafts.csswg.org/css-fonts-
3/#font-style-matching ) must narrow down the
81 available font faces by finding the nearest match in the following order of
82 precedence: stretch, style, weight.
85 <div id=
"condensed_normal_100">abcdefg
</div>
86 <div id=
"condensed_normal_900">abcdefg
</div>
87 <div id=
"condensed_italic_100">abcdefg
</div>
88 <div id=
"condensed_italic_900">abcdefg
</div>
89 <div id=
"expanded_normal_100">abcdefg
</div>
90 <div id=
"expanded_normal_900">abcdefg
</div>
91 <div id=
"expanded_italic_100">abcdefg
</div>
92 <div id=
"expanded_italic_900">abcdefg
</div>