mirror of
https://github.com/servo/servo.git
synced 2025-09-05 20:48:22 +01:00
Move per_glyph_font_fallback_a.html to wpt reftests.
This commit is contained in:
parent
6a95d4ede7
commit
850024696a
4 changed files with 25 additions and 1 deletions
|
@ -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",
|
||||
|
|
20
tests/wpt/mozilla/tests/css/per_glyph_font_fallback_a.html
Normal file
20
tests/wpt/mozilla/tests/css/per_glyph_font_fallback_a.html
Normal 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←</section>
|
||||
<section>→x</section>
|
||||
<section>→x←</section>
|
||||
</body>
|
||||
</html>
|
||||
|
23
tests/wpt/mozilla/tests/css/per_glyph_font_fallback_ref.html
Normal file
23
tests/wpt/mozilla/tests/css/per_glyph_font_fallback_ref.html
Normal 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>←</span></section>
|
||||
<section><span class=arrow>→</span>x</section>
|
||||
<section><span class=arrow>→</span>x<span class=arrow>←</span></section>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue