forked from mirrors/gecko-dev
Automatic update from web-platform-tests Load Ahem as a webfont everywhere (part 2) (#17173) This change updates a large number of reftests to link to the `/fonts/ahem.css` stylesheet. Each file contains a single additional line before the first `<style>` element: ``` <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> ``` -- wp5At-commits: 9c780585758acf5e9ac6d17ad9bd03c83404c7e6 wpt-pr: 17173
27 lines
663 B
HTML
27 lines
663 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>Test reference</title>
|
|
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
|
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
|
<style>
|
|
.test {
|
|
overflow: hidden;
|
|
white-space: pre;
|
|
font: 100px/1 Ahem;
|
|
width: 2em;
|
|
}
|
|
.green {
|
|
position: absolute;
|
|
width: 100px;
|
|
height: 100px;
|
|
background: green;
|
|
margin-left: 100px;
|
|
}
|
|
span {
|
|
vertical-align: sub;
|
|
}
|
|
</style>
|
|
|
|
<p>Test passes if there are 3 filled green squares and <strong>no red</strong>.</p>
|
|
<div class="green"></div>
|
|
<div class=test><span><br><div class="green"></div><br><div class="green"></div></span></div>
|