mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
@@ -17,17 +17,17 @@
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
div > p
|
||||
div > p
|
||||
{
|
||||
background-color: #FFC;
|
||||
border: solid;
|
||||
color: black;
|
||||
margin: 1em;
|
||||
padding: 0.5em;
|
||||
padding: 0.5em;
|
||||
width: 17em;
|
||||
}
|
||||
|
||||
span
|
||||
|
||||
span
|
||||
{
|
||||
color: navy;
|
||||
line-height: 3em;
|
||||
|
||||
@@ -17,15 +17,15 @@
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
div > p
|
||||
div > p
|
||||
{
|
||||
background-color: #FFC;
|
||||
border: solid;
|
||||
margin: 1em;
|
||||
padding: 0.5em;
|
||||
padding: 0.5em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
span {line-height: 3em;}
|
||||
|
||||
span.top-left-bottom
|
||||
@@ -35,7 +35,7 @@
|
||||
}
|
||||
|
||||
.navy {color: navy;}
|
||||
|
||||
|
||||
.orange {color: orange;}
|
||||
|
||||
span.top-right-bottom
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
<div>TEST<span>TEST</span></div>
|
||||
|
||||
<div>TEST<span>TEST</span></div>
|
||||
<div>TEST<span>TEST</span></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -21,7 +21,7 @@
|
||||
{
|
||||
border-color: orange purple teal yellow;
|
||||
border-style: solid;
|
||||
border-width: 5px;
|
||||
border-width: 5px;
|
||||
}
|
||||
]]></style>
|
||||
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
{
|
||||
line-height: 1.25em;
|
||||
margin-bottom: 1.25em;
|
||||
}
|
||||
}
|
||||
|
||||
img {vertical-align: top;}
|
||||
img {vertical-align: top;}
|
||||
]]></style>
|
||||
|
||||
</head>
|
||||
|
||||
@@ -25,9 +25,9 @@
|
||||
padding-right: 6.25em;
|
||||
text-align: right;
|
||||
width: 25em;
|
||||
}
|
||||
}
|
||||
|
||||
img {vertical-align: top;}
|
||||
img {vertical-align: top;}
|
||||
]]></style>
|
||||
|
||||
</head>
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
<p>In each pair of silver boxes below, the two patterns must be identical.</p>
|
||||
|
||||
<!--
|
||||
<!--
|
||||
א א is hebrew letter alef
|
||||
ת ת is hebrew letter tav
|
||||
-->
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
<p>In each pair of silver boxes below, the two patterns must be identical.</p>
|
||||
|
||||
<!--
|
||||
<!--
|
||||
א א is hebrew letter alef
|
||||
ת ת is hebrew letter tav
|
||||
-->
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
<p>In each pair of silver boxes below, the two patterns must be identical.</p>
|
||||
|
||||
<!--
|
||||
<!--
|
||||
א א is hebrew letter alef
|
||||
ת ת is hebrew letter tav
|
||||
-->
|
||||
@@ -79,17 +79,17 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- line separator does not break bidi paragraph -->
|
||||
<!-- line separator does not break bidi paragraph -->
|
||||
<div class="set">
|
||||
<div class="control">
|
||||
<div><bdo dir="ltr"> ÷ × - + א</bdo></div>
|
||||
<div><bdo dir="ltr">ת ÷ × - + </bdo></div>
|
||||
</div>
|
||||
<div class="control">
|
||||
<div><bdo dir="ltr"> ÷ × - + א</bdo></div>
|
||||
<div><bdo dir="ltr">ת ÷ × - + </bdo></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control">
|
||||
<div><bdo dir="ltr"> ÷ × - + א</bdo></div>
|
||||
<div><bdo dir="ltr">ת ÷ × - + </bdo></div>
|
||||
</div>
|
||||
<div class="control">
|
||||
<div><bdo dir="ltr"> ÷ × - + א</bdo></div>
|
||||
<div><bdo dir="ltr">ת ÷ × - + </bdo></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -23,7 +23,7 @@
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
|
||||
img {vertical-align: top;}
|
||||
]]></style>
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
text-align: right;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
|
||||
img {vertical-align: top;}
|
||||
]]></style>
|
||||
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Reftest Reference</title>
|
||||
<style type="text/css">
|
||||
@page { font: italic 8pt sans-serif; color: gray;
|
||||
margin: 7%;
|
||||
counter-increment: page;
|
||||
@top-left { content: "CSS Writing Modes Module Level 3 CR Test Suite"; }
|
||||
@top-right { content: "Test inline-block-alignment-slr-009-ref"; }
|
||||
@bottom-right { content: counter(page); }
|
||||
}
|
||||
</style>
|
||||
<link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
|
||||
<meta name="flags" content="image" />
|
||||
<style type="text/css"><![CDATA[
|
||||
img
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
img
|
||||
{
|
||||
padding-left: 156px; /* 60 px (padding-left) + 48px (the position difference of box) + 48px (ascent width) */
|
||||
}
|
||||
|
||||
img + br + img
|
||||
{
|
||||
padding-left: 156px; /* 60 px (padding-left) + 96px (ascent width)*/
|
||||
}
|
||||
|
||||
img + br + img + br + img
|
||||
{
|
||||
padding-left: 156px; /* 60 px (padding-left) + 72px (the position difference of box) + 24px (ascent width) */
|
||||
}
|
||||
]]></style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p>Test passes if the <strong>left edge</strong> of an irregular polygon is straight and unbroken.</p>
|
||||
|
||||
<div>
|
||||
<img src="support/swatch-teal.png" width="12" height="60" alt="Image download support must be enabled" /><br /><!--
|
||||
--><img src="support/swatch-teal.png" width="144" height="120" alt="Image download support must be enabled" /><br /><!--
|
||||
--><img src="support/swatch-teal.png" width="6" height="30" alt="Image download support must be enabled" />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -3,7 +3,7 @@ CSS Orientation Test
|
||||
|
||||
Overview
|
||||
----
|
||||
CSS Orientation Test are special-purpose OpenType fonts. This open source project provides all of the source files
|
||||
CSS Orientation Test are special-purpose OpenType fonts. This open source project provides all of the source files
|
||||
that were used to build these OpenType fonts by using the AFDKO *makeotf* tool.
|
||||
|
||||
Getting Involved
|
||||
@@ -15,7 +15,7 @@ Building
|
||||
|
||||
Pre-built font binaries
|
||||
----
|
||||
The installable font resources (font binaries) are not part of the source files.
|
||||
The installable font resources (font binaries) are not part of the source files.
|
||||
They are available at https://github.com/adobe-fonts/css-orientation-test/
|
||||
The latest version of the font binaries is 1.005 (October 2015).
|
||||
|
||||
@@ -23,17 +23,17 @@ The latest version of the font binaries is 1.005 (October 2015).
|
||||
Requirements
|
||||
----
|
||||
|
||||
For building binary font files from source, installation of the
|
||||
[Adobe Font Development Kit for OpenType](http://www.adobe.com/devnet/opentype/afdko.html) (AFDKO)
|
||||
For building binary font files from source, installation of the
|
||||
[Adobe Font Development Kit for OpenType](http://www.adobe.com/devnet/opentype/afdko.html) (AFDKO)
|
||||
is necessary. The AFDKO tools are widely used for font development today, and are part of most font editor applications.
|
||||
|
||||
Building the fonts
|
||||
----
|
||||
|
||||
The key to building OpenType fonts is *makeotf*, which is part of AFDKO. Information and usage instructions can be found
|
||||
The key to building OpenType fonts is *makeotf*, which is part of AFDKO. Information and usage instructions can be found
|
||||
by executing *makeotf -h*.
|
||||
|
||||
In this repository, all necessary files are in place for building the OpenType fonts. For example, build a binary OTF font
|
||||
In this repository, all necessary files are in place for building the OpenType fonts. For example, build a binary OTF font
|
||||
for the full-width version like this, which also includes a post-process for inserting a "stub" 'DSIG' table:
|
||||
|
||||
% makeotf -f cidfont.ps -r -ch UnicodeAll-UTF32-H
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</style>
|
||||
<!-- reftest for text-orientation-014.xht -->
|
||||
<link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com"/>
|
||||
<meta http-equiv="content-language" content="en"/>
|
||||
<meta http-equiv="content-language" content="en"/>
|
||||
<style type="text/css">
|
||||
.view_ahem
|
||||
{
|
||||
@@ -22,7 +22,7 @@
|
||||
color: blue;
|
||||
font: 20px/1 "Ahem";
|
||||
height: 3em;
|
||||
margin: 10px;
|
||||
margin: 10px;
|
||||
width: 3em;
|
||||
white-space: pre;
|
||||
}
|
||||
@@ -30,7 +30,7 @@
|
||||
{
|
||||
writing-mode: horizontal-tb;
|
||||
}
|
||||
.view
|
||||
.view
|
||||
{
|
||||
border: 1px solid gray;
|
||||
font-size: 1.5em;
|
||||
@@ -39,7 +39,7 @@
|
||||
width: 3em;
|
||||
writing-mode: vertical-rl;
|
||||
}
|
||||
.control
|
||||
.control
|
||||
{
|
||||
text-combine-upright: none;
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<body>
|
||||
|
||||
<p>Test passes if the letters below are in alphabetic order.</p>
|
||||
|
||||
|
||||
<div>AB C DEF GH IJ K</div>
|
||||
|
||||
</body>
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>CSS Reftest Reference</title>
|
||||
<style type="text/css">
|
||||
@page { font: italic 8pt sans-serif; color: gray;
|
||||
margin: 7%;
|
||||
counter-increment: page;
|
||||
@top-left { content: "CSS Writing Modes Module Level 3 CR Test Suite"; }
|
||||
@top-right { content: "Test vertical-alignment-slr-049-ref"; }
|
||||
@bottom-right { content: counter(page); }
|
||||
}
|
||||
</style>
|
||||
<link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
|
||||
<meta name="flags" content="image" />
|
||||
<style type="text/css"><![CDATA[
|
||||
img
|
||||
{
|
||||
padding-left: 100px;
|
||||
vertical-align: top;
|
||||
}
|
||||
img + br + img
|
||||
{
|
||||
padding-left: 100px;
|
||||
}
|
||||
]]></style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p>Test passes if the <strong>left edge</strong> of an irregular polygon is straight and unbroken.</p>
|
||||
|
||||
<div>
|
||||
<img class="blue" src="support/swatch-blue.png" width="80" height="80" alt="Image download support must be enabled" /><br /><img class="blue" src="support/swatch-blue.png" width="100" height="100" alt="Image download support must be enabled" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -29,13 +29,13 @@
|
||||
<p>The upper block is identical to the lower block including each character positions.</p>
|
||||
<div>adhjns
|
||||
i t
|
||||
be ko
|
||||
be ko
|
||||
c lqu
|
||||
f m v
|
||||
g r</div>
|
||||
<div>adhjns
|
||||
i t
|
||||
be ko
|
||||
be ko
|
||||
c lqu
|
||||
f m v
|
||||
g r</div>
|
||||
|
||||
@@ -29,13 +29,13 @@
|
||||
<p>The upper block is identical to the lower block including each character positions.</p>
|
||||
<div>tomiea
|
||||
n b
|
||||
uq jf
|
||||
uq jf
|
||||
v kgc
|
||||
r l d
|
||||
s h</div>
|
||||
<div>tomiea
|
||||
n b
|
||||
uq jf
|
||||
uq jf
|
||||
v kgc
|
||||
r l d
|
||||
s h</div>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<p>Upper three blocks are identical to the lower three blocks including each character positions.</p>
|
||||
|
||||
<div>
|
||||
<p>ab cd
|
||||
<p>ab cd
|
||||
e fg h
|
||||
i jkl
|
||||
mn
|
||||
@@ -38,7 +38,7 @@ cgk v
|
||||
fj qu
|
||||
b n
|
||||
aeimot</p>
|
||||
<p>ab cd
|
||||
<p>ab cd
|
||||
e fg h
|
||||
i jkl
|
||||
mn
|
||||
@@ -47,7 +47,7 @@ t uv</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p>ab cd
|
||||
<p>ab cd
|
||||
e fg h
|
||||
i jkl
|
||||
mn
|
||||
@@ -59,7 +59,7 @@ cgk v
|
||||
fj qu
|
||||
b n
|
||||
aeimot</p>
|
||||
<p>ab cd
|
||||
<p>ab cd
|
||||
e fg h
|
||||
i jkl
|
||||
mn
|
||||
|
||||
Reference in New Issue
Block a user