diff options
author | Ms2ger <Ms2ger@gmail.com> | 2015-12-09 01:48:05 -0500 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2015-12-10 10:03:03 -0500 |
commit | 35c74aecc22e60ccb3dbb03000c8546941b8250c (patch) | |
tree | 91cc0748250b0808b56652bd4162414074490410 /tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference | |
parent | 9aa1b1e408f3c7cc9c7774da203d261ac0922866 (diff) | |
download | servo-35c74aecc22e60ccb3dbb03000c8546941b8250c.tar.gz servo-35c74aecc22e60ccb3dbb03000c8546941b8250c.zip |
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
Diffstat (limited to 'tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference')
19 files changed, 119 insertions, 48 deletions
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-002-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-002-ref.xht index 1fb10b18b11..acd92315dee 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-002-ref.xht +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-002-ref.xht @@ -8,17 +8,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; diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-003-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-003-ref.xht index 0638f7e964a..cde08eaa914 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-003-ref.xht +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-003-ref.xht @@ -8,15 +8,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 @@ -26,7 +26,7 @@ } .navy {color: navy;} - + .orange {color: orange;} span.top-right-bottom diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-011-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-011-ref.xht index c71185f698d..6a93200649f 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-011-ref.xht +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-011-ref.xht @@ -33,7 +33,7 @@ <div>TEST<span>TEST</span></div> - <div>TEST<span>TEST</span></div> + <div>TEST<span>TEST</span></div> </body> </html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-box-model-001-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-box-model-001-ref.xht index 32970011ccf..61fb0b16687 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-box-model-001-ref.xht +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-box-model-001-ref.xht @@ -12,7 +12,7 @@ { border-color: orange purple teal yellow; border-style: solid; - border-width: 5px; + border-width: 5px; } ]]></style> diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-box-model-034-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-box-model-034-ref.xht index daa610af284..442781cec80 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-box-model-034-ref.xht +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-box-model-034-ref.xht @@ -12,9 +12,9 @@ { line-height: 1.25em; margin-bottom: 1.25em; - } + } - img {vertical-align: top;} + img {vertical-align: top;} ]]></style> </head> diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-box-model-043-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-box-model-043-ref.xht index aae2b4a79ef..8aae0db3e4d 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-box-model-043-ref.xht +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-box-model-043-ref.xht @@ -16,9 +16,9 @@ padding-right: 6.25em; text-align: right; width: 25em; - } + } - img {vertical-align: top;} + img {vertical-align: top;} ]]></style> </head> diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-breaking-001-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-breaking-001-ref.xht index 70ba1582253..c5b4dea50f6 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-breaking-001-ref.xht +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-breaking-001-ref.xht @@ -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 --> diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-breaking-002-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-breaking-002-ref.xht index f100060c5a5..ef018da04b8 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-breaking-002-ref.xht +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-breaking-002-ref.xht @@ -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 --> diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-breaking-003-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-breaking-003-ref.xht index bb829d0915c..0ebeccee7a1 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-breaking-003-ref.xht +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/bidi-breaking-003-ref.xht @@ -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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/direction-applies-to-001-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/direction-applies-to-001-ref.xht index a67b527d707..fb93ce4534f 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/direction-applies-to-001-ref.xht +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/direction-applies-to-001-ref.xht @@ -14,7 +14,7 @@ height: 100px; width: 100px; } - + img {vertical-align: top;} ]]></style> diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/direction-applies-to-007-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/direction-applies-to-007-ref.xht index c4c065fa29c..0afd24381e0 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/direction-applies-to-007-ref.xht +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/direction-applies-to-007-ref.xht @@ -15,7 +15,7 @@ text-align: right; width: 100px; } - + img {vertical-align: top;} ]]></style> diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/inline-block-alignment-slr-009-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/inline-block-alignment-slr-009-ref.xht new file mode 100644 index 00000000000..fa305219930 --- /dev/null +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/inline-block-alignment-slr-009-ref.xht @@ -0,0 +1,41 @@ +<!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> + <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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/support/adobe-fonts/README.md b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/support/adobe-fonts/README.md index 686cb0c4279..50f82b61cf3 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/support/adobe-fonts/README.md +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/support/adobe-fonts/README.md @@ -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 diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/text-orientation-014-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/text-orientation-014-ref.xht index 4303c5f1d79..1600719d141 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/text-orientation-014-ref.xht +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/text-orientation-014-ref.xht @@ -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; } diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/unicode-bidi-002-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/unicode-bidi-002-ref.xht index 90feba22c81..568bac9bfd1 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/unicode-bidi-002-ref.xht +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/unicode-bidi-002-ref.xht @@ -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> diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/vertical-alignment-slr-049-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/vertical-alignment-slr-049-ref.xht new file mode 100644 index 00000000000..049cb4e8bab --- /dev/null +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/vertical-alignment-slr-049-ref.xht @@ -0,0 +1,30 @@ +<!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> + <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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/writing-mode-vertical-lr-002-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/writing-mode-vertical-lr-002-ref.xht index 19b50337f9c..dbc86b12128 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/writing-mode-vertical-lr-002-ref.xht +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/writing-mode-vertical-lr-002-ref.xht @@ -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> diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/writing-mode-vertical-rl-001-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/writing-mode-vertical-rl-001-ref.xht index 041ccedfa4d..7d96a567bc5 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/writing-mode-vertical-rl-001-ref.xht +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/writing-mode-vertical-rl-001-ref.xht @@ -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> diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/writing-mode-vertical-rl-003-ref.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/writing-mode-vertical-rl-003-ref.xht index 2264a3ba652..98b395edfb1 100644 --- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/writing-mode-vertical-rl-003-ref.xht +++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reference/writing-mode-vertical-rl-003-ref.xht @@ -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 |