Move per_glyph_font_fallback_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-16 18:49:51 -04:00
parent 6a95d4ede7
commit 850024696a
4 changed files with 25 additions and 1 deletions

View file

@ -683,6 +683,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/per_glyph_font_fallback_a.html": [
{
"path": "css/per_glyph_font_fallback_a.html",
"references": [
[
"/_mozilla/css/per_glyph_font_fallback_ref.html",
"=="
]
],
"url": "/_mozilla/css/per_glyph_font_fallback_a.html"
}
],
"css/percent_height.html": [
{
"path": "css/percent_height.html",
@ -3324,6 +3336,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/per_glyph_font_fallback_a.html": [
{
"path": "css/per_glyph_font_fallback_a.html",
"references": [
[
"/_mozilla/css/per_glyph_font_fallback_ref.html",
"=="
]
],
"url": "/_mozilla/css/per_glyph_font_fallback_a.html"
}
],
"css/percent_height.html": [
{
"path": "css/percent_height.html",

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='per_glyph_font_fallback_ref.html'>
<!-- Tests that font fallback occurs on a per-glyph basis. -->
<style>
body {
font-family: Ahem, sans-serif;
font-size: 24px;
line-height: 24px;
}
</style>
</head>
<body>
<section>x&larr;</section>
<section>&rarr;x</section>
<section>&rarr;x&larr;</section>
</body>
</html>

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that font fallback occurs on a per-glyph basis. -->
<style>
body {
font-family: Ahem, sans-serif;
font-size: 24px;
line-height: 24px;
}
.arrow {
font-family: sans-serif;
}
</style>
</head>
<body>
<section>x<span class=arrow>&larr;</span></section>
<section><span class=arrow>&rarr;</span>x</section>
<section><span class=arrow>&rarr;</span>x<span class=arrow>&larr;</span></section>
</body>
</html>