mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 14:20:14 +02:00
Automatic update from web-platform-testsMerge pull request #9397 from faceless2/bfo-css-fonts-3-fontfeature Added new testcases to test font-variant precedence rules wpt-commits: 840362217deb3f9b82fe18a619d0bf21ddc55781 wpt-pr: 9397 wpt-commits: 840362217deb3f9b82fe18a619d0bf21ddc55781 wpt-pr: 9397
31 lines
No EOL
725 B
HTML
31 lines
No EOL
725 B
HTML
<!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: none; low level equivalence</title>
|
|
<link rel="author" title="Mike Bremford" href="mike@bfo.com" />
|
|
<style>
|
|
@font-face {
|
|
font-family: fwf;
|
|
src: url(support/fonts/FontWithFancyFeatures.otf);
|
|
}
|
|
.test {
|
|
font-family: fwf;
|
|
font-size: 2.4em;
|
|
line-height: 0.5;
|
|
color: purple;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if the six lines below are identical, with five check marks.</p>
|
|
<section class="test">
|
|
<p>AAAAA</p>
|
|
<p>AAAAA</p>
|
|
<p>AAAAA</p>
|
|
<p>AAAAA</p>
|
|
<p>AAAAA</p>
|
|
<p>AAAAA</p>
|
|
</section>
|
|
</body>
|
|
</html> |