Bug 1729450 - Fix up WPT reftests for text-decoration-emphasis-style-* to use more reliable ruby-based references. r=emilio

More emphasis testcases that fail because of reference renderings that don't quite match, in addition to
some simple typos ("sample" vs "Simple").

There's some redundancy here between the testcases coming from different authors, but for now I haven't
tried to rationalize that aside from dropping a duplicate individual test for 'filled dot'.

Differential Revision: https://phabricator.services.mozilla.com/D124795
This commit is contained in:
Jonathan Kew 2021-09-08 12:39:40 +00:00
Родитель 16998472a7
Коммит f3dee0bc40
37 изменённых файлов: 157 добавлений и 592 удалений

Просмотреть файл

@ -1,2 +1,3 @@
[text-emphasis-style-002.html]
expected: FAIL
fuzzy:
if (os == "mac"): maxDifference=70;totalPixels=0-11

Просмотреть файл

@ -1,5 +0,0 @@
[text-emphasis-style-006.html]
disabled:
if (os == "android") and e10s: bug 1550895 (frequently fails on geckoview)
fuzzy:
if os == "mac": maxDifference=0-96;totalPixels=0-12

Просмотреть файл

@ -1,2 +0,0 @@
[text-emphasis-style-007.html]
expected: FAIL

Просмотреть файл

@ -1,2 +0,0 @@
[text-emphasis-style-008.html]
expected: FAIL

Просмотреть файл

@ -1,2 +1,4 @@
[text-emphasis-style-010.html]
expected: FAIL
fuzzy:
if (os == "mac"): maxDifference=68;totalPixels=0-24
if (os == "win"): maxDifference=47;totalPixels=0-11

Просмотреть файл

@ -1,2 +0,0 @@
[text-emphasis-style-012.html]
expected: FAIL

Просмотреть файл

@ -0,0 +1,3 @@
[text-emphasis-style-016.html]
fuzzy:
if (os == "mac"): maxDifference=70;totalPixels=0-11

Просмотреть файл

@ -1,3 +0,0 @@
[text-emphasis-style-021.html]
expected:
FAIL

Просмотреть файл

@ -1,2 +1,3 @@
[text-emphasis-style-filled-001.xht]
expected: FAIL
fuzzy:
if (os == "win"): maxDifference=47;totalPixels=0-5

Просмотреть файл

@ -1,2 +1,3 @@
[text-emphasis-style-open-001.xht]
expected: FAIL
fuzzy:
if (os == "win"): maxDifference=47;totalPixels=0-5

Просмотреть файл

@ -1,2 +1,3 @@
[text-emphasis-style-shape-001.xht]
expected: FAIL
fuzzy:
if (os == "win"): maxDifference=47;totalPixels=0-5

Просмотреть файл

@ -1,2 +0,0 @@
[text-emphasis-style-string-001.xht]
expected: FAIL

Просмотреть файл

@ -6,7 +6,7 @@
<link rel="author" title="Yuuki Furukawa" href="mailto:tenderhearted0407@gmail.com">
</head>
<body>
<p>Test passes if "open dot" is above every single character of "Text sample".</p>
<div><ruby>T<rt>&#x2022;</rt>e<rt>&#x2022;</rt>x<rt>&#x2022;</rt>t<rt>&#x2022;</rt></ruby> <ruby>S<rt>&#x2022;</rt>i<rt>&#x2022;</rt>m<rt>&#x2022;</rt>p<rt>&#x2022;</rt>l<rt>&#x2022;</rt>e<rt>&#x2022;</rt></span></div>
<p>Test passes if "filled dot" is above every single character of "Text sample".</p>
<div><ruby>T<rt>&#x2022;</rt>e<rt>&#x2022;</rt>x<rt>&#x2022;</rt>t<rt>&#x2022;</rt></ruby> <ruby>s<rt>&#x2022;</rt>a<rt>&#x2022;</rt>m<rt>&#x2022;</rt>p<rt>&#x2022;</rt>l<rt>&#x2022;</rt>e<rt>&#x2022;</rt></span></div>
</body>
</html>

Просмотреть файл

@ -1,13 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Reference File</title>
<link rel="author" title="Tomoyuki Shimizu" href="mailto:tomoyuki.labs@gmail.com">
<!-- link rel="reviewer" title="" href="" -->
</head>
<body>
<p>Test passes if a filled dot is above every single character of "Text Sample".</p>
<div><ruby>T<rt>&#x2022;</rt>e<rt>&#x2022;</rt>x<rt>&#x2022;</rt>t<rt>&#x2022;</rt></ruby> <ruby>s<rt>&#x2022;</rt>a<rt>&#x2022;</rt>m<rt>&#x2022;</rt>p<rt>&#x2022;</rt>l<rt>&#x2022;</rt>e<rt>&#x2022;</rt></ruby></div>
</body>
</html>

Просмотреть файл

@ -5,6 +5,11 @@
<title>CSS Reference File</title>
<link rel="author" title="Tomoyuki Shimizu" href="mailto:tomoyuki.labs@gmail.com">
<!-- link rel="reviewer" title="" href="" -->
<style>
div {
font: 1.5em monospace;
}
</style>
</head>
<body>
<p>Test passes if a filled circle is above every single character of "Text Sample".</p>

Просмотреть файл

@ -9,8 +9,9 @@
</head>
<body>
<p>Test passes if "&#x25c9" is above every single character of "Text sample"</p>
<div>
<span><ruby>Text sample<rt>&#x25c9&#x25c9&#x25c9&#x25c9&#x25c9&#x25c9&#x25c9&#x25c9&#x25c9&#x25c9</rt></ruby></span>.
<div style="font: 1.5em monospace">
<span><ruby><rb>T</rb><rt>&#x25c9</rt><rb>e</rb><rt>&#x25c9</rt><rb>x</rb><rt>&#x25c9</rt><rb>t</rb><rt>&#x25c9</rt>
<rb>s</rb><rt>&#x25c9</rt><rb>a</rb><rt>&#x25c9</rt><rb>m</rb><rt>&#x25c9</rt><rb>p</rb><rt>&#x25c9</rt><rb>l</rb><rt>&#x25c9</rt><rb>e</rb><rt>&#x25c9</rt></ruby></span>.
</div>
</body>
</html>

Просмотреть файл

@ -5,9 +5,14 @@
<title>CSS Reference File</title>
<link rel="author" title="Yu.Taguchi" href="mailto:taguchu@gmail.com">
<!-- link rel="reviewer" title="" href="" -->
<style>
div {
font: 1.5em monospace;
}
</style>
</head>
<body>
<p>Test passes if &#xFE45; is aborve every single character of"Text sample".</p>
<p>Test passes if &#xFE45; is above every single character of "Text sample".</p>
<div><ruby class="dot">T<rt>&#xFE45;</rt>e<rt>&#xFE45;</rt>x<rt>&#xFE45;</rt>t<rt>&#xFE45;</rt></ruby> <ruby class="circle">s<rt>&#xFE45;</rt>a<rt>&#xFE45;</rt>m<rt>&#xFE45;</rt>p<rt>&#xFE45;</rt>l<rt>&#xFE45;</rt>e<rt>&#xFE45;</rt></span></div>
</body>
</html>

Просмотреть файл

@ -4,9 +4,14 @@
<meta charset="utf-8">
<title>CSS Reference File</title>
<link rel="author" title="Yuuki Furukawa" href="mailto:tenderhearted0407@gmail.com">
<style>
div {
font: 1.5em monospace;
}
</style>
</head>
<body>
<p>Test passes if "open dot" is above every single character of "Text sample".</p>
<div><ruby>T<rt>&#x25E6;</rt>e<rt>&#x25E6;</rt>x<rt>&#x25E6;</rt>t<rt>&#x25E6;</rt></ruby> <ruby>S<rt>&#x25E6;</rt>i<rt>&#x25E6;</rt>m<rt>&#x25E6;</rt>p<rt>&#x25E6;</rt>l<rt>&#x25E6;</rt>e<rt>&#x25E6;</rt></span></div>
<div><ruby>T<rt>&#x25E6;</rt>e<rt>&#x25E6;</rt>x<rt>&#x25E6;</rt>t<rt>&#x25E6;</rt></ruby> <ruby>s<rt>&#x25E6;</rt>a<rt>&#x25E6;</rt>m<rt>&#x25E6;</rt>p<rt>&#x25E6;</rt>l<rt>&#x25E6;</rt>e<rt>&#x25E6;</rt></span></div>
</body>
</html>

Просмотреть файл

@ -5,6 +5,11 @@
<title>CSS Reference File</title>
<link rel="author" title="Shinsuke Matsuki" href="mailto:shinsk@gmail.com">
<!-- link rel="reviewer" title="" href="" -->
<style>
div {
font: 1.5em monospace;
}
</style>
</head>
<body>
<p>Test passes if "^" is above every single character of "Text sample".</p>

Просмотреть файл

@ -4,140 +4,90 @@
<head>
<title>CSS Test: text-emphasis-style - filled - basic cases Reftest Reference</title>
<link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp" />
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com" />
<style type="text/css"><![CDATA[
.common
{
line-height: 1em;
position: relative;
}
.margin
{
margin: 18px 0 0;
}
.parent
{
border: solid 1px gray;
font-size: 2em;
font: 1.5em monospace;
width: 10em;
}
.refcommon
{
font-size: 0.5em;
left: 0em;
position: absolute;
top: -1.5em;
}
]]></style>
<script type="text/javascript">
// <![CDATA[
// Set Font Family to 'IPAMincho'
function setFontFamily () {
var fontName = 'IPAMincho';
var divs = document.getElementsByTagName('div');
var i = 0;
var div;
while (i < divs.length) {
div = divs.item(i);
if (div.className == 'parent') {
div.style.fontFamily = fontName;
}
i++;
}
}
// ]]>
</script>
</head>
<body>
<div>
<p>Test passes if each pair of upper and lower "Filler Text" in the square box is identical.</p>
filled
<div class="parent">
<div class="margin">
<span class="common">F<span class="refcommon">&#x2022;</span></span><span class="common">i<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">e<span class="refcommon">&#x2022;</span></span><span class="common">r<span class="refcommon">&#x2022;</span></span>
<div>
<ruby><rb>F</rb><rt>&#x25CF;</rt><rb>i</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>e</rb><rt>&#x25CF;</rt><rb>r</rb><rt>&#x25CF;</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x2022;</span></span><span class="common">i<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">e<span class="refcommon">&#x2022;</span></span><span class="common">r<span class="refcommon">&#x2022;</span></span>
<ruby><rb>F</rb><rt>&#x25CF;</rt><rb>i</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>e</rb><rt>&#x25CF;</rt><rb>r</rb><rt>&#x25CF;</rt></ruby>
Text
</div>
</div>
<br />
filled circle
<div class="parent">
<div class="margin">
<span class="common">F<span class="refcommon">&#x25CF;</span></span><span class="common">i<span class="refcommon">&#x25CF;</span></span><span class="common">l<span class="refcommon">&#x25CF;</span></span><span class="common">l<span class="refcommon">&#x25CF;</span></span><span class="common">e<span class="refcommon">&#x25CF;</span></span><span class="common">r<span class="refcommon">&#x25CF;</span></span>
<div>
<ruby><rb>F</rb><rt>&#x25CF;</rt><rb>i</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>e</rb><rt>&#x25CF;</rt><rb>r</rb><rt>&#x25CF;</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25CF;</span></span><span class="common">i<span class="refcommon">&#x25CF;</span></span><span class="common">l<span class="refcommon">&#x25CF;</span></span><span class="common">l<span class="refcommon">&#x25CF;</span></span><span class="common">e<span class="refcommon">&#x25CF;</span></span><span class="common">r<span class="refcommon">&#x25CF;</span></span>
<ruby><rb>F</rb><rt>&#x25CF;</rt><rb>i</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>e</rb><rt>&#x25CF;</rt><rb>r</rb><rt>&#x25CF;</rt></ruby>
Text
</div>
</div>
<br />
filled dot
<div class="parent">
<div class="margin">
<span class="common">F<span class="refcommon">&#x2022;</span></span><span class="common">i<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">e<span class="refcommon">&#x2022;</span></span><span class="common">r<span class="refcommon">&#x2022;</span></span>
<div>
<ruby><rb>F</rb><rt>&#x2022;</rt><rb>i</rb><rt>&#x2022;</rt><rb>l</rb><rt>&#x2022;</rt><rb>l</rb><rt>&#x2022;</rt><rb>e</rb><rt>&#x2022;</rt><rb>r</rb><rt>&#x2022;</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x2022;</span></span><span class="common">i<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">e<span class="refcommon">&#x2022;</span></span><span class="common">r<span class="refcommon">&#x2022;</span></span>
<ruby><rb>F</rb><rt>&#x2022;</rt><rb>i</rb><rt>&#x2022;</rt><rb>l</rb><rt>&#x2022;</rt><rb>l</rb><rt>&#x2022;</rt><rb>e</rb><rt>&#x2022;</rt><rb>r</rb><rt>&#x2022;</rt></ruby>
Text
</div>
</div>
<br />
filled double-circle
<div class="parent">
<div class="margin">
<span class="common">F<span class="refcommon">&#x25C9;</span></span><span class="common">i<span class="refcommon">&#x25C9;</span></span><span class="common">l<span class="refcommon">&#x25C9;</span></span><span class="common">l<span class="refcommon">&#x25C9;</span></span><span class="common">e<span class="refcommon">&#x25C9;</span></span><span class="common">r<span class="refcommon">&#x25C9;</span></span>
<div>
<ruby><rb>F</rb><rt>&#x25C9;</rt><rb>i</rb><rt>&#x25C9;</rt><rb>l</rb><rt>&#x25C9;</rt><rb>l</rb><rt>&#x25C9;</rt><rb>e</rb><rt>&#x25C9;</rt><rb>r</rb><rt>&#x25C9;</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25C9;</span></span><span class="common">i<span class="refcommon">&#x25C9;</span></span><span class="common">l<span class="refcommon">&#x25C9;</span></span><span class="common">l<span class="refcommon">&#x25C9;</span></span><span class="common">e<span class="refcommon">&#x25C9;</span></span><span class="common">r<span class="refcommon">&#x25C9;</span></span>
<ruby><rb>F</rb><rt>&#x25C9;</rt><rb>i</rb><rt>&#x25C9;</rt><rb>l</rb><rt>&#x25C9;</rt><rb>l</rb><rt>&#x25C9;</rt><rb>e</rb><rt>&#x25C9;</rt><rb>r</rb><rt>&#x25C9;</rt></ruby>
Text
</div>
</div>
<br />
filled sesame
<div class="parent">
<div class=" margin">
<span class="common">F<span class="refcommon">&#xFE45;</span></span><span class="common">i<span class="refcommon">&#xFE45;</span></span><span class="common">l<span class="refcommon">&#xFE45;</span></span><span class="common">l<span class="refcommon">&#xFE45;</span></span><span class="common">e<span class="refcommon">&#xFE45;</span></span><span class="common">r<span class="refcommon">&#xFE45;</span></span>
<div>
<ruby><rb>F</rb><rt>&#xFE45;</rt><rb>i</rb><rt>&#xFE45;</rt><rb>l</rb><rt>&#xFE45;</rt><rb>l</rb><rt>&#xFE45;</rt><rb>e</rb><rt>&#xFE45;</rt><rb>r</rb><rt>&#xFE45;</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#xFE45;</span></span><span class="common">i<span class="refcommon">&#xFE45;</span></span><span class="common">l<span class="refcommon">&#xFE45;</span></span><span class="common">l<span class="refcommon">&#xFE45;</span></span><span class="common">e<span class="refcommon">&#xFE45;</span></span><span class="common">r<span class="refcommon">&#xFE45;</span></span>
<ruby><rb>F</rb><rt>&#xFE45;</rt><rb>i</rb><rt>&#xFE45;</rt><rb>l</rb><rt>&#xFE45;</rt><rb>l</rb><rt>&#xFE45;</rt><rb>e</rb><rt>&#xFE45;</rt><rb>r</rb><rt>&#xFE45;</rt></ruby>
Text
</div>
</div>
<br />
filled triangle
<div class="parent">
<div class="margin">
<span class="common">F<span class="refcommon">&#x25B2;</span></span><span class="common">i<span class="refcommon">&#x25B2;</span></span><span class="common">l<span class="refcommon">&#x25B2;</span></span><span class="common">l<span class="refcommon">&#x25B2;</span></span><span class="common">e<span class="refcommon">&#x25B2;</span></span><span class="common">r<span class="refcommon">&#x25B2;</span></span>
<div>
<ruby><rb>F</rb><rt>&#x25B2;</rt><rb>i</rb><rt>&#x25B2;</rt><rb>l</rb><rt>&#x25B2;</rt><rb>l</rb><rt>&#x25B2;</rt><rb>e</rb><rt>&#x25B2;</rt><rb>r</rb><rt>&#x25B2;</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25B2;</span></span><span class="common">i<span class="refcommon">&#x25B2;</span></span><span class="common">l<span class="refcommon">&#x25B2;</span></span><span class="common">l<span class="refcommon">&#x25B2;</span></span><span class="common">e<span class="refcommon">&#x25B2;</span></span><span class="common">r<span class="refcommon">&#x25B2;</span></span>
<ruby><rb>F</rb><rt>&#x25B2;</rt><rb>i</rb><rt>&#x25B2;</rt><rb>l</rb><rt>&#x25B2;</rt><rb>l</rb><rt>&#x25B2;</rt><rb>e</rb><rt>&#x25B2;</rt><rb>r</rb><rt>&#x25B2;</rt></ruby>
Text
</div>
</div>
<p class="fontChange" style="display: block;">
If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
<button type="button" onclick="setFontFamily()">
Apply
</button>
</p>
<script type="text/javascript">
if (document.getElementById) {
document.getElementById('fontChange').style.display = 'block'
}
</script>
</div>
</body>
</html>

Просмотреть файл

@ -12,24 +12,6 @@
width: 10em;
}
]]></style>
<script type="text/javascript">
// <![CDATA[
// Set Font Family to 'IPAMincho'
function setFontFamily () {
var fontName = 'IPAMincho';
var divs = document.getElementsByTagName('div');
var i = 0;
var div;
while (i < divs.length) {
div = divs.item(i);
if (div.className == 'parent') {
div.style.fontFamily = fontName;
}
i++;
}
}
// ]]>
</script>
</head>
<body>
<p>Test passes if a pair of upper and lower "Filler Text" in the square box is identical.</p>
@ -40,17 +22,6 @@
<br />
<div>Filler Text</div>
</div>
<p class="fontChange" style="display: block;">
If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
<button type="button" onclick="setFontFamily()">
Apply
</button>
</p>
<script type="text/javascript">
if (document.getElementById) {
document.getElementById('fontChange').style.display = 'block'
}
</script>
</div>
</body>
</html>

Просмотреть файл

@ -4,100 +4,63 @@
<head>
<title>CSS Test: text-emphasis-style - open - basic cases Reftest Reference</title>
<link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp" />
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com" />
<style type="text/css"><![CDATA[
.common
{
line-height: 1em;
position: relative;
}
.margin
{
margin: 18px 0 0;
}
.parent
{
border: solid 1px gray;
font-size: 2em;
font: 1.5em monospace;
width: 10em;
}
.refcommon
{
font-size: 0.5em;
left: 0em;
position: absolute;
top: -1.5em;
}
]]></style>
<script type="text/javascript">
// <![CDATA[
// Set Font Family to 'IPAMincho'
function setFontFamily () {
var fontName = 'IPAMincho';
var divs = document.getElementsByTagName('div');
var i = 0;
var div;
while (i < divs.length) {
div = divs.item(i);
if (div.className == 'parent') {
div.style.fontFamily = fontName;
}
i++;
}
}
// ]]>
</script>
</head>
<body>
<div>
<p>Test passes if each pair of upper and lower "Filler Text" in the square box is identical.</p>
open
<div class="parent">
<div class="margin">
<span class="common">F<span class="refcommon">&#x25E6;</span></span><span class="common">i<span class="refcommon">&#x25E6;</span></span><span class="common">l<span class="refcommon">&#x25E6;</span></span><span class="common">l<span class="refcommon">&#x25E6;</span></span><span class="common">e<span class="refcommon">&#x25E6;</span></span><span class="common">r<span class="refcommon">&#x25E6;</span></span>
<div>
<ruby><rb>F</rb><rt>&#x25CB;</rt><rb>i</rb><rt>&#x25CB;</rt><rb>l</rb><rt>&#x25CB;</rt><rb>l</rb><rt>&#x25CB;</rt><rb>e</rb><rt>&#x25CB;</rt><rb>r</rb><rt>&#x25CB;</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25E6;</span></span><span class="common">i<span class="refcommon">&#x25E6;</span></span><span class="common">l<span class="refcommon">&#x25E6;</span></span><span class="common">l<span class="refcommon">&#x25E6;</span></span><span class="common">e<span class="refcommon">&#x25E6;</span></span><span class="common">r<span class="refcommon">&#x25E6;</span></span>
<ruby><rb>F</rb><rt>&#x25CB;</rt><rb>i</rb><rt>&#x25CB;</rt><rb>l</rb><rt>&#x25CB;</rt><rb>l</rb><rt>&#x25CB;</rt><rb>e</rb><rt>&#x25CB;</rt><rb>r</rb><rt>&#x25CB;</rt></ruby>
Text
</div>
</div>
<br />
open circle
<div class="parent">
<div class="margin">
<span class="common">F<span class="refcommon">&#x25CB;</span></span><span class="common">i<span class="refcommon">&#x25CB;</span></span><span class="common">l<span class="refcommon">&#x25CB;</span></span><span class="common">l<span class="refcommon">&#x25CB;</span></span><span class="common">e<span class="refcommon">&#x25CB;</span></span><span class="common">r<span class="refcommon">&#x25CB;</span></span>
<div>
<ruby><rb>F</rb><rt>&#x25CB;</rt><rb>i</rb><rt>&#x25CB;</rt><rb>l</rb><rt>&#x25CB;</rt><rb>l</rb><rt>&#x25CB;</rt><rb>e</rb><rt>&#x25CB;</rt><rb>r</rb><rt>&#x25CB;</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25CB;</span></span><span class="common">i<span class="refcommon">&#x25CB;</span></span><span class="common">l<span class="refcommon">&#x25CB;</span></span><span class="common">l<span class="refcommon">&#x25CB;</span></span><span class="common">e<span class="refcommon">&#x25CB;</span></span><span class="common">r<span class="refcommon">&#x25CB;</span></span>
<ruby><rb>F</rb><rt>&#x25CB;</rt><rb>i</rb><rt>&#x25CB;</rt><rb>l</rb><rt>&#x25CB;</rt><rb>l</rb><rt>&#x25CB;</rt><rb>e</rb><rt>&#x25CB;</rt><rb>r</rb><rt>&#x25CB;</rt></ruby>
Text
</div>
</div>
<br />
open dot
<div class="parent">
<div class="margin">
<span class="common">F<span class="refcommon">&#x25E6;</span></span><span class="common">i<span class="refcommon">&#x25E6;</span></span><span class="common">l<span class="refcommon">&#x25E6;</span></span><span class="common">l<span class="refcommon">&#x25E6;</span></span><span class="common">e<span class="refcommon">&#x25E6;</span></span><span class="common">r<span class="refcommon">&#x25E6;</span></span>
<div>
<ruby><rb>F</rb><rt>&#x25E6;</rt><rb>i</rb><rt>&#x25E6;</rt><rb>l</rb><rt>&#x25E6;</rt><rb>l</rb><rt>&#x25E6;</rt><rb>e</rb><rt>&#x25E6;</rt><rb>r</rb><rt>&#x25E6;</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25E6;</span></span><span class="common">i<span class="refcommon">&#x25E6;</span></span><span class="common">l<span class="refcommon">&#x25E6;</span></span><span class="common">l<span class="refcommon">&#x25E6;</span></span><span class="common">e<span class="refcommon">&#x25E6;</span></span><span class="common">r<span class="refcommon">&#x25E6;</span></span>
<ruby><rb>F</rb><rt>&#x25E6;</rt><rb>i</rb><rt>&#x25E6;</rt><rb>l</rb><rt>&#x25E6;</rt><rb>l</rb><rt>&#x25E6;</rt><rb>e</rb><rt>&#x25E6;</rt><rb>r</rb><rt>&#x25E6;</rt></ruby>
Text
</div>
</div>
<br />
open double-circle
<div class="parent">
<div class="margin">
<span class="common">F<span class="refcommon">&#x25CE;</span></span><span class="common">i<span class="refcommon">&#x25CE;</span></span><span class="common">l<span class="refcommon">&#x25CE;</span></span><span class="common">l<span class="refcommon">&#x25CE;</span></span><span class="common">e<span class="refcommon">&#x25CE;</span></span><span class="common">r<span class="refcommon">&#x25CE;</span></span>
<div>
<ruby><rb>F</rb><rt>&#x25CE;</rt><rb>i</rb><rt>&#x25CE;</rt><rb>l</rb><rt>&#x25CE;</rt><rb>l</rb><rt>&#x25CE;</rt><rb>e</rb><rt>&#x25CE;</rt><rb>r</rb><rt>&#x25CE;</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25CE;</span></span><span class="common">i<span class="refcommon">&#x25CE;</span></span><span class="common">l<span class="refcommon">&#x25CE;</span></span><span class="common">l<span class="refcommon">&#x25CE;</span></span><span class="common">e<span class="refcommon">&#x25CE;</span></span><span class="common">r<span class="refcommon">&#x25CE;</span></span>
<ruby><rb>F</rb><rt>&#x25CE;</rt><rb>i</rb><rt>&#x25CE;</rt><rb>l</rb><rt>&#x25CE;</rt><rb>l</rb><rt>&#x25CE;</rt><rb>e</rb><rt>&#x25CE;</rt><rb>r</rb><rt>&#x25CE;</rt></ruby>
Text
</div>
</div>
@ -105,39 +68,26 @@
open sesame
<div class="parent">
<div class=" margin">
<span class="common">F<span class="refcommon">&#xFE46;</span></span><span class="common">i<span class="refcommon">&#xFE46;</span></span><span class="common">l<span class="refcommon">&#xFE46;</span></span><span class="common">l<span class="refcommon">&#xFE46;</span></span><span class="common">e<span class="refcommon">&#xFE46;</span></span><span class="common">r<span class="refcommon">&#xFE46;</span></span>
<ruby><rb>F</rb><rt>&#xFE46;</rt><rb>i</rb><rt>&#xFE46;</rt><rb>l</rb><rt>&#xFE46;</rt><rb>l</rb><rt>&#xFE46;</rt><rb>e</rb><rt>&#xFE46;</rt><rb>r</rb><rt>&#xFE46;</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#xFE46;</span></span><span class="common">i<span class="refcommon">&#xFE46;</span></span><span class="common">l<span class="refcommon">&#xFE46;</span></span><span class="common">l<span class="refcommon">&#xFE46;</span></span><span class="common">e<span class="refcommon">&#xFE46;</span></span><span class="common">r<span class="refcommon">&#xFE46;</span></span>
<ruby><rb>F</rb><rt>&#xFE46;</rt><rb>i</rb><rt>&#xFE46;</rt><rb>l</rb><rt>&#xFE46;</rt><rb>l</rb><rt>&#xFE46;</rt><rb>e</rb><rt>&#xFE46;</rt><rb>r</rb><rt>&#xFE46;</rt></ruby>
Text
</div>
</div>
<br />
open triangle
<div class="parent">
<div class="margin">
<span class="common">F<span class="refcommon">&#x25B3;</span></span><span class="common">i<span class="refcommon">&#x25B3;</span></span><span class="common">l<span class="refcommon">&#x25B3;</span></span><span class="common">l<span class="refcommon">&#x25B3;</span></span><span class="common">e<span class="refcommon">&#x25B3;</span></span><span class="common">r<span class="refcommon">&#x25B3;</span></span>
<div>
<ruby><rb>F</rb><rt>&#x25B3;</rt><rb>i</rb><rt>&#x25B3;</rt><rb>l</rb><rt>&#x25B3;</rt><rb>l</rb><rt>&#x25B3;</rt><rb>e</rb><rt>&#x25B3;</rt><rb>r</rb><rt>&#x25B3;</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25B3;</span></span><span class="common">i<span class="refcommon">&#x25B3;</span></span><span class="common">l<span class="refcommon">&#x25B3;</span></span><span class="common">l<span class="refcommon">&#x25B3;</span></span><span class="common">e<span class="refcommon">&#x25B3;</span></span><span class="common">r<span class="refcommon">&#x25B3;</span></span>
<ruby><rb>F</rb><rt>&#x25B3;</rt><rb>i</rb><rt>&#x25B3;</rt><rb>l</rb><rt>&#x25B3;</rt><rb>l</rb><rt>&#x25B3;</rt><rb>e</rb><rt>&#x25B3;</rt><rb>r</rb><rt>&#x25B3;</rt></ruby>
Text
</div>
</div>
<p class="fontChange" style="display: block;">
If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
<button type="button" onclick="setFontFamily()">
Apply
</button>
</p>
<script type="text/javascript">
if (document.getElementById) {
document.getElementById('fontChange').style.display = 'block'
}
</script>
</div>
</body>
</html>

Просмотреть файл

@ -4,127 +4,78 @@
<head>
<title>CSS Test: text-emphasis-style - shape - basic cases Reftest Reference</title>
<link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp" />
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com" />
<style type="text/css"><![CDATA[
.common
{
line-height: 1em;
position: relative;
}
.margin
{
margin: 18px 0 0;
}
.parent
{
border: solid 1px gray;
font-size: 2em;
font: 1.5em monospace;
width: 10em;
}
.refcommon
{
font-size: 0.5em;
left: 0em;
position: absolute;
top: -1.5em;
}
]]></style>
<script type="text/javascript">
// <![CDATA[
// Set Font Family to 'IPAMincho'
function setFontFamily () {
var fontName = 'IPAMincho';
var divs = document.getElementsByTagName('div');
var i = 0;
var div;
while (i < divs.length) {
div = divs.item(i);
if (div.className == 'parent') {
div.style.fontFamily = fontName;
}
i++;
}
}
// ]]>
</script>
</head>
<body>
<div>
<p>Test passes if each pair of upper and lower "Filler Text" in the square box is identical.</p>
circle
<div class="parent">
<div class="margin">
<span class="common">F<span class="refcommon">&#x25CF;</span></span><span class="common">i<span class="refcommon">&#x25CF;</span></span><span class="common">l<span class="refcommon">&#x25CF;</span></span><span class="common">l<span class="refcommon">&#x25CF;</span></span><span class="common">e<span class="refcommon">&#x25CF;</span></span><span class="common">r<span class="refcommon">&#x25CF;</span></span>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25CF;</span></span><span class="common">i<span class="refcommon">&#x25CF;</span></span><span class="common">l<span class="refcommon">&#x25CF;</span></span><span class="common">l<span class="refcommon">&#x25CF;</span></span><span class="common">e<span class="refcommon">&#x25CF;</span></span><span class="common">r<span class="refcommon">&#x25CF;</span></span>
<ruby><rb>F</rb><rt>&#x25CF;</rt><rb>i</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>e</rb><rt>&#x25CF;</rt><rb>r</rb><rt>&#x25CF;</rt></ruby>
Text
</div>
<div>
<ruby><rb>F</rb><rt>&#x25CF;</rt><rb>i</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>e</rb><rt>&#x25CF;</rt><rb>r</rb><rt>&#x25CF;</rt></ruby>
Text
</div>
</div>
<br />
dot
<div class="parent">
<div class="margin">
<span class="common">F<span class="refcommon">&#x2022;</span></span><span class="common">i<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">e<span class="refcommon">&#x2022;</span></span><span class="common">r<span class="refcommon">&#x2022;</span></span>
<div>
<ruby><rb>F</rb><rt>&#x2022;</rt><rb>i</rb><rt>&#x2022;</rt><rb>l</rb><rt>&#x2022;</rt><rb>l</rb><rt>&#x2022;</rt><rb>e</rb><rt>&#x2022;</rt><rb>r</rb><rt>&#x2022;</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x2022;</span></span><span class="common">i<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">e<span class="refcommon">&#x2022;</span></span><span class="common">r<span class="refcommon">&#x2022;</span></span>
<ruby><rb>F</rb><rt>&#x2022;</rt><rb>i</rb><rt>&#x2022;</rt><rb>l</rb><rt>&#x2022;</rt><rb>l</rb><rt>&#x2022;</rt><rb>e</rb><rt>&#x2022;</rt><rb>r</rb><rt>&#x2022;</rt></ruby>
Text
</div>
</div>
<br />
double-circle
<div class="parent">
<div class="margin">
<span class="common">F<span class="refcommon">&#x25C9;</span></span><span class="common">i<span class="refcommon">&#x25C9;</span></span><span class="common">l<span class="refcommon">&#x25C9;</span></span><span class="common">l<span class="refcommon">&#x25C9;</span></span><span class="common">e<span class="refcommon">&#x25C9;</span></span><span class="common">r<span class="refcommon">&#x25C9;</span></span>
<div>
<ruby><rb>F</rb><rt>&#x25C9;</rt><rb>i</rb><rt>&#x25C9;</rt><rb>l</rb><rt>&#x25C9;</rt><rb>l</rb><rt>&#x25C9;</rt><rb>e</rb><rt>&#x25C9;</rt><rb>r</rb><rt>&#x25C9;</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25C9;</span></span><span class="common">i<span class="refcommon">&#x25C9;</span></span><span class="common">l<span class="refcommon">&#x25C9;</span></span><span class="common">l<span class="refcommon">&#x25C9;</span></span><span class="common">e<span class="refcommon">&#x25C9;</span></span><span class="common">r<span class="refcommon">&#x25C9;</span></span>
<ruby><rb>F</rb><rt>&#x25C9;</rt><rb>i</rb><rt>&#x25C9;</rt><rb>l</rb><rt>&#x25C9;</rt><rb>l</rb><rt>&#x25C9;</rt><rb>e</rb><rt>&#x25C9;</rt><rb>r</rb><rt>&#x25C9;</rt></ruby>
Text
</div>
</div>
<br />
sesame
<div class="parent">
<div class=" margin">
<span class="common">F<span class="refcommon">&#xFE45;</span></span><span class="common">i<span class="refcommon">&#xFE45;</span></span><span class="common">l<span class="refcommon">&#xFE45;</span></span><span class="common">l<span class="refcommon">&#xFE45;</span></span><span class="common">e<span class="refcommon">&#xFE45;</span></span><span class="common">r<span class="refcommon">&#xFE45;</span></span>
<div>
<ruby><rb>F</rb><rt>&#xFE45;</rt><rb>i</rb><rt>&#xFE45;</rt><rb>l</rb><rt>&#xFE45;</rt><rb>l</rb><rt>&#xFE45;</rt><rb>e</rb><rt>&#xFE45;</rt><rb>r</rb><rt>&#xFE45;</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#xFE45;</span></span><span class="common">i<span class="refcommon">&#xFE45;</span></span><span class="common">l<span class="refcommon">&#xFE45;</span></span><span class="common">l<span class="refcommon">&#xFE45;</span></span><span class="common">e<span class="refcommon">&#xFE45;</span></span><span class="common">r<span class="refcommon">&#xFE45;</span></span>
<ruby><rb>F</rb><rt>&#xFE45;</rt><rb>i</rb><rt>&#xFE45;</rt><rb>l</rb><rt>&#xFE45;</rt><rb>l</rb><rt>&#xFE45;</rt><rb>e</rb><rt>&#xFE45;</rt><rb>r</rb><rt>&#xFE45;</rt></ruby>
Text
</div>
</div>
<br />
triangle
<div class="parent">
<div class="margin">
<span class="common">F<span class="refcommon">&#x25B2;</span></span><span class="common">i<span class="refcommon">&#x25B2;</span></span><span class="common">l<span class="refcommon">&#x25B2;</span></span><span class="common">l<span class="refcommon">&#x25B2;</span></span><span class="common">e<span class="refcommon">&#x25B2;</span></span><span class="common">r<span class="refcommon">&#x25B2;</span></span>
<div>
<ruby><rb>F</rb><rt>&#x25B2;</rt><rb>i</rb><rt>&#x25B2;</rt><rb>l</rb><rt>&#x25B2;</rt><rb>l</rb><rt>&#x25B2;</rt><rb>e</rb><rt>&#x25B2;</rt><rb>r</rb><rt>&#x25B2;</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25B2;</span></span><span class="common">i<span class="refcommon">&#x25B2;</span></span><span class="common">l<span class="refcommon">&#x25B2;</span></span><span class="common">l<span class="refcommon">&#x25B2;</span></span><span class="common">e<span class="refcommon">&#x25B2;</span></span><span class="common">r<span class="refcommon">&#x25B2;</span></span>
<ruby><rb>F</rb><rt>&#x25B2;</rt><rb>i</rb><rt>&#x25B2;</rt><rb>l</rb><rt>&#x25B2;</rt><rb>l</rb><rt>&#x25B2;</rt><rb>e</rb><rt>&#x25B2;</rt><rb>r</rb><rt>&#x25B2;</rt></ruby>
Text
</div>
</div>
<p class="fontChange" style="display: block;">
If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
<button type="button" onclick="setFontFamily()">
Apply
</button>
</p>
<script type="text/javascript">
if (document.getElementById) {
document.getElementById('fontChange').style.display = 'block'
}
</script>
</div>
</body>
</html>

Просмотреть файл

@ -5,74 +5,29 @@
<title>CSS Test: text-emphasis-style - string - basic cases Reftest Reference</title>
<link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp" />
<style type="text/css"><![CDATA[
.common
{
line-height: 1em;
position: relative;
}
.margin
{
margin: 18px 0 0;
}
.parent
{
border: solid 1px gray;
font-size: 2em;
font: 1.5em monospace;
width: 10em;
}
.refcommon
{
font-size: 0.5em;
left: 0em;
position: absolute;
top: -1.5em;
}
]]></style>
<script type="text/javascript">
// <![CDATA[
// Set Font Family to 'IPAMincho'
function setFontFamily () {
var fontName = 'IPAMincho';
var divs = document.getElementsByTagName('div');
var i = 0;
var div;
while (i < divs.length) {
div = divs.item(i);
if (div.className == 'parent') {
div.style.fontFamily = fontName;
}
i++;
}
}
// ]]>
</script>
</head>
<body>
<div>
<p>Test passes if a pair of upper and lower "Filler Text" in the square box is identical.</p>
string
<div class="parent">
<div class="margin">
<span class="common">F<span class="refcommon">!</span></span><span class="common">i<span class="refcommon">!</span></span><span class="common">l<span class="refcommon">!</span></span><span class="common">l<span class="refcommon">!</span></span><span class="common">e<span class="refcommon">!</span></span><span class="common">r<span class="refcommon">!</span></span>
<div>
<ruby><rb>F</rb><rt>!</rt><rb>i</rb><rt>!</rt><rb>l</rb><rt>!</rt><rb>l</rb><rt>!</rt><rb>e</rb><rt>!</rt><rb>r</rb><rt>!</rt></ruby>
Text
</div>
<br />
<div>
<span class="common">F<span class="refcommon">!</span></span><span class="common">i<span class="refcommon">!</span></span><span class="common">l<span class="refcommon">!</span></span><span class="common">l<span class="refcommon">!</span></span><span class="common">e<span class="refcommon">!</span></span><span class="common">r<span class="refcommon">!</span></span>
<ruby><rb>F</rb><rt>!</rt><rb>i</rb><rt>!</rt><rb>l</rb><rt>!</rt><rb>l</rb><rt>!</rt><rb>e</rb><rt>!</rt><rb>r</rb><rt>!</rt></ruby>
Text
</div>
</div>
<p class="fontChange" style="display: block;">
If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
<button type="button" onclick="setFontFamily()">
Apply
</button>
</p>
<script type="text/javascript">
if (document.getElementById) {
document.getElementById('fontChange').style.display = 'block'
}
</script>
</div>
</body>
</html>

Просмотреть файл

