OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <meta charset="UTF-8"> | 3 <meta charset="UTF-8"> |
4 <head> | 4 <head> |
5 <script type="text/javascript" src="../../http/tests/inspector-protocol/insp
ector-protocol-test.js"></script> | 5 <script type="text/javascript" src="resources/inspector-protocol-test.js"></
script> |
6 <script type="text/javascript" src="../../http/tests/inspector-protocol/css-
protocol-test.js"></script> | 6 <script type="text/javascript" src="resources/css-protocol-test.js"></script
> |
7 <script type="text/javascript" src="../../http/tests/inspector-protocol/dom-
protocol-test.js"></script> | 7 <script type="text/javascript" src="resources/dom-protocol-test.js"></script
> |
8 <script type="text/javascript" src="resources/style-matching-test.js"></scri
pt> | 8 <script type="text/javascript" src="resources/style-matching-test.js"></scri
pt> |
9 <!-- available fonts ---> | 9 <!-- available fonts ---> |
10 <style type="text/css"> | 10 <style type="text/css"> |
11 </style> | 11 </style> |
12 <link rel="stylesheet" type="text/css" href="resources/applied-styles.css"> | 12 <link rel="stylesheet" type="text/css" href="resources/applied-styles.css"> |
13 </head> | 13 </head> |
14 <body> | 14 <body> |
15 <pre>According to the CSS3 Fonts Module, Step 4 or the Font Style Matching Algor
ithm | 15 <pre>According to the CSS3 Fonts Module, Step 4 or the Font Style Matching Algor
ithm |
16 ( https://drafts.csswg.org/css-fonts-3/#font-style-matching ) must narrow down t
he | 16 ( https://drafts.csswg.org/css-fonts-3/#font-style-matching ) must narrow down t
he |
17 available font faces by finding the nearest match in the following order of | 17 available font faces by finding the nearest match in the following order of |
18 precedence: stretch, style, weight. | 18 precedence: stretch, style, weight. |
19 </pre> | 19 </pre> |
20 <div class="test"> | 20 <div class="test"> |
21 <div id="condensed_normal_100">abcdefg</div> | 21 <div id="condensed_normal_100">abcdefg</div> |
22 <div id="condensed_normal_900">abcdefg</div> | 22 <div id="condensed_normal_900">abcdefg</div> |
23 <div id="condensed_italic_100">abcdefg</div> | 23 <div id="condensed_italic_100">abcdefg</div> |
24 <div id="condensed_italic_900">abcdefg</div> | 24 <div id="condensed_italic_900">abcdefg</div> |
25 <div id="expanded_normal_100">abcdefg</div> | 25 <div id="expanded_normal_100">abcdefg</div> |
26 <div id="expanded_normal_900">abcdefg</div> | 26 <div id="expanded_normal_900">abcdefg</div> |
27 <div id="expanded_italic_100">abcdefg</div> | 27 <div id="expanded_italic_100">abcdefg</div> |
28 <div id="expanded_italic_900">abcdefg</div> | 28 <div id="expanded_italic_900">abcdefg</div> |
29 </div> | 29 </div> |
30 </body> | 30 </body> |
31 </html> | 31 </html> |
OLD | NEW |