| <!DOCTYPE html> |
| <html class="reftest-wait"> |
| <head> |
| <link rel="match" href="font-weight-fallback-expected.html"> |
| <style> |
| @font-face { |
| font-family: "WebFont"; |
| font-weight: 100; |
| src: url("../../resources/Ahem_CJK.ttf") format("truetype"); |
| } |
| @font-face { |
| font-family: "WebFont"; |
| font-weight: 300; |
| src: url("../../resources/Ahem.otf") format("opentype"); |
| } |
| div { |
| font: normal 100px 'WebFont', sans-serif; |
| } |
| </style> |
| </head> |
| <body> |
| <p>Test that when a character is missing from the best-matching web font face, it falls back to the system font, not to a @font-face at a different weight.</p> |
| <div>横</div> |
| <script> |
| document.fonts.ready.then(function() { |
| document.documentElement.classList.remove("reftest-wait"); |
| }); |
| </script> |
| </body> |
| </html> |