@ -14,7 +14,7 @@ span{
</style>
</head>
<body>
<p>Test passes if "open dot" is above every single character of "Text sample".</p>
<p>Test passes if "filled dot" is above every single character of "Text sample".</p>
<div><span>Text</span> <span>sample</span></div>
</body>
</html>

Просмотреть файл

@ -1,20 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Text Decoration Test - text-emphasis</title>
<link rel="author" title="TestTWF Tokyo Meetup (Unofficial)" href="mailto:tomoyuki.labs@gmail.com">
<link rel="help" href="http://www.w3.org/TR/css-text-decor-3/#text-emphasis-style-property" title="3.1. Emphasis Mark Style: the text-emphasis-style property">
<link rel="match" href="reference/text-emphasis-style-006.html">
<meta name="assert" content="Test checks 'text-emphasis-style: filled dot'">
<style>
span {
text-emphasis-style: filled dot;
}
</style>
</head>
<body>
<p>Test passes if a filled dot is above every single character of "Text Sample".</p>
<div><span>Text</span> <span>sample</span></div>
</body>
</html>

Просмотреть файл

@ -8,9 +8,12 @@
<link rel="match" href="reference/text-emphasis-style-007.html">
<meta name="assert" content="Test checks 'text-emphasis-style: filled circle'">
<style>
span {
text-emphasis-style: filled circle;
}
div {
font: 1.5em monospace;
}
span {
text-emphasis-style: filled circle;
}
</style>
</head>
<body>

Просмотреть файл

@ -15,7 +15,7 @@
</head>
<body>
<p>Test passes if "&#x25c9" is above every single character of "Text sample"</p>
<div>
<div style="font: 1.5em monospace">
<span>Text sample</span>.
</div>
</body>

Просмотреть файл

@ -8,13 +8,16 @@
title="3.1 Emphasis Mark Style: the text-emphasis-style property">
<link rel="match" href="reference/text-emphasis-style-010-ref.html">
<style>
div {
font: 1.5em monospace;
}
span {
text-emphasis-style: filled sesame;
}
}
</style>
</head>
<body>
<p>Test passes if &#xFE45; is aborve every single character of"Text sample".</p>
<p>Test passes if &#xFE45; is above every single character of "Text sample".</p>
<div><span>Text</span> <span>sample</span></div>
</body>
</html>

Просмотреть файл

@ -8,6 +8,9 @@
<link rel="match" href="reference/text-emphasis-style-012-ref.html">
<meta name="assert" content="This test checks 'text-emphasis-style: open dot;'">
<style>
div {
font: 1.5em monospace;
}
span {
text-emphasis-style: open dot;
}

Просмотреть файл

@ -5,7 +5,8 @@
<title>CSS Text Decoration Test - text-emphasis</title>
<link rel="author" title="Fuyuko Ikeguchi" href="mailto:fuyuko.ikeguchi@gmail.com">
<link rel="help" href="http://www.w3.org/TR/css-text-decor-3/#text-emphasis-style-property">
<meta name="assert" content="Test checks that [explanation of what you're trying to test].">
<meta name="assert" content="Test checks that 'text-emphasis-style: dot' renders as 'filled dot'.">
<link rel="match" href="reference/text-emphasis-style-002-ref.html">
<style>
.test {
text-emphasis-style: dot;
@ -13,7 +14,7 @@
</style>
</head>
<body>
<p>Test passes if the small dot appears above "Text sample".</p>
<p>Test passes if "filled dot" is above every single character of "Text sample".</p>
<div><span class="test">Text</span> <span class="test">sample</span></div>
</body>
</html>

Просмотреть файл

@ -8,9 +8,12 @@
<link rel="match" href="reference/text-emphasis-style-021-ref.html">
<meta name="assert" content="This test checks 'text-emphasis-style:string'.">
<style>
span {
div {
font: 1.5em monospace;
}
span {
text-emphasis-style: '^';
}
}
</style>
</head>
<body>

Просмотреть файл

@ -4,32 +4,21 @@
<head>
<title>CSS Test: text-emphasis-style - filled - basic cases</title>
<link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp" />
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com" />
<link rel="help" title="CSS Text Level 3: 11.2.1. Emphasis Mark Style: the text-emphasis-style property" href="http://www.w3.org/TR/css-text-decor-3/#text-emphasis-style-property" />
<link rel="match" href="reference/text-emphasis-style-filled-001-ref.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="This property applies emphasis marks to the element's text. " />
<style type="text/css"><![CDATA[
.common
{
line-height: 1em;
position: relative;
}
.parent
{
border: solid 1px gray;
font-size: 2em;
font: 1.5em monospace;
width: 10em;
}
.refcommon
{
font-size: 0.5em;
left: 0em;
position: absolute;
top: -1.5em;
}
#test1
{
text-emphasis-style: filled;
text-emphasis-style: filled; /* missing shape computes to 'circle' */
}
#test2
{
@ -52,24 +41,6 @@
text-emphasis-style: filled triangle;
}
]]></style>
<script type="text/javascript">
// <![CDATA[
// Set Font Family to 'IPAMincho'
function setFontFamily () {
var fontName = 'IPAMincho';
var divs = document.getElementsByTagName('div');
var i = 0;
var div;
while (i < divs.length) {
div = divs.item(i);
if (div.className == 'parent') {
div.style.fontFamily = fontName;
}
i++;
}
}
// ]]>
</script>
</head>
<body>
<div>
@ -77,9 +48,8 @@
filled
<div class="parent">
<div><span id="test1">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x2022;</span></span><span class="common">i<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">e<span class="refcommon">&#x2022;</span></span><span class="common">r<span class="refcommon">&#x2022;</span></span>
<ruby><rb>F</rb><rt>&#x25CF;</rt><rb>i</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>e</rb><rt>&#x25CF;</rt><rb>r</rb><rt>&#x25CF;</rt></ruby>
Text
</div>
</div>
@ -87,9 +57,8 @@
filled circle
<div class="parent">
<div><span id="test2">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25CF;</span></span><span class="common">i<span class="refcommon">&#x25CF;</span></span><span class="common">l<span class="refcommon">&#x25CF;</span></span><span class="common">l<span class="refcommon">&#x25CF;</span></span><span class="common">e<span class="refcommon">&#x25CF;</span></span><span class="common">r<span class="refcommon">&#x25CF;</span></span>
<ruby><rb>F</rb><rt>&#x25CF;</rt><rb>i</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>e</rb><rt>&#x25CF;</rt><rb>r</rb><rt>&#x25CF;</rt></ruby>
Text
</div>
</div>
@ -97,9 +66,8 @@
filled dot
<div class="parent">
<div><span id="test3">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x2022;</span></span><span class="common">i<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">e<span class="refcommon">&#x2022;</span></span><span class="common">r<span class="refcommon">&#x2022;</span></span>
<ruby><rb>F</rb><rt>&#x2022;</rt><rb>i</rb><rt>&#x2022;</rt><rb>l</rb><rt>&#x2022;</rt><rb>l</rb><rt>&#x2022;</rt><rb>e</rb><rt>&#x2022;</rt><rb>r</rb><rt>&#x2022;</rt></ruby>
Text
</div>
</div>
@ -107,9 +75,8 @@
filled double-circle
<div class="parent">
<div><span id="test4">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25C9;</span></span><span class="common">i<span class="refcommon">&#x25C9;</span></span><span class="common">l<span class="refcommon">&#x25C9;</span></span><span class="common">l<span class="refcommon">&#x25C9;</span></span><span class="common">e<span class="refcommon">&#x25C9;</span></span><span class="common">r<span class="refcommon">&#x25C9;</span></span>
<ruby><rb>F</rb><rt>&#x25C9;</rt><rb>i</rb><rt>&#x25C9;</rt><rb>l</rb><rt>&#x25C9;</rt><rb>l</rb><rt>&#x25C9;</rt><rb>e</rb><rt>&#x25C9;</rt><rb>r</rb><rt>&#x25C9;</rt></ruby>
Text
</div>
</div>
@ -117,33 +84,20 @@
filled sesame
<div class="parent">
<div><span id="test5">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#xFE45;</span></span><span class="common">i<span class="refcommon">&#xFE45;</span></span><span class="common">l<span class="refcommon">&#xFE45;</span></span><span class="common">l<span class="refcommon">&#xFE45;</span></span><span class="common">e<span class="refcommon">&#xFE45;</span></span><span class="common">r<span class="refcommon">&#xFE45;</span></span>
Text
<ruby><rb>F</rb><rt>&#xFE45;</rt><rb>i</rb><rt>&#xFE45;</rt><rb>l</rb><rt>&#xFE45;</rt><rb>l</rb><rt>&#xFE45;</rt><rb>e</rb><rt>&#xFE45;</rt><rb>r</rb><rt>&#xFE45;</rt></ruby>
Text
</div>
</div>
<br />
filled triangle
<div class="parent">
<div><span id="test6">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25B2;</span></span><span class="common">i<span class="refcommon">&#x25B2;</span></span><span class="common">l<span class="refcommon">&#x25B2;</span></span><span class="common">l<span class="refcommon">&#x25B2;</span></span><span class="common">e<span class="refcommon">&#x25B2;</span></span><span class="common">r<span class="refcommon">&#x25B2;</span></span>
Text
<ruby><rb>F</rb><rt>&#x25B2;</rt><rb>i</rb><rt>&#x25B2;</rt><rb>l</rb><rt>&#x25B2;</rt><rb>l</rb><rt>&#x25B2;</rt><rb>e</rb><rt>&#x25B2;</rt><rb>r</rb><rt>&#x25B2;</rt></ruby>
Text
</div>
</div>
<p class="fontChange" style="display: block;">
If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
<button type="button" onclick="setFontFamily()">
Apply
</button>
</p>
<script type="text/javascript">
if (document.getElementById) {
document.getElementById('fontChange').style.display = 'block'
}
</script>
</div>
</body>
</html>

Просмотреть файл

@ -20,24 +20,6 @@
text-emphasis-style: none;
}
]]></style>
<script type="text/javascript">
// <![CDATA[
// Set Font Family to 'IPAMincho'
function setFontFamily () {
var fontName = 'IPAMincho';
var divs = document.getElementsByTagName('div');
var i = 0;
var div;
while (i < divs.length) {
div = divs.item(i);
if (div.className == 'parent') {
div.style.fontFamily = fontName;
}
i++;
}
}
// ]]>
</script>
</head>
<body>
<div>
@ -48,17 +30,6 @@
<br />
<div>Filler Text</div>
</div>
<p class="fontChange" style="display: block;">
If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
<button type="button" onclick="setFontFamily()">
Apply
</button>
</p>
<script type="text/javascript">
if (document.getElementById) {
document.getElementById('fontChange').style.display = 'block'
}
</script>
</div>
</body>
</html>

