Bug 1980099 - patch 3 - Use Ahem font in ruby-intercharacter reftests. r=layout-jp-market-reviewers,TYLin
Differential Revision: https://phabricator.services.mozilla.com/D259838
This commit is contained in:
committed by
jkew@mozilla.com
parent
b9ca83ac39
commit
c76ee171cc
@@ -23,9 +23,9 @@ test-pref(font.minimum-size.ja,16) == min-font-size-1.html min-font-size-1-ref.h
|
||||
load nested-ruby-1.html
|
||||
|
||||
# Inter-character ruby is not enabled, and its spec is not considered stable enough.
|
||||
pref(layout.css.ruby.intercharacter.enabled,true) fuzzy(0-198,0-70) == ruby-intercharacter-1.htm ruby-intercharacter-1-ref.htm
|
||||
pref(layout.css.ruby.intercharacter.enabled,true) fuzzy(0-255,0-148) == ruby-intercharacter-1.htm ruby-intercharacter-1-ref.htm
|
||||
pref(layout.css.ruby.intercharacter.enabled,false) != ruby-intercharacter-1.htm ruby-intercharacter-1-ref.htm
|
||||
pref(layout.css.ruby.intercharacter.enabled,true) fuzzy(0-92,0-186) == ruby-intercharacter-2.htm ruby-intercharacter-2-ref.htm
|
||||
pref(layout.css.ruby.intercharacter.enabled,true) fuzzy(0-255,0-300) == ruby-intercharacter-2.htm ruby-intercharacter-2-ref.htm
|
||||
pref(layout.css.ruby.intercharacter.enabled,false) != ruby-intercharacter-2.htm ruby-intercharacter-2-ref.htm
|
||||
|
||||
# Testing a specific bug for RTL handling.
|
||||
|
||||
@@ -5,24 +5,25 @@ Reftest 1 for Bug 1395777 (reference file)
|
||||
<html lang="zh-TW">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="common.css">
|
||||
<style>
|
||||
body {
|
||||
font-size: 30px;
|
||||
font: 100px Ahem;
|
||||
line-height: 1;
|
||||
}
|
||||
.rbc {
|
||||
height: 30px;
|
||||
height: 100px;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
.rtc {
|
||||
height: 30px;
|
||||
height: 100px;
|
||||
display: inline-block;
|
||||
writing-mode: vertical-rl;
|
||||
text-orientation: upright;
|
||||
vertical-align: top;
|
||||
text-align: center;
|
||||
font-size: 30%;
|
||||
font-size: 25%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
@@ -5,14 +5,16 @@ Reftest 1 for Bug 1395777 (test file)
|
||||
<html lang="zh-TW">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="common.css">
|
||||
<style>
|
||||
body {
|
||||
font-size: 30px;
|
||||
font: 100px Ahem;
|
||||
line-height: 1;
|
||||
}
|
||||
rtc {
|
||||
writing-mode: vertical-rl;
|
||||
text-orientation: upright;
|
||||
font-size: 25%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
@@ -5,12 +5,10 @@ Reftest 2 for Bug 1395777 (reference file)
|
||||
<html lang="zh-TW">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="common.css">
|
||||
<style>
|
||||
html {
|
||||
font-size: xx-large;
|
||||
}
|
||||
ruby {
|
||||
width: 1.4em;
|
||||
font: 50px/1 Ahem;
|
||||
}
|
||||
rtc {
|
||||
display: inline-block;
|
||||
@@ -18,6 +16,9 @@ rtc {
|
||||
text-orientation: upright;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
rtc:lang(zh-TW) {
|
||||
font-size: 50%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -5,14 +5,18 @@ Reftest 2 for Bug 1395777 (test file)
|
||||
<html lang="zh-TW">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="common.css">
|
||||
<style>
|
||||
html {
|
||||
font-size: xx-large;
|
||||
font: 50px/1 Ahem;
|
||||
}
|
||||
rtc {
|
||||
writing-mode: vertical-rl;
|
||||
text-orientation: upright;
|
||||
}
|
||||
rtc:lang(zh-TW) {
|
||||
font-size: 50%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user