mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 21:58:41 +02:00
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
23 lines
590 B
HTML
23 lines
590 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>CSS Containment Test: Reference file</title>
|
|
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
|
<style>
|
|
div {
|
|
display: inline-block;
|
|
font: 100px/1 Ahem;
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
#first {
|
|
color: blue;
|
|
position: relative;
|
|
top: 20px;
|
|
}
|
|
#second {
|
|
color: green;
|
|
}
|
|
</style>
|
|
<p>Test passes if there is not a rectangle as the two boxes ("blue" and "green") are not baseline aligned.</p>
|
|
<div id="first">X</div><div id="second">X</div>
|