Просмотреть файл

@ -4,29 +4,18 @@
<head>
<title>CSS Test: text-emphasis-style - open - basic cases</title>
<link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp" />
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com" />
<link rel="help" title="CSS Text Level 3: 11.2.1. Emphasis Mark Style: the text-emphasis-style property" href="http://www.w3.org/TR/css-text-decor-3/#text-emphasis-style-property" />
<link rel="match" href="reference/text-emphasis-style-open-001-ref.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="This property applies emphasis marks to the element's text. " />
<style type="text/css"><![CDATA[
.common
{
line-height: 1em;
position: relative;
}
.parent
{
border: solid 1px gray;
font-size: 2em;
font: 1.5em monospace;
width: 10em;
}
.refcommon
{
font-size: 0.5em;
left: 0em;
position: absolute;
top: -1.5em;
}
#test1
{
text-emphasis-style: open;
@ -52,24 +41,6 @@
text-emphasis-style: open triangle;
}
]]></style>
<script type="text/javascript">
// <![CDATA[
// Set Font Family to 'IPAMincho'
function setFontFamily () {
var fontName = 'IPAMincho';
var divs = document.getElementsByTagName('div');
var i = 0;
var div;
while (i < divs.length) {
div = divs.item(i);
if (div.className == 'parent') {
div.style.fontFamily = fontName;
}
i++;
}
}
// ]]>
</script>
</head>
<body>
<div>
@ -77,9 +48,8 @@
open
<div class="parent">
<div><span id="test1">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25E6;</span></span><span class="common">i<span class="refcommon">&#x25E6;</span></span><span class="common">l<span class="refcommon">&#x25E6;</span></span><span class="common">l<span class="refcommon">&#x25E6;</span></span><span class="common">e<span class="refcommon">&#x25E6;</span></span><span class="common">r<span class="refcommon">&#x25E6;</span></span>
<ruby><rb>F</rb><rt>&#x25CB;</rt><rb>i</rb><rt>&#x25CB;</rt><rb>l</rb><rt>&#x25CB;</rt><rb>l</rb><rt>&#x25CB;</rt><rb>e</rb><rt>&#x25CB;</rt><rb>r</rb><rt>&#x25CB;</rt></ruby>
Text
</div>
</div>
@ -87,9 +57,8 @@
open circle
<div class="parent">
<div><span id="test2">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25CB;</span></span><span class="common">i<span class="refcommon">&#x25CB;</span></span><span class="common">l<span class="refcommon">&#x25CB;</span></span><span class="common">l<span class="refcommon">&#x25CB;</span></span><span class="common">e<span class="refcommon">&#x25CB;</span></span><span class="common">r<span class="refcommon">&#x25CB;</span></span>
<ruby><rb>F</rb><rt>&#x25CB;</rt><rb>i</rb><rt>&#x25CB;</rt><rb>l</rb><rt>&#x25CB;</rt><rb>l</rb><rt>&#x25CB;</rt><rb>e</rb><rt>&#x25CB;</rt><rb>r</rb><rt>&#x25CB;</rt></ruby>
Text
</div>
</div>
@ -97,9 +66,8 @@
open dot
<div class="parent">
<div><span id="test3">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25E6;</span></span><span class="common">i<span class="refcommon">&#x25E6;</span></span><span class="common">l<span class="refcommon">&#x25E6;</span></span><span class="common">l<span class="refcommon">&#x25E6;</span></span><span class="common">e<span class="refcommon">&#x25E6;</span></span><span class="common">r<span class="refcommon">&#x25E6;</span></span>
<ruby><rb>F</rb><rt>&#x25E6;</rt><rb>i</rb><rt>&#x25E6;</rt><rb>l</rb><rt>&#x25E6;</rt><rb>l</rb><rt>&#x25E6;</rt><rb>e</rb><rt>&#x25E6;</rt><rb>r</rb><rt>&#x25E6;</rt></ruby>
Text
</div>
</div>
@ -107,9 +75,8 @@
open double-circle
<div class="parent">
<div><span id="test4">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25CE;</span></span><span class="common">i<span class="refcommon">&#x25CE;</span></span><span class="common">l<span class="refcommon">&#x25CE;</span></span><span class="common">l<span class="refcommon">&#x25CE;</span></span><span class="common">e<span class="refcommon">&#x25CE;</span></span><span class="common">r<span class="refcommon">&#x25CE;</span></span>
<ruby><rb>F</rb><rt>&#x25CE;</rt><rb>i</rb><rt>&#x25CE;</rt><rb>l</rb><rt>&#x25CE;</rt><rb>l</rb><rt>&#x25CE;</rt><rb>e</rb><rt>&#x25CE;</rt><rb>r</rb><rt>&#x25CE;</rt></ruby>
Text
</div>
</div>
@ -117,9 +84,8 @@
open sesame
<div class="parent">
<div><span id="test5">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#xFE46;</span></span><span class="common">i<span class="refcommon">&#xFE46;</span></span><span class="common">l<span class="refcommon">&#xFE46;</span></span><span class="common">l<span class="refcommon">&#xFE46;</span></span><span class="common">e<span class="refcommon">&#xFE46;</span></span><span class="common">r<span class="refcommon">&#xFE46;</span></span>
<ruby><rb>F</rb><rt>&#xFE46;</rt><rb>i</rb><rt>&#xFE46;</rt><rb>l</rb><rt>&#xFE46;</rt><rb>l</rb><rt>&#xFE46;</rt><rb>e</rb><rt>&#xFE46;</rt><rb>r</rb><rt>&#xFE46;</rt></ruby>
Text
</div>
</div>
@ -127,23 +93,11 @@
open triangle
<div class="parent">
<div><span id="test6">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25B3;</span></span><span class="common">i<span class="refcommon">&#x25B3;</span></span><span class="common">l<span class="refcommon">&#x25B3;</span></span><span class="common">l<span class="refcommon">&#x25B3;</span></span><span class="common">e<span class="refcommon">&#x25B3;</span></span><span class="common">r<span class="refcommon">&#x25B3;</span></span>
<ruby><rb>F</rb><rt>&#x25B3;</rt><rb>i</rb><rt>&#x25B3;</rt><rb>l</rb><rt>&#x25B3;</rt><rb>l</rb><rt>&#x25B3;</rt><rb>e</rb><rt>&#x25B3;</rt><rb>r</rb><rt>&#x25B3;</rt></ruby>
Text
</div>
</div>
<p class="fontChange" style="display: block;">
If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
<button type="button" onclick="setFontFamily()">
Apply
</button>
</p>
<script type="text/javascript">
if (document.getElementById) {
document.getElementById('fontChange').style.display = 'block'
}
</script>
</div>
</body>
</html>

Просмотреть файл

@ -4,29 +4,18 @@
<head>
<title>CSS Test: text-emphasis-style - shape - basic cases</title>
<link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp" />
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com" />
<link rel="help" title="CSS Text Level 3: 11.2.1. Emphasis Mark Style: the text-emphasis-style property" href="http://www.w3.org/TR/css-text-decor-3/#text-emphasis-style-property" />
<link rel="match" href="reference/text-emphasis-style-shape-001-ref.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="This property applies emphasis marks to the element's text. " />
<style type="text/css"><![CDATA[
.common
{
line-height: 1em;
position: relative;
}
.parent
{
border: solid 1px gray;
font-size: 2em;
font: 1.5em monospace;
width: 10em;
}
.refcommon
{
font-size: 0.5em;
left: 0em;
position: absolute;
top: -1.5em;
}
#test1
{
text-emphasis-style: circle;
@ -48,24 +37,6 @@
text-emphasis-style: triangle;
}
]]></style>
<script type="text/javascript">
// <![CDATA[
// Set Font Family to 'IPAMincho'
function setFontFamily () {
var fontName = 'IPAMincho';
var divs = document.getElementsByTagName('div');
var i = 0;
var div;
while (i < divs.length) {
div = divs.item(i);
if (div.className == 'parent') {
div.style.fontFamily = fontName;
}
i++;
}
}
// ]]>
</script>
</head>
<body>
<div>
@ -73,9 +44,8 @@
circle
<div class="parent">
<div><span id="test1">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25CF;</span></span><span class="common">i<span class="refcommon">&#x25CF;</span></span><span class="common">l<span class="refcommon">&#x25CF;</span></span><span class="common">l<span class="refcommon">&#x25CF;</span></span><span class="common">e<span class="refcommon">&#x25CF;</span></span><span class="common">r<span class="refcommon">&#x25CF;</span></span>
<ruby><rb>F</rb><rt>&#x25CF;</rt><rb>i</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>l</rb><rt>&#x25CF;</rt><rb>e</rb><rt>&#x25CF;</rt><rb>r</rb><rt>&#x25CF;</rt></ruby>
Text
</div>
</div>
@ -83,9 +53,8 @@
dot
<div class="parent">
<div><span id="test2">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x2022;</span></span><span class="common">i<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">l<span class="refcommon">&#x2022;</span></span><span class="common">e<span class="refcommon">&#x2022;</span></span><span class="common">r<span class="refcommon">&#x2022;</span></span>
<ruby><rb>F</rb><rt>&#x2022;</rt><rb>i</rb><rt>&#x2022;</rt><rb>l</rb><rt>&#x2022;</rt><rb>l</rb><rt>&#x2022;</rt><rb>e</rb><rt>&#x2022;</rt><rb>r</rb><rt>&#x2022;</rt></ruby>
Text
</div>
</div>
@ -93,9 +62,8 @@
double-circle
<div class="parent">
<div><span id="test3">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25C9;</span></span><span class="common">i<span class="refcommon">&#x25C9;</span></span><span class="common">l<span class="refcommon">&#x25C9;</span></span><span class="common">l<span class="refcommon">&#x25C9;</span></span><span class="common">e<span class="refcommon">&#x25C9;</span></span><span class="common">r<span class="refcommon">&#x25C9;</span></span>
<ruby><rb>F</rb><rt>&#x25C9;</rt><rb>i</rb><rt>&#x25C9;</rt><rb>l</rb><rt>&#x25C9;</rt><rb>l</rb><rt>&#x25C9;</rt><rb>e</rb><rt>&#x25C9;</rt><rb>r</rb><rt>&#x25C9;</rt></ruby>
Text
</div>
</div>
@ -103,9 +71,8 @@
sesame
<div class="parent">
<div><span id="test4">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#xFE45;</span></span><span class="common">i<span class="refcommon">&#xFE45;</span></span><span class="common">l<span class="refcommon">&#xFE45;</span></span><span class="common">l<span class="refcommon">&#xFE45;</span></span><span class="common">e<span class="refcommon">&#xFE45;</span></span><span class="common">r<span class="refcommon">&#xFE45;</span></span>
<ruby><rb>F</rb><rt>&#xFE45;</rt><rb>i</rb><rt>&#xFE45;</rt><rb>l</rb><rt>&#xFE45;</rt><rb>l</rb><rt>&#xFE45;</rt><rb>e</rb><rt>&#xFE45;</rt><rb>r</rb><rt>&#xFE45;</rt></ruby>
Text
</div>
</div>
@ -113,23 +80,11 @@
triangle
<div class="parent">
<div><span id="test5">Filler</span> Text</div>
<br />
<div>
<span class="common">F<span class="refcommon">&#x25B2;</span></span><span class="common">i<span class="refcommon">&#x25B2;</span></span><span class="common">l<span class="refcommon">&#x25B2;</span></span><span class="common">l<span class="refcommon">&#x25B2;</span></span><span class="common">e<span class="refcommon">&#x25B2;</span></span><span class="common">r<span class="refcommon">&#x25B2;</span></span>
<ruby><rb>F</rb><rt>&#x25B2;</rt><rb>i</rb><rt>&#x25B2;</rt><rb>l</rb><rt>&#x25B2;</rt><rb>l</rb><rt>&#x25B2;</rt><rb>e</rb><rt>&#x25B2;</rt><rb>r</rb><rt>&#x25B2;</rt></ruby>
Text
</div>
</div>
<p class="fontChange" style="display: block;">
If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
<button type="button" onclick="setFontFamily()">
Apply
</button>
</p>
<script type="text/javascript">
if (document.getElementById) {
document.getElementById('fontChange').style.display = 'block'
}
</script>
</div>
</body>
</html>

Просмотреть файл

@ -4,52 +4,23 @@
<head>
<title>CSS Test: text-emphasis-style - string - basic cases</title>
<link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp" />
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com" />
<link rel="help" title="CSS Text Level 3: 11.2.1. Emphasis Mark Style: the text-emphasis-style property" href="http://www.w3.org/TR/css-text-decor-3/#text-emphasis-style-property" />
<link rel="match" href="reference/text-emphasis-style-string-001-ref.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="This property applies emphasis marks to the element's text. " />
<style type="text/css"><![CDATA[
.common
{
line-height: 1em;
position: relative;
}
.parent
{
border: solid 1px gray;
font-size: 2em;
font: 1.5em monospace;
width: 10em;
}
.refcommon
{
font-size: 0.5em;
left: 0em;
position: absolute;
top: -1.5em;
}
#test
{
text-emphasis-style: "!";
}
]]></style>
<script type="text/javascript">
// <![CDATA[
// Set Font Family to 'IPAMincho'
function setFontFamily () {
var fontName = 'IPAMincho';
var divs = document.getElementsByTagName('div');
var i = 0;
var div;
while (i < divs.length) {
div = divs.item(i);
if (div.className == 'parent') {
div.style.fontFamily = fontName;
}
i++;
}
}
// ]]>
</script>
</head>
<body>
<div>
@ -58,22 +29,11 @@
<div class="parent">
<div><span id="test">Filler</span> Text</div>
<br />
<div class="margin">
<span class="common">F<span class="refcommon">!</span></span><span class="common">i<span class="refcommon">!</span></span><span class="common">l<span class="refcommon">!</span></span><span class="common">l<span class="refcommon">!</span></span><span class="common">e<span class="refcommon">!</span></span><span class="common">r<span class="refcommon">!</span></span>
<div>
<ruby><rb>F</rb><rt>!</rt><rb>i</rb><rt>!</rt><rb>l</rb><rt>!</rt><rb>l</rb><rt>!</rt><rb>e</rb><rt>!</rt><rb>r</rb><rt>!</rt></ruby>
Text
</div>
</div>
<p class="fontChange" style="display: block;">
If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
<button type="button" onclick="setFontFamily()">
Apply
</button>
</p>
<script type="text/javascript">
if (document.getElementById) {
document.getElementById('fontChange').style.display = 'block'
}
</script>
</div>
</body>
</html>