mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
parent
9aa1b1e408
commit
35c74aecc2
11290 changed files with 92400 additions and 49214 deletions
|
@ -8,17 +8,17 @@
|
|||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<style type="text/css">
|
||||
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;
|
||||
|
|
|
@ -8,15 +8,15 @@
|
|||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<style type="text/css">
|
||||
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
|
||||
|
@ -26,7 +26,7 @@
|
|||
}
|
||||
|
||||
.navy {color: navy;}
|
||||
|
||||
|
||||
.orange {color: orange;}
|
||||
|
||||
span.top-right-bottom
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
<div>TEST<span>TEST</span></div>
|
||||
|
||||
<div>TEST<span>TEST</span></div>
|
||||
<div>TEST<span>TEST</span></div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -12,7 +12,7 @@
|
|||
{
|
||||
border-color: orange purple teal yellow;
|
||||
border-style: solid;
|
||||
border-width: 5px;
|
||||
border-width: 5px;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
{
|
||||
line-height: 1.25em;
|
||||
margin-bottom: 1.25em;
|
||||
}
|
||||
}
|
||||
|
||||
img {vertical-align: top;}
|
||||
img {vertical-align: top;}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
padding-right: 6.25em;
|
||||
text-align: right;
|
||||
width: 25em;
|
||||
}
|
||||
}
|
||||
|
||||
img {vertical-align: top;}
|
||||
img {vertical-align: top;}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
<p>In each pair of silver boxes below, the two patterns must be identical.</p>
|
||||
|
||||
<!--
|
||||
<!--
|
||||
א א is hebrew letter alef
|
||||
ת ת is hebrew letter tav
|
||||
-->
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
<p>In each pair of silver boxes below, the two patterns must be identical.</p>
|
||||
|
||||
<!--
|
||||
<!--
|
||||
א א is hebrew letter alef
|
||||
ת ת is hebrew letter tav
|
||||
-->
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
<p>In each pair of silver boxes below, the two patterns must be identical.</p>
|
||||
|
||||
<!--
|
||||
<!--
|
||||
א א is hebrew letter alef
|
||||
ת ת is hebrew letter tav
|
||||
-->
|
||||
|
@ -70,17 +70,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>
|
|
@ -14,7 +14,7 @@
|
|||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
|
||||
img {vertical-align: top;}
|
||||
</style>
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
text-align: right;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
|
||||
img {vertical-align: top;}
|
||||
</style>
|
||||
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com">
|
||||
<meta name="flags" content="image">
|
||||
<style type="text/css">
|
||||
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
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title>CSS Reftest Reference</title>
|
||||
<!-- 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
|
||||
{
|
||||
|
@ -13,7 +13,7 @@
|
|||
color: blue;
|
||||
font: 20px/1 "Ahem";
|
||||
height: 3em;
|
||||
margin: 10px;
|
||||
margin: 10px;
|
||||
width: 3em;
|
||||
white-space: pre;
|
||||
}
|
||||
|
@ -21,7 +21,7 @@
|
|||
{
|
||||
writing-mode: horizontal-tb;
|
||||
}
|
||||
.view
|
||||
.view
|
||||
{
|
||||
border: 1px solid gray;
|
||||
font-size: 1.5em;
|
||||
|
@ -30,7 +30,7 @@
|
|||
width: 3em;
|
||||
writing-mode: vertical-rl;
|
||||
}
|
||||
.control
|
||||
.control
|
||||
{
|
||||
text-combine-upright: none;
|
||||
}
|
||||
|
|
|
@ -20,7 +20,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,30 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com">
|
||||
<meta name="flags" content="image">
|
||||
<style type="text/css">
|
||||
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>
|
|
@ -20,13 +20,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>
|
||||
|
|
|
@ -20,13 +20,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue