| <!DOCTYPE html> |
| <!-- |
| | Unicode range test. Tests multiple unicode-range values and multiple |
| | font-families with the same style but different unicode ranges and sources. |
| | Also tests that duplicate sources with differing ranges load correctly. |
| | https://www.w3.org/TR/css3-fonts/#font-prop-desc |
| --> |
| <html> |
| <head> |
| <style> |
| @font-face { |
| font-family: 'TestFontA'; |
| src: local('Dancing Script'); |
| unicode-range: U+4D; /* M */ |
| } |
| @font-face { |
| font-family: 'TestFontB'; |
| src: local('Dancing Script'); |
| unicode-range: U+3d, U+4e-5a; /* =, N-Z */ |
| } |
| @font-face { |
| font-family: 'TestFontB'; |
| src: local('Noto Serif'); |
| unicode-range: U+26; /* & */ |
| } |
| body { |
| background-color: black; |
| font-size: 75px; |
| color: #fff; |
| font-family: 'TestFontA', 'TestFontB', 'Roboto'; |
| } |
| </style> |
| </head> |
| <body> |
| <div>Me & You = Us</div> |
| </body> |
| </html> |