| <!DOCTYPE html> |
| <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| <title>CSS Test: font-variant in @font-face rule is overriden by equivalent style rules</title> |
| <link rel="author" title="Mike Bremford" href="mike@bfo.com" /> |
| <link rel="help" href="https://www.w3.org/TR/css-fonts-3/#feature-precedence" /> |
| <style> |
| @font-face { |
| font-family: fwf; |
| src: url(support/fonts/FontWithFancyFeatures.otf); |
| } |
| .test { |
| font-family: fwf; |
| font-size: 2.4em; |
| color: green; |
| } |
| </style> |
| </head> |
| <body> |
| <p>Test passes if there are nine check marks below and no red visible.</p> |
| <section class="test"> |
| <span>A</span> |
| <span>A</span> |
| <span>A</span> |
| <span>A</span> |
| <span>A</span> |
| <span>A</span> |
| <span>A</span> |
| <span>A</span> |
| <span>A</span> |
| </section> |
| </body> |
| </html> |