The test passed if you see a green block which its text is 'Success!'.
+
+
+
Success!
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-flexbox-1_dev/html/reference/ttwf-reftest-flex-order-ref.htm b/tests/wpt/css-tests/css-flexbox-1_dev/html/reference/ttwf-reftest-flex-order-ref.htm
index 16bcbbe5dfe..d7f40c5a900 100644
--- a/tests/wpt/css-tests/css-flexbox-1_dev/html/reference/ttwf-reftest-flex-order-ref.htm
+++ b/tests/wpt/css-tests/css-flexbox-1_dev/html/reference/ttwf-reftest-flex-order-ref.htm
@@ -23,10 +23,7 @@
The test passed if all the cells are reversed.
- forth
- third
- second
- first
+ forththirdsecondfirst
text-align: start, pre, dir=auto on surrounding block
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/support/adobe-fonts/CSSHWOrientationTest.otf b/tests/wpt/css-tests/css-text-3_dev/html/reference/support/adobe-fonts/CSSHWOrientationTest.otf
index c919d9091d0..84ad57bef5a 100644
Binary files a/tests/wpt/css-tests/css-text-3_dev/html/reference/support/adobe-fonts/CSSHWOrientationTest.otf and b/tests/wpt/css-tests/css-text-3_dev/html/reference/support/adobe-fonts/CSSHWOrientationTest.otf differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/support/adobe-fonts/README.md b/tests/wpt/css-tests/css-text-3_dev/html/reference/support/adobe-fonts/README.md
index 2f757669727..686cb0c4279 100644
--- a/tests/wpt/css-tests/css-text-3_dev/html/reference/support/adobe-fonts/README.md
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/support/adobe-fonts/README.md
@@ -3,7 +3,8 @@ CSS Orientation Test
Overview
----
-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.
+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
----
@@ -14,20 +15,26 @@ Building
Pre-built font binaries
----
-The installable font resources (font binaries) are not part of the source files. They are available on [Open@Adobe](https://sourceforge.net/projects/csso9ntestfonts.adobe/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).
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) is necessary. The AFDKO tools are widely used for font development today, and are part of most font editor applications.
+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 by executing *makeotf -h*.
+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 for the full-width version like this, which also includes a post-process for inserting a "stub" 'DSIG' table:
+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
% sfntedit -a DSIG=DSIG.bin CSSFWOrientationTest.otf
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-001.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-001.htm
new file mode 100644
index 00000000000..c76aca5f646
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-001.htm
@@ -0,0 +1,17 @@
+
+
+
+text-align: end, direction: rtl
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-002.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-002.htm
new file mode 100644
index 00000000000..c963e1f38fc
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-002.htm
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-003.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-003.htm
new file mode 100644
index 00000000000..50033320e82
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-003.htm
@@ -0,0 +1,17 @@
+
+
+
+text-align: end, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-004.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-004.htm
new file mode 100644
index 00000000000..4d8102e16c2
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-004.htm
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, dir=ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-005.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-005.htm
new file mode 100644
index 00000000000..df720cf94be
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-005.htm
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, direction: rtl
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-006.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-006.htm
new file mode 100644
index 00000000000..6f893ddff6c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-006.htm
@@ -0,0 +1,21 @@
+
+
+
+text-align: end, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-007.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-007.htm
new file mode 100644
index 00000000000..8472096c26f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-007.htm
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-008.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-008.htm
new file mode 100644
index 00000000000..309574b54e0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-008.htm
@@ -0,0 +1,21 @@
+
+
+
+text-align: end, dir=ltr
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-009.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-009.htm
new file mode 100644
index 00000000000..35d16ea0c10
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-009.htm
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, dir=auto, RTL first strong
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-010.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-010.htm
new file mode 100644
index 00000000000..63d0bd79e9c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-010.htm
@@ -0,0 +1,21 @@
+
+
+
+text-align: end, dir=auto, LTR first strong
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-014.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-014.htm
new file mode 100644
index 00000000000..715e4b3e7cf
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-014.htm
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, pre, dir=rtl inherited
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-015.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-015.htm
new file mode 100644
index 00000000000..a17d0e7497d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-015.htm
@@ -0,0 +1,17 @@
+
+
+
+text-align: end, pre, dir=ltr inherited
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-016.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-016.htm
new file mode 100644
index 00000000000..252aa111308
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-016.htm
@@ -0,0 +1,18 @@
+
+
+
+text-align: end, pre, dir=auto
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-017.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-017.htm
new file mode 100644
index 00000000000..27b24f07748
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-end-ref-017.htm
@@ -0,0 +1,17 @@
+
+
+
+text-align: end, pre, dir=auto on surrounding block
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-001.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-001.htm
new file mode 100644
index 00000000000..19bd64776f7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-001.htm
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify, direction: rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-002.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-002.htm
new file mode 100644
index 00000000000..212801325e5
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-002.htm
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-003.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-003.htm
new file mode 100644
index 00000000000..fe23bbe1196
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-003.htm
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-004.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-004.htm
new file mode 100644
index 00000000000..d0887d00ed9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-004.htm
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify, dir=ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-005.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-005.htm
new file mode 100644
index 00000000000..bf3848d67bc
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-005.htm
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify, dir=auto, RTL first strong
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-006.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-006.htm
new file mode 100644
index 00000000000..d4d780136f0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justify-ref-006.htm
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify, dir=auto, LTR first strong
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-001.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-001.htm
new file mode 100644
index 00000000000..ddbf17c3014
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-001.htm
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify-all, direction: rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-002.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-002.htm
new file mode 100644
index 00000000000..955f2ca9989
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-002.htm
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify-all, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-003.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-003.htm
new file mode 100644
index 00000000000..fc41ce8f6a9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-003.htm
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify-all, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-004.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-004.htm
new file mode 100644
index 00000000000..5686c75acdb
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-004.htm
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify-all, dir=ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-005.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-005.htm
new file mode 100644
index 00000000000..76b7688de03
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-005.htm
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify-all, dir=auto, RTL first strong
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-006.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-006.htm
new file mode 100644
index 00000000000..04af82147f9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-justifyall-ref-006.htm
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify-all, dir=auto, LTR first strong
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-001.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-001.htm
new file mode 100644
index 00000000000..e5c0ab5d3e9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-001.htm
@@ -0,0 +1,19 @@
+
+
+
+text-align: start, direction: rtl
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-002.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-002.htm
new file mode 100644
index 00000000000..b615298308b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-002.htm
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-003.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-003.htm
new file mode 100644
index 00000000000..79b91c03c5f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-003.htm
@@ -0,0 +1,19 @@
+
+
+
+text-align: start, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-004.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-004.htm
new file mode 100644
index 00000000000..d11e7a9d10e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-004.htm
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, dir=ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-005.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-005.htm
new file mode 100644
index 00000000000..61dae9d1c2c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-005.htm
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, direction: rtl
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-006.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-006.htm
new file mode 100644
index 00000000000..6ddd93b21e7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-006.htm
@@ -0,0 +1,23 @@
+
+
+
+text-align: start, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-007.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-007.htm
new file mode 100644
index 00000000000..4f2c116c4c9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-007.htm
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-008.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-008.htm
new file mode 100644
index 00000000000..65eae432131
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-008.htm
@@ -0,0 +1,23 @@
+
+
+
+text-align: start, dir=ltr
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-009.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-009.htm
new file mode 100644
index 00000000000..8ebc6f6cf1e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-009.htm
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, dir=auto, RTL first strong
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-010.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-010.htm
new file mode 100644
index 00000000000..71fe026ab66
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-010.htm
@@ -0,0 +1,23 @@
+
+
+
+text-align: start, dir=auto, LTR first strong
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-014.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-014.htm
new file mode 100644
index 00000000000..10e64dc3d0e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-014.htm
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, pre, dir=rtl inherited
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-015.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-015.htm
new file mode 100644
index 00000000000..65cab696778
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-015.htm
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, pre, dir=ltr inherited
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-016.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-016.htm
new file mode 100644
index 00000000000..1abdda07917
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-016.htm
@@ -0,0 +1,20 @@
+
+
+
+text-align: start, pre, dir=auto
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-017.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-017.htm
new file mode 100644
index 00000000000..343cbbaa938
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-017.htm
@@ -0,0 +1,19 @@
+
+
+
+text-align: start, pre, dir=auto on surrounding block
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reftest-toc.htm b/tests/wpt/css-tests/css-text-3_dev/html/reftest-toc.htm
index 816963e0642..3b1ea6cb62d 100644
--- a/tests/wpt/css-tests/css-text-3_dev/html/reftest-toc.htm
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reftest-toc.htm
@@ -4204,7 +4204,7 @@
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reftest.list b/tests/wpt/css-tests/css-text-3_dev/html/reftest.list
index fa0ba2778a7..c0402df91d3 100644
--- a/tests/wpt/css-tests/css-text-3_dev/html/reftest.list
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reftest.list
@@ -521,32 +521,32 @@ tab-size-percent-001.htm == reference/tab-size-length-001-ref.htm
text-align-006.htm == reference/text-align-006-ref.htm
text-align-007.htm == reference/text-align-007-ref.htm
text-align-008.htm == reference/text-align-007-ref.htm
-text-align-end-001.htm == reference/text-align-end-001.htm
-text-align-end-002.htm == reference/text-align-end-002.htm
-text-align-end-003.htm == reference/text-align-end-003.htm
-text-align-end-004.htm == reference/text-align-end-004.htm
-text-align-end-005.htm == reference/text-align-end-005.htm
-text-align-end-006.htm == reference/text-align-end-006.htm
-text-align-end-007.htm == reference/text-align-end-007.htm
-text-align-end-008.htm == reference/text-align-end-008.htm
-text-align-end-009.htm == reference/text-align-end-009.htm
-text-align-end-010.htm == reference/text-align-end-010.htm
-text-align-end-014.htm == reference/text-align-end-014.htm
-text-align-end-015.htm == reference/text-align-end-015.htm
-text-align-end-016.htm == reference/text-align-end-016.htm
-text-align-end-017.htm == reference/text-align-end-017.htm
-text-align-justify-001.htm == reference/text-align-justify-001.htm
-text-align-justify-002.htm == reference/text-align-justify-002.htm
-text-align-justify-003.htm == reference/text-align-justify-003.htm
-text-align-justify-004.htm == reference/text-align-justify-004.htm
-text-align-justify-005.htm == reference/text-align-justify-005.htm
-text-align-justify-006.htm == reference/text-align-justify-006.htm
-text-align-justifyall-001.htm == reference/text-align-justifyall-001.htm
-text-align-justifyall-002.htm == reference/text-align-justifyall-002.htm
-text-align-justifyall-003.htm == reference/text-align-justifyall-003.htm
-text-align-justifyall-004.htm == reference/text-align-justifyall-004.htm
-text-align-justifyall-005.htm == reference/text-align-justifyall-005.htm
-text-align-justifyall-006.htm == reference/text-align-justifyall-006.htm
+text-align-end-001.htm == reference/text-align-end-ref-001.htm
+text-align-end-002.htm == reference/text-align-end-ref-002.htm
+text-align-end-003.htm == reference/text-align-end-ref-003.htm
+text-align-end-004.htm == reference/text-align-end-ref-004.htm
+text-align-end-005.htm == reference/text-align-end-ref-005.htm
+text-align-end-006.htm == reference/text-align-end-ref-006.htm
+text-align-end-007.htm == reference/text-align-end-ref-007.htm
+text-align-end-008.htm == reference/text-align-end-ref-008.htm
+text-align-end-009.htm == reference/text-align-end-ref-009.htm
+text-align-end-010.htm == reference/text-align-end-ref-010.htm
+text-align-end-014.htm == reference/text-align-end-ref-014.htm
+text-align-end-015.htm == reference/text-align-end-ref-015.htm
+text-align-end-016.htm == reference/text-align-end-ref-016.htm
+text-align-end-017.htm == reference/text-align-end-ref-017.htm
+text-align-justify-001.htm == reference/text-align-justify-ref-001.htm
+text-align-justify-002.htm == reference/text-align-justify-ref-002.htm
+text-align-justify-003.htm == reference/text-align-justify-ref-003.htm
+text-align-justify-004.htm == reference/text-align-justify-ref-004.htm
+text-align-justify-005.htm == reference/text-align-justify-ref-005.htm
+text-align-justify-006.htm == reference/text-align-justify-ref-006.htm
+text-align-justifyall-001.htm == reference/text-align-justifyall-ref-001.htm
+text-align-justifyall-002.htm == reference/text-align-justifyall-ref-002.htm
+text-align-justifyall-003.htm == reference/text-align-justifyall-ref-003.htm
+text-align-justifyall-004.htm == reference/text-align-justifyall-ref-004.htm
+text-align-justifyall-005.htm == reference/text-align-justifyall-ref-005.htm
+text-align-justifyall-006.htm == reference/text-align-justifyall-ref-006.htm
text-align-last-010.htm == reference/text-align-last-010-ref.htm
text-align-last-011.htm == reference/text-align-last-010-ref.htm
text-align-match-parent-02.htm == reference/text-align-match-parent-ref.htm
@@ -554,20 +554,20 @@ text-align-match-parent-03.htm == reference/text-align-match-parent-ref.htm
text-align-match-parent-04.htm == reference/text-align-match-parent-ref.htm
text-align-match-parent-root-ltr.htm == reference/text-align-match-parent-root-ltr-ref.htm
text-align-match-parent-root-rtl.htm == reference/text-align-match-parent-root-rtl-ref.htm
-text-align-start-001.htm == reference/text-align-start-001.htm
-text-align-start-002.htm == reference/text-align-start-002.htm
-text-align-start-003.htm == reference/text-align-start-003.htm
-text-align-start-004.htm == reference/text-align-start-004.htm
-text-align-start-005.htm == reference/text-align-start-005.htm
-text-align-start-006.htm == reference/text-align-start-006.htm
-text-align-start-007.htm == reference/text-align-start-007.htm
-text-align-start-008.htm == reference/text-align-start-008.htm
-text-align-start-009.htm == reference/text-align-start-009.htm
-text-align-start-010.htm == reference/text-align-start-010.htm
-text-align-start-014.htm == reference/text-align-start-014.htm
-text-align-start-015.htm == reference/text-align-start-015.htm
-text-align-start-016.htm == reference/text-align-start-016.htm
-text-align-start-017.htm == reference/text-align-start-017.htm
+text-align-start-001.htm == reference/text-align-start-ref-001.htm
+text-align-start-002.htm == reference/text-align-start-ref-002.htm
+text-align-start-003.htm == reference/text-align-start-ref-003.htm
+text-align-start-004.htm == reference/text-align-start-ref-004.htm
+text-align-start-005.htm == reference/text-align-start-ref-005.htm
+text-align-start-006.htm == reference/text-align-start-ref-006.htm
+text-align-start-007.htm == reference/text-align-start-ref-007.htm
+text-align-start-008.htm == reference/text-align-start-ref-008.htm
+text-align-start-009.htm == reference/text-align-start-ref-009.htm
+text-align-start-010.htm == reference/text-align-start-ref-010.htm
+text-align-start-014.htm == reference/text-align-start-ref-014.htm
+text-align-start-015.htm == reference/text-align-start-ref-015.htm
+text-align-start-016.htm == reference/text-align-start-ref-016.htm
+text-align-start-017.htm == reference/text-align-start-ref-017.htm
text-emphasis-color-001.htm == reference/text-emphasis-color-001-ref.htm
text-emphasis-position-above-left-001.htm == reference/text-emphasis-position-above-left-001-ref.htm
text-emphasis-position-above-left-002.htm == reference/text-emphasis-position-above-left-002-ref.htm
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/support/adobe-fonts/CSSHWOrientationTest.otf b/tests/wpt/css-tests/css-text-3_dev/html/support/adobe-fonts/CSSHWOrientationTest.otf
index c919d9091d0..84ad57bef5a 100644
Binary files a/tests/wpt/css-tests/css-text-3_dev/html/support/adobe-fonts/CSSHWOrientationTest.otf and b/tests/wpt/css-tests/css-text-3_dev/html/support/adobe-fonts/CSSHWOrientationTest.otf differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/support/adobe-fonts/README.md b/tests/wpt/css-tests/css-text-3_dev/html/support/adobe-fonts/README.md
index 2f757669727..686cb0c4279 100644
--- a/tests/wpt/css-tests/css-text-3_dev/html/support/adobe-fonts/README.md
+++ b/tests/wpt/css-tests/css-text-3_dev/html/support/adobe-fonts/README.md
@@ -3,7 +3,8 @@ CSS Orientation Test
Overview
----
-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.
+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
----
@@ -14,20 +15,26 @@ Building
Pre-built font binaries
----
-The installable font resources (font binaries) are not part of the source files. They are available on [Open@Adobe](https://sourceforge.net/projects/csso9ntestfonts.adobe/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).
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) is necessary. The AFDKO tools are widely used for font development today, and are part of most font editor applications.
+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 by executing *makeotf -h*.
+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 for the full-width version like this, which also includes a post-process for inserting a "stub" 'DSIG' table:
+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
% sfntedit -a DSIG=DSIG.bin CSSFWOrientationTest.otf
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/text-align-end-001.htm b/tests/wpt/css-tests/css-text-3_dev/html/text-align-end-001.htm
index c002b65260c..022fa3f2638 100644
--- a/tests/wpt/css-tests/css-text-3_dev/html/text-align-end-001.htm
+++ b/tests/wpt/css-tests/css-text-3_dev/html/text-align-end-001.htm
@@ -4,7 +4,7 @@
text-align: end, direction: rtl
-
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-002.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-002.xht
new file mode 100644
index 00000000000..69ddc1a8db8
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-002.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-003.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-003.xht
new file mode 100644
index 00000000000..a5ae28f324e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-003.xht
@@ -0,0 +1,17 @@
+
+
+
+text-align: end, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-004.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-004.xht
new file mode 100644
index 00000000000..388fdf46c7b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-004.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, dir=ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-005.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-005.xht
new file mode 100644
index 00000000000..d9ec4fd590d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-005.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, direction: rtl
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-006.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-006.xht
new file mode 100644
index 00000000000..f88e5d2a90c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-006.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: end, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-007.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-007.xht
new file mode 100644
index 00000000000..c94fefb3b64
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-007.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-008.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-008.xht
new file mode 100644
index 00000000000..f140d4ceb44
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-008.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: end, dir=ltr
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-009.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-009.xht
new file mode 100644
index 00000000000..f341480dea6
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-009.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, dir=auto, RTL first strong
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-010.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-010.xht
new file mode 100644
index 00000000000..6759f3b1282
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-010.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: end, dir=auto, LTR first strong
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-014.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-014.xht
new file mode 100644
index 00000000000..40ccdbb3379
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-014.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, pre, dir=rtl inherited
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-015.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-015.xht
new file mode 100644
index 00000000000..14dbaf9936d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-015.xht
@@ -0,0 +1,17 @@
+
+
+
+text-align: end, pre, dir=ltr inherited
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-016.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-016.xht
new file mode 100644
index 00000000000..47fd1f3ea4f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-016.xht
@@ -0,0 +1,18 @@
+
+
+
+text-align: end, pre, dir=auto
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-017.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-017.xht
new file mode 100644
index 00000000000..ae11beb2bc6
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-end-ref-017.xht
@@ -0,0 +1,17 @@
+
+
+
+text-align: end, pre, dir=auto on surrounding block
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-001.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-001.xht
new file mode 100644
index 00000000000..c9e05a4a260
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-001.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify, direction: rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-002.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-002.xht
new file mode 100644
index 00000000000..983d209c71e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-002.xht
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-003.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-003.xht
new file mode 100644
index 00000000000..117f4b9440a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-003.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-004.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-004.xht
new file mode 100644
index 00000000000..bad040fe3e2
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-004.xht
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify, dir=ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-005.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-005.xht
new file mode 100644
index 00000000000..b3842fca171
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-005.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify, dir=auto, RTL first strong
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-006.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-006.xht
new file mode 100644
index 00000000000..f2d732ae6ce
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justify-ref-006.xht
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify, dir=auto, LTR first strong
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-001.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-001.xht
new file mode 100644
index 00000000000..dd6d2cf2867
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-001.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify-all, direction: rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-002.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-002.xht
new file mode 100644
index 00000000000..27dbf26fe48
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-002.xht
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify-all, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-003.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-003.xht
new file mode 100644
index 00000000000..d2a2e1e3cd7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-003.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify-all, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-004.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-004.xht
new file mode 100644
index 00000000000..5f2e89e1bcc
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-004.xht
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify-all, dir=ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-005.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-005.xht
new file mode 100644
index 00000000000..dfbbb8b4dc1
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-005.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify-all, dir=auto, RTL first strong
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-006.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-006.xht
new file mode 100644
index 00000000000..6cb1c0deeaf
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-justifyall-ref-006.xht
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify-all, dir=auto, LTR first strong
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-001.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-001.xht
new file mode 100644
index 00000000000..f2d76217ff3
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-001.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: start, direction: rtl
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-002.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-002.xht
new file mode 100644
index 00000000000..cb69623e308
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-002.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-003.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-003.xht
new file mode 100644
index 00000000000..03874d52960
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-003.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: start, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-004.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-004.xht
new file mode 100644
index 00000000000..50fa1752665
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-004.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, dir=ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-005.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-005.xht
new file mode 100644
index 00000000000..46fe5cab0da
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-005.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, direction: rtl
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-006.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-006.xht
new file mode 100644
index 00000000000..0f7e4a2e0d7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-006.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: start, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-007.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-007.xht
new file mode 100644
index 00000000000..4d303d7acf2
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-007.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-008.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-008.xht
new file mode 100644
index 00000000000..3a523fe9f67
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-008.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: start, dir=ltr
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-009.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-009.xht
new file mode 100644
index 00000000000..df9e076115c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-009.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, dir=auto, RTL first strong
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-010.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-010.xht
new file mode 100644
index 00000000000..2b291c024d7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-010.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: start, dir=auto, LTR first strong
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-014.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-014.xht
new file mode 100644
index 00000000000..a2e5267883d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-014.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, pre, dir=rtl inherited
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-015.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-015.xht
new file mode 100644
index 00000000000..8d8b8508a9b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-015.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, pre, dir=ltr inherited
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-016.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-016.xht
new file mode 100644
index 00000000000..9ae70b5f116
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-016.xht
@@ -0,0 +1,20 @@
+
+
+
+text-align: start, pre, dir=auto
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-017.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-017.xht
new file mode 100644
index 00000000000..f8c199d27b0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-start-ref-017.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: start, pre, dir=auto on surrounding block
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reftest-toc.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reftest-toc.xht
index 8a315b2bfb0..0d9adef6d13 100644
--- a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reftest-toc.xht
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reftest-toc.xht
@@ -4204,7 +4204,7 @@
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reftest.list b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reftest.list
index f864e053657..d18b41ccb4c 100644
--- a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reftest.list
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reftest.list
@@ -521,32 +521,32 @@ tab-size-percent-001.xht == reference/tab-size-length-001-ref.xht
text-align-006.xht == reference/text-align-006-ref.xht
text-align-007.xht == reference/text-align-007-ref.xht
text-align-008.xht == reference/text-align-007-ref.xht
-text-align-end-001.xht == reference/text-align-end-001.xht
-text-align-end-002.xht == reference/text-align-end-002.xht
-text-align-end-003.xht == reference/text-align-end-003.xht
-text-align-end-004.xht == reference/text-align-end-004.xht
-text-align-end-005.xht == reference/text-align-end-005.xht
-text-align-end-006.xht == reference/text-align-end-006.xht
-text-align-end-007.xht == reference/text-align-end-007.xht
-text-align-end-008.xht == reference/text-align-end-008.xht
-text-align-end-009.xht == reference/text-align-end-009.xht
-text-align-end-010.xht == reference/text-align-end-010.xht
-text-align-end-014.xht == reference/text-align-end-014.xht
-text-align-end-015.xht == reference/text-align-end-015.xht
-text-align-end-016.xht == reference/text-align-end-016.xht
-text-align-end-017.xht == reference/text-align-end-017.xht
-text-align-justify-001.xht == reference/text-align-justify-001.xht
-text-align-justify-002.xht == reference/text-align-justify-002.xht
-text-align-justify-003.xht == reference/text-align-justify-003.xht
-text-align-justify-004.xht == reference/text-align-justify-004.xht
-text-align-justify-005.xht == reference/text-align-justify-005.xht
-text-align-justify-006.xht == reference/text-align-justify-006.xht
-text-align-justifyall-001.xht == reference/text-align-justifyall-001.xht
-text-align-justifyall-002.xht == reference/text-align-justifyall-002.xht
-text-align-justifyall-003.xht == reference/text-align-justifyall-003.xht
-text-align-justifyall-004.xht == reference/text-align-justifyall-004.xht
-text-align-justifyall-005.xht == reference/text-align-justifyall-005.xht
-text-align-justifyall-006.xht == reference/text-align-justifyall-006.xht
+text-align-end-001.xht == reference/text-align-end-ref-001.xht
+text-align-end-002.xht == reference/text-align-end-ref-002.xht
+text-align-end-003.xht == reference/text-align-end-ref-003.xht
+text-align-end-004.xht == reference/text-align-end-ref-004.xht
+text-align-end-005.xht == reference/text-align-end-ref-005.xht
+text-align-end-006.xht == reference/text-align-end-ref-006.xht
+text-align-end-007.xht == reference/text-align-end-ref-007.xht
+text-align-end-008.xht == reference/text-align-end-ref-008.xht
+text-align-end-009.xht == reference/text-align-end-ref-009.xht
+text-align-end-010.xht == reference/text-align-end-ref-010.xht
+text-align-end-014.xht == reference/text-align-end-ref-014.xht
+text-align-end-015.xht == reference/text-align-end-ref-015.xht
+text-align-end-016.xht == reference/text-align-end-ref-016.xht
+text-align-end-017.xht == reference/text-align-end-ref-017.xht
+text-align-justify-001.xht == reference/text-align-justify-ref-001.xht
+text-align-justify-002.xht == reference/text-align-justify-ref-002.xht
+text-align-justify-003.xht == reference/text-align-justify-ref-003.xht
+text-align-justify-004.xht == reference/text-align-justify-ref-004.xht
+text-align-justify-005.xht == reference/text-align-justify-ref-005.xht
+text-align-justify-006.xht == reference/text-align-justify-ref-006.xht
+text-align-justifyall-001.xht == reference/text-align-justifyall-ref-001.xht
+text-align-justifyall-002.xht == reference/text-align-justifyall-ref-002.xht
+text-align-justifyall-003.xht == reference/text-align-justifyall-ref-003.xht
+text-align-justifyall-004.xht == reference/text-align-justifyall-ref-004.xht
+text-align-justifyall-005.xht == reference/text-align-justifyall-ref-005.xht
+text-align-justifyall-006.xht == reference/text-align-justifyall-ref-006.xht
text-align-last-010.xht == reference/text-align-last-010-ref.xht
text-align-last-011.xht == reference/text-align-last-010-ref.xht
text-align-match-parent-02.xht == reference/text-align-match-parent-ref.xht
@@ -554,20 +554,20 @@ text-align-match-parent-03.xht == reference/text-align-match-parent-ref.xht
text-align-match-parent-04.xht == reference/text-align-match-parent-ref.xht
text-align-match-parent-root-ltr.xht == reference/text-align-match-parent-root-ltr-ref.xht
text-align-match-parent-root-rtl.xht == reference/text-align-match-parent-root-rtl-ref.xht
-text-align-start-001.xht == reference/text-align-start-001.xht
-text-align-start-002.xht == reference/text-align-start-002.xht
-text-align-start-003.xht == reference/text-align-start-003.xht
-text-align-start-004.xht == reference/text-align-start-004.xht
-text-align-start-005.xht == reference/text-align-start-005.xht
-text-align-start-006.xht == reference/text-align-start-006.xht
-text-align-start-007.xht == reference/text-align-start-007.xht
-text-align-start-008.xht == reference/text-align-start-008.xht
-text-align-start-009.xht == reference/text-align-start-009.xht
-text-align-start-010.xht == reference/text-align-start-010.xht
-text-align-start-014.xht == reference/text-align-start-014.xht
-text-align-start-015.xht == reference/text-align-start-015.xht
-text-align-start-016.xht == reference/text-align-start-016.xht
-text-align-start-017.xht == reference/text-align-start-017.xht
+text-align-start-001.xht == reference/text-align-start-ref-001.xht
+text-align-start-002.xht == reference/text-align-start-ref-002.xht
+text-align-start-003.xht == reference/text-align-start-ref-003.xht
+text-align-start-004.xht == reference/text-align-start-ref-004.xht
+text-align-start-005.xht == reference/text-align-start-ref-005.xht
+text-align-start-006.xht == reference/text-align-start-ref-006.xht
+text-align-start-007.xht == reference/text-align-start-ref-007.xht
+text-align-start-008.xht == reference/text-align-start-ref-008.xht
+text-align-start-009.xht == reference/text-align-start-ref-009.xht
+text-align-start-010.xht == reference/text-align-start-ref-010.xht
+text-align-start-014.xht == reference/text-align-start-ref-014.xht
+text-align-start-015.xht == reference/text-align-start-ref-015.xht
+text-align-start-016.xht == reference/text-align-start-ref-016.xht
+text-align-start-017.xht == reference/text-align-start-ref-017.xht
text-emphasis-color-001.xht == reference/text-emphasis-color-001-ref.xht
text-emphasis-position-above-left-001.xht == reference/text-emphasis-position-above-left-001-ref.xht
text-emphasis-position-above-left-002.xht == reference/text-emphasis-position-above-left-002-ref.xht
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/support/adobe-fonts/CSSHWOrientationTest.otf b/tests/wpt/css-tests/css-text-3_dev/xhtml1/support/adobe-fonts/CSSHWOrientationTest.otf
index c919d9091d0..84ad57bef5a 100644
Binary files a/tests/wpt/css-tests/css-text-3_dev/xhtml1/support/adobe-fonts/CSSHWOrientationTest.otf and b/tests/wpt/css-tests/css-text-3_dev/xhtml1/support/adobe-fonts/CSSHWOrientationTest.otf differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/support/adobe-fonts/README.md b/tests/wpt/css-tests/css-text-3_dev/xhtml1/support/adobe-fonts/README.md
index 2f757669727..686cb0c4279 100644
--- a/tests/wpt/css-tests/css-text-3_dev/xhtml1/support/adobe-fonts/README.md
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/support/adobe-fonts/README.md
@@ -3,7 +3,8 @@ CSS Orientation Test
Overview
----
-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.
+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
----
@@ -14,20 +15,26 @@ Building
Pre-built font binaries
----
-The installable font resources (font binaries) are not part of the source files. They are available on [Open@Adobe](https://sourceforge.net/projects/csso9ntestfonts.adobe/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).
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) is necessary. The AFDKO tools are widely used for font development today, and are part of most font editor applications.
+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 by executing *makeotf -h*.
+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 for the full-width version like this, which also includes a post-process for inserting a "stub" 'DSIG' table:
+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
% sfntedit -a DSIG=DSIG.bin CSSFWOrientationTest.otf
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/text-align-end-001.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/text-align-end-001.xht
index 409884fe4f7..810e99b56f3 100644
--- a/tests/wpt/css-tests/css-text-3_dev/xhtml1/text-align-end-001.xht
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/text-align-end-001.xht
@@ -4,7 +4,7 @@
text-align: end, direction: rtl
-
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-002.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-002.xht
new file mode 100644
index 00000000000..69ddc1a8db8
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-002.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-003.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-003.xht
new file mode 100644
index 00000000000..a5ae28f324e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-003.xht
@@ -0,0 +1,17 @@
+
+
+
+text-align: end, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-004.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-004.xht
new file mode 100644
index 00000000000..388fdf46c7b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-004.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, dir=ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-005.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-005.xht
new file mode 100644
index 00000000000..d9ec4fd590d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-005.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, direction: rtl
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-006.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-006.xht
new file mode 100644
index 00000000000..f88e5d2a90c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-006.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: end, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-007.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-007.xht
new file mode 100644
index 00000000000..c94fefb3b64
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-007.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-008.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-008.xht
new file mode 100644
index 00000000000..f140d4ceb44
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-008.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: end, dir=ltr
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-009.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-009.xht
new file mode 100644
index 00000000000..f341480dea6
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-009.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, dir=auto, RTL first strong
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-010.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-010.xht
new file mode 100644
index 00000000000..6759f3b1282
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-010.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: end, dir=auto, LTR first strong
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-014.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-014.xht
new file mode 100644
index 00000000000..40ccdbb3379
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-014.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: end, pre, dir=rtl inherited
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-015.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-015.xht
new file mode 100644
index 00000000000..14dbaf9936d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-015.xht
@@ -0,0 +1,17 @@
+
+
+
+text-align: end, pre, dir=ltr inherited
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-016.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-016.xht
new file mode 100644
index 00000000000..47fd1f3ea4f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-016.xht
@@ -0,0 +1,18 @@
+
+
+
+text-align: end, pre, dir=auto
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-017.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-017.xht
new file mode 100644
index 00000000000..ae11beb2bc6
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-end-ref-017.xht
@@ -0,0 +1,17 @@
+
+
+
+text-align: end, pre, dir=auto on surrounding block
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-001.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-001.xht
new file mode 100644
index 00000000000..c9e05a4a260
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-001.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify, direction: rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-002.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-002.xht
new file mode 100644
index 00000000000..983d209c71e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-002.xht
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-003.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-003.xht
new file mode 100644
index 00000000000..117f4b9440a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-003.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-004.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-004.xht
new file mode 100644
index 00000000000..bad040fe3e2
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-004.xht
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify, dir=ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-005.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-005.xht
new file mode 100644
index 00000000000..b3842fca171
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-005.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify, dir=auto, RTL first strong
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-006.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-006.xht
new file mode 100644
index 00000000000..f2d732ae6ce
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justify-ref-006.xht
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify, dir=auto, LTR first strong
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-001.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-001.xht
new file mode 100644
index 00000000000..dd6d2cf2867
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-001.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify-all, direction: rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-002.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-002.xht
new file mode 100644
index 00000000000..27dbf26fe48
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-002.xht
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify-all, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-003.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-003.xht
new file mode 100644
index 00000000000..d2a2e1e3cd7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-003.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify-all, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-004.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-004.xht
new file mode 100644
index 00000000000..5f2e89e1bcc
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-004.xht
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify-all, dir=ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-005.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-005.xht
new file mode 100644
index 00000000000..dfbbb8b4dc1
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-005.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: justify-all, dir=auto, RTL first strong
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-006.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-006.xht
new file mode 100644
index 00000000000..6cb1c0deeaf
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-justifyall-ref-006.xht
@@ -0,0 +1,25 @@
+
+
+
+text-align: justify-all, dir=auto, LTR first strong
+
+
+
+
+
Test passes if the shading in both orange boxes is the same.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-001.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-001.xht
new file mode 100644
index 00000000000..f2d76217ff3
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-001.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: start, direction: rtl
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-002.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-002.xht
new file mode 100644
index 00000000000..cb69623e308
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-002.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-003.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-003.xht
new file mode 100644
index 00000000000..03874d52960
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-003.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: start, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-004.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-004.xht
new file mode 100644
index 00000000000..50fa1752665
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-004.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, dir=ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-005.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-005.xht
new file mode 100644
index 00000000000..46fe5cab0da
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-005.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, direction: rtl
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-006.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-006.xht
new file mode 100644
index 00000000000..0f7e4a2e0d7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-006.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: start, direction: ltr
+
+
+
+
+
Test passes if the shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-007.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-007.xht
new file mode 100644
index 00000000000..4d303d7acf2
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-007.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, dir=rtl
+
+
+
+
+
Test passes if the shading in both orange boxes looks the same.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-008.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-008.xht
new file mode 100644
index 00000000000..3a523fe9f67
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-008.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: start, dir=ltr
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-009.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-009.xht
new file mode 100644
index 00000000000..df9e076115c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-009.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, dir=auto, RTL first strong
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-010.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-010.xht
new file mode 100644
index 00000000000..2b291c024d7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-010.xht
@@ -0,0 +1,23 @@
+
+
+
+text-align: start, dir=auto, LTR first strong
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-014.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-014.xht
new file mode 100644
index 00000000000..a2e5267883d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-014.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, pre, dir=rtl inherited
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-015.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-015.xht
new file mode 100644
index 00000000000..8d8b8508a9b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-015.xht
@@ -0,0 +1,21 @@
+
+
+
+text-align: start, pre, dir=ltr inherited
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-016.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-016.xht
new file mode 100644
index 00000000000..9ae70b5f116
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-016.xht
@@ -0,0 +1,20 @@
+
+
+
+text-align: start, pre, dir=auto
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-017.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-017.xht
new file mode 100644
index 00000000000..f8c199d27b0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/text-align-start-ref-017.xht
@@ -0,0 +1,19 @@
+
+
+
+text-align: start, pre, dir=auto on surrounding block
+
+
+
+
+
Test passes if shading in both orange boxes is identical.
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reftest-toc.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reftest-toc.xht
index 8a315b2bfb0..0d9adef6d13 100644
--- a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reftest-toc.xht
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reftest-toc.xht
@@ -4204,7 +4204,7 @@
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reftest.list b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reftest.list
index f864e053657..d18b41ccb4c 100644
--- a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reftest.list
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reftest.list
@@ -521,32 +521,32 @@ tab-size-percent-001.xht == reference/tab-size-length-001-ref.xht
text-align-006.xht == reference/text-align-006-ref.xht
text-align-007.xht == reference/text-align-007-ref.xht
text-align-008.xht == reference/text-align-007-ref.xht
-text-align-end-001.xht == reference/text-align-end-001.xht
-text-align-end-002.xht == reference/text-align-end-002.xht
-text-align-end-003.xht == reference/text-align-end-003.xht
-text-align-end-004.xht == reference/text-align-end-004.xht
-text-align-end-005.xht == reference/text-align-end-005.xht
-text-align-end-006.xht == reference/text-align-end-006.xht
-text-align-end-007.xht == reference/text-align-end-007.xht
-text-align-end-008.xht == reference/text-align-end-008.xht
-text-align-end-009.xht == reference/text-align-end-009.xht
-text-align-end-010.xht == reference/text-align-end-010.xht
-text-align-end-014.xht == reference/text-align-end-014.xht
-text-align-end-015.xht == reference/text-align-end-015.xht
-text-align-end-016.xht == reference/text-align-end-016.xht
-text-align-end-017.xht == reference/text-align-end-017.xht
-text-align-justify-001.xht == reference/text-align-justify-001.xht
-text-align-justify-002.xht == reference/text-align-justify-002.xht
-text-align-justify-003.xht == reference/text-align-justify-003.xht
-text-align-justify-004.xht == reference/text-align-justify-004.xht
-text-align-justify-005.xht == reference/text-align-justify-005.xht
-text-align-justify-006.xht == reference/text-align-justify-006.xht
-text-align-justifyall-001.xht == reference/text-align-justifyall-001.xht
-text-align-justifyall-002.xht == reference/text-align-justifyall-002.xht
-text-align-justifyall-003.xht == reference/text-align-justifyall-003.xht
-text-align-justifyall-004.xht == reference/text-align-justifyall-004.xht
-text-align-justifyall-005.xht == reference/text-align-justifyall-005.xht
-text-align-justifyall-006.xht == reference/text-align-justifyall-006.xht
+text-align-end-001.xht == reference/text-align-end-ref-001.xht
+text-align-end-002.xht == reference/text-align-end-ref-002.xht
+text-align-end-003.xht == reference/text-align-end-ref-003.xht
+text-align-end-004.xht == reference/text-align-end-ref-004.xht
+text-align-end-005.xht == reference/text-align-end-ref-005.xht
+text-align-end-006.xht == reference/text-align-end-ref-006.xht
+text-align-end-007.xht == reference/text-align-end-ref-007.xht
+text-align-end-008.xht == reference/text-align-end-ref-008.xht
+text-align-end-009.xht == reference/text-align-end-ref-009.xht
+text-align-end-010.xht == reference/text-align-end-ref-010.xht
+text-align-end-014.xht == reference/text-align-end-ref-014.xht
+text-align-end-015.xht == reference/text-align-end-ref-015.xht
+text-align-end-016.xht == reference/text-align-end-ref-016.xht
+text-align-end-017.xht == reference/text-align-end-ref-017.xht
+text-align-justify-001.xht == reference/text-align-justify-ref-001.xht
+text-align-justify-002.xht == reference/text-align-justify-ref-002.xht
+text-align-justify-003.xht == reference/text-align-justify-ref-003.xht
+text-align-justify-004.xht == reference/text-align-justify-ref-004.xht
+text-align-justify-005.xht == reference/text-align-justify-ref-005.xht
+text-align-justify-006.xht == reference/text-align-justify-ref-006.xht
+text-align-justifyall-001.xht == reference/text-align-justifyall-ref-001.xht
+text-align-justifyall-002.xht == reference/text-align-justifyall-ref-002.xht
+text-align-justifyall-003.xht == reference/text-align-justifyall-ref-003.xht
+text-align-justifyall-004.xht == reference/text-align-justifyall-ref-004.xht
+text-align-justifyall-005.xht == reference/text-align-justifyall-ref-005.xht
+text-align-justifyall-006.xht == reference/text-align-justifyall-ref-006.xht
text-align-last-010.xht == reference/text-align-last-010-ref.xht
text-align-last-011.xht == reference/text-align-last-010-ref.xht
text-align-match-parent-02.xht == reference/text-align-match-parent-ref.xht
@@ -554,20 +554,20 @@ text-align-match-parent-03.xht == reference/text-align-match-parent-ref.xht
text-align-match-parent-04.xht == reference/text-align-match-parent-ref.xht
text-align-match-parent-root-ltr.xht == reference/text-align-match-parent-root-ltr-ref.xht
text-align-match-parent-root-rtl.xht == reference/text-align-match-parent-root-rtl-ref.xht
-text-align-start-001.xht == reference/text-align-start-001.xht
-text-align-start-002.xht == reference/text-align-start-002.xht
-text-align-start-003.xht == reference/text-align-start-003.xht
-text-align-start-004.xht == reference/text-align-start-004.xht
-text-align-start-005.xht == reference/text-align-start-005.xht
-text-align-start-006.xht == reference/text-align-start-006.xht
-text-align-start-007.xht == reference/text-align-start-007.xht
-text-align-start-008.xht == reference/text-align-start-008.xht
-text-align-start-009.xht == reference/text-align-start-009.xht
-text-align-start-010.xht == reference/text-align-start-010.xht
-text-align-start-014.xht == reference/text-align-start-014.xht
-text-align-start-015.xht == reference/text-align-start-015.xht
-text-align-start-016.xht == reference/text-align-start-016.xht
-text-align-start-017.xht == reference/text-align-start-017.xht
+text-align-start-001.xht == reference/text-align-start-ref-001.xht
+text-align-start-002.xht == reference/text-align-start-ref-002.xht
+text-align-start-003.xht == reference/text-align-start-ref-003.xht
+text-align-start-004.xht == reference/text-align-start-ref-004.xht
+text-align-start-005.xht == reference/text-align-start-ref-005.xht
+text-align-start-006.xht == reference/text-align-start-ref-006.xht
+text-align-start-007.xht == reference/text-align-start-ref-007.xht
+text-align-start-008.xht == reference/text-align-start-ref-008.xht
+text-align-start-009.xht == reference/text-align-start-ref-009.xht
+text-align-start-010.xht == reference/text-align-start-ref-010.xht
+text-align-start-014.xht == reference/text-align-start-ref-014.xht
+text-align-start-015.xht == reference/text-align-start-ref-015.xht
+text-align-start-016.xht == reference/text-align-start-ref-016.xht
+text-align-start-017.xht == reference/text-align-start-ref-017.xht
text-emphasis-color-001.xht == reference/text-emphasis-color-001-ref.xht
text-emphasis-position-above-left-001.xht == reference/text-emphasis-position-above-left-001-ref.xht
text-emphasis-position-above-left-002.xht == reference/text-emphasis-position-above-left-002-ref.xht
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/support/adobe-fonts/CSSHWOrientationTest.otf b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/support/adobe-fonts/CSSHWOrientationTest.otf
index c919d9091d0..84ad57bef5a 100644
Binary files a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/support/adobe-fonts/CSSHWOrientationTest.otf and b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/support/adobe-fonts/CSSHWOrientationTest.otf differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/support/adobe-fonts/README.md b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/support/adobe-fonts/README.md
index 2f757669727..686cb0c4279 100644
--- a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/support/adobe-fonts/README.md
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/support/adobe-fonts/README.md
@@ -3,7 +3,8 @@ CSS Orientation Test
Overview
----
-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.
+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
----
@@ -14,20 +15,26 @@ Building
Pre-built font binaries
----
-The installable font resources (font binaries) are not part of the source files. They are available on [Open@Adobe](https://sourceforge.net/projects/csso9ntestfonts.adobe/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).
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) is necessary. The AFDKO tools are widely used for font development today, and are part of most font editor applications.
+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 by executing *makeotf -h*.
+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 for the full-width version like this, which also includes a post-process for inserting a "stub" 'DSIG' table:
+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
% sfntedit -a DSIG=DSIG.bin CSSFWOrientationTest.otf
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/text-align-end-001.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/text-align-end-001.xht
index 409884fe4f7..810e99b56f3 100644
--- a/tests/wpt/css-tests/css-text-3_dev/xhtml1print/text-align-end-001.xht
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1print/text-align-end-001.xht
@@ -4,7 +4,7 @@
text-align: end, direction: rtl
-
+
+
There should be a black square below.
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/chapter-3.htm b/tests/wpt/css-tests/css-ui-3_dev/html/chapter-3.htm
index 5c0faf0b0a9..19535ff7499 100644
--- a/tests/wpt/css-tests/css-ui-3_dev/html/chapter-3.htm
+++ b/tests/wpt/css-tests/css-ui-3_dev/html/chapter-3.htm
@@ -13,7 +13,7 @@
CSS Basic User Interface Module Level 3 CR Test Suite
diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-001.htm b/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-011.htm
similarity index 93%
rename from tests/wpt/css-tests/css-ui-3_dev/html/outline-style-001.htm
rename to tests/wpt/css-tests/css-ui-3_dev/html/outline-style-011.htm
index 9c2265131fd..1aeac780ee1 100644
--- a/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-001.htm
+++ b/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-011.htm
@@ -5,7 +5,7 @@
-
+
+
There should be a black square below.
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-001-ref.htm b/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-011-ref.htm
similarity index 100%
rename from tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-001-ref.htm
rename to tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-011-ref.htm
diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-002-ref.htm b/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-012-ref.htm
similarity index 100%
rename from tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-002-ref.htm
rename to tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-012-ref.htm
diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-003-ref.htm b/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-013-ref.htm
similarity index 100%
rename from tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-003-ref.htm
rename to tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-013-ref.htm
diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-004-ref.htm b/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-014-ref.htm
similarity index 100%
rename from tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-004-ref.htm
rename to tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-014-ref.htm
diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/reference/text-overflow-ref.htm b/tests/wpt/css-tests/css-ui-3_dev/html/reference/text-overflow-ref.htm
new file mode 100644
index 00000000000..637aca9a5fc
--- /dev/null
+++ b/tests/wpt/css-tests/css-ui-3_dev/html/reference/text-overflow-ref.htm
@@ -0,0 +1,16 @@
+
+
+ CSS Reftest Ellipsis Reference
+
+
+
+
PREREQUISITE: The font used must have a glyph for the U+2026 character.
+
Test passes if there is ellipsis after a black square.
+
+ A
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/reftest-toc.htm b/tests/wpt/css-tests/css-ui-3_dev/html/reftest-toc.htm
index 8873dcac45c..5551593580d 100644
--- a/tests/wpt/css-tests/css-ui-3_dev/html/reftest-toc.htm
+++ b/tests/wpt/css-tests/css-ui-3_dev/html/reftest-toc.htm
@@ -280,6 +280,14 @@
PREREQUISITE: The font used must have a glyph for the U+2026 character.
+
Test passes if there is ellipsis after a black square.
+
+ AAAA
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/toc.htm b/tests/wpt/css-tests/css-ui-3_dev/html/toc.htm
index 6f851b3ab28..a79c6fdb03b 100644
--- a/tests/wpt/css-tests/css-ui-3_dev/html/toc.htm
+++ b/tests/wpt/css-tests/css-ui-3_dev/html/toc.htm
@@ -32,7 +32,7 @@
diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-001.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-011.xht
similarity index 94%
rename from tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-001.xht
rename to tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-011.xht
index 8788a1fdca0..1b80e514f9e 100644
--- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-001.xht
+++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-011.xht
@@ -5,7 +5,7 @@
-
+
+
There should be a black square below.
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-001-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-011-ref.xht
similarity index 100%
rename from tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-001-ref.xht
rename to tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-011-ref.xht
diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-002-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-012-ref.xht
similarity index 100%
rename from tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-002-ref.xht
rename to tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-012-ref.xht
diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-003-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-013-ref.xht
similarity index 100%
rename from tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-003-ref.xht
rename to tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-013-ref.xht
diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-004-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-014-ref.xht
similarity index 100%
rename from tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-004-ref.xht
rename to tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-014-ref.xht
diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/text-overflow-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/text-overflow-ref.xht
new file mode 100644
index 00000000000..dcf91a5cee6
--- /dev/null
+++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/text-overflow-ref.xht
@@ -0,0 +1,16 @@
+
+
+ CSS Reftest Ellipsis Reference
+
+
+
+
PREREQUISITE: The font used must have a glyph for the U+2026 character.
+
Test passes if there is ellipsis after a black square.
+
+ A
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reftest-toc.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reftest-toc.xht
index 30fef4e1b0e..27f13acd8e7 100644
--- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reftest-toc.xht
+++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reftest-toc.xht
@@ -280,6 +280,14 @@
PREREQUISITE: The font used must have a glyph for the U+2026 character.
+
Test passes if there is ellipsis after a black square.
+
+ AAAA
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/toc.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/toc.xht
index de919d3e7be..5450dd48dc5 100644
--- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/toc.xht
+++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/toc.xht
@@ -32,7 +32,7 @@
diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-001.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-011.xht
similarity index 94%
rename from tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-001.xht
rename to tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-011.xht
index 8788a1fdca0..1b80e514f9e 100644
--- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-001.xht
+++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-011.xht
@@ -5,7 +5,7 @@
-
+
+
There should be a black square below.
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-001-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-011-ref.xht
similarity index 100%
rename from tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-001-ref.xht
rename to tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-011-ref.xht
diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-002-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-012-ref.xht
similarity index 100%
rename from tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-002-ref.xht
rename to tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-012-ref.xht
diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-003-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-013-ref.xht
similarity index 100%
rename from tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-003-ref.xht
rename to tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-013-ref.xht
diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-004-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-014-ref.xht
similarity index 100%
rename from tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-004-ref.xht
rename to tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-014-ref.xht
diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/text-overflow-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/text-overflow-ref.xht
new file mode 100644
index 00000000000..dcf91a5cee6
--- /dev/null
+++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/text-overflow-ref.xht
@@ -0,0 +1,16 @@
+
+
+ CSS Reftest Ellipsis Reference
+
+
+
+
PREREQUISITE: The font used must have a glyph for the U+2026 character.
+
Test passes if there is ellipsis after a black square.
+
+ A
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reftest-toc.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reftest-toc.xht
index 30fef4e1b0e..27f13acd8e7 100644
--- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reftest-toc.xht
+++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reftest-toc.xht
@@ -280,6 +280,14 @@
PREREQUISITE: The font used must have a glyph for the U+2026 character.
+
Test passes if there is ellipsis after a black square.
+
+ AAAA
+
+
+
+
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/toc.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/toc.xht
index de919d3e7be..5450dd48dc5 100644
--- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/toc.xht
+++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/toc.xht
@@ -32,7 +32,7 @@
This test checks that vertical-lr tables, whether LTR or RTL, order rows/rowgroups right to left and cells top-to-bottom when text-orientation is upright.
This test checks that vertical-lr tables, whether LTR or RTL, order rows/rowgroups right to left and cells top-to-bottom when text-orientation is upright.
This test checks that vertical-lr tables, whether LTR or RTL, order rows/rowgroups right to left and cells top-to-bottom when text-orientation is upright.
This test checks that vertical-lr tables, whether LTR or RTL, order rows/rowgroups right to left and cells top-to-bottom when text-orientation is upright.
inline block alignment - alphabetical alignment with vertical layout
-
-
This test checks the generation of inline-block baseline. When 'writing-mode' is 'vertical-rl' and when 'text-orientation' is 'sideways-right', then the alphabetical baseline is used as the dominant baseline.
This test checks that vertical-rl tables, whether LTR or RTL, order rows/rowgroups right to left and cells top-to-bottom when text-orientation is upright.
This test checks that vertical-rl tables, whether LTR or RTL, order rows/rowgroups right to left and cells top-to-bottom when text-orientation is upright.
This test checks that 'text-orientation: sideways-right' causes text to be set as if in a horizontal layout, but rotated 90° clockwise, in vertical writing modes. This is effective to verify 1.block flow direction, 2.inline direction and 3.glyph orientation.
This test checks that 'text-orientation: sideways' is equivalent to‘sideways-right’in‘vertical-rl’writing mode. This is effective to verify 1.block flow direction, 2.inline direction and 3.glyph orientation.
+
This test checks that 'text-orientation: sideways' causes text to be set as if in a horizontal layout, but rotated 90° clockwise, in vertical writing modes. This is effective to verify 1.block flow direction, 2.inline direction and 3.glyph orientation.
text-orientation - sideways in vertical-rl writing mode
-
This test checks that the same as [text-orientation: sideways-right], general horizontal text(include Japanese,etc) rotates 90 degrees clockwise, and it is verified whether the characters are aligned in the vertical direction.
text-orientation - sideways-right in vertical-rl writing mode
-
-
This test checks that general horizontal text(include Japanese,etc) rotates 90 degrees clockwise, and it is verified whether the characters are aligned in the vertical direction.
+
This test checks that general horizontal text (include Japanese,etc) rotates 90 degrees clockwise, and it is verified whether the characters are aligned in the vertical direction.
'text-decoration: underline' and 'text-orientation: sideways-right' in a 'vertical-lr' writing-mode
+
'text-decoration: underline' and 'text-orientation: sideways' in a 'vertical-lr' writing-mode
-
This test checks that 'text-decoration: underline' generates a line on the lefthand side of text when 'text-orientation' is set to 'sideways-right' in a 'vertical-lr' writing-mode.
+
This test checks that 'text-decoration: underline' generates a line on the lefthand side of text when 'text-orientation' is set to 'sideways' in a 'vertical-lr' writing-mode.
'text-decoration: overline' and 'text-orientation: sideways-right' in a 'vertical-lr' writing-mode
+
'text-decoration: overline' and 'text-orientation: sideways' in a 'vertical-lr' writing-mode
-
This test checks that 'text-decoration: overline' generates a line on the righthand side of text when 'text-orientation' is set to 'sideways-right' in a 'vertical-lr' writing-mode.
+
This test checks that 'text-decoration: overline' generates a line on the righthand side of text when 'text-orientation' is set to 'sideways' in a 'vertical-lr' writing-mode.
'text-decoration: line-through' and 'text-orientation: sideways-right' in a 'vertical-lr' writing-mode
+
'text-decoration: line-through' and 'text-orientation: sideways' in a 'vertical-lr' writing-mode
-
This test checks that 'text-decoration: line-through' generates a line that passes through the middle of glyphs when 'text-orientation' is set to 'sideways-right' in a 'vertical-lr' writing-mode.
+
This test checks that 'text-decoration: line-through' generates a line that passes through the middle of glyphs when 'text-orientation' is set to 'sideways' in a 'vertical-lr' writing-mode.
'text-decoration: underline' and 'text-orientation: sideways-right' in a 'vertical-rl' writing-mode
+
'text-decoration: underline' and 'text-orientation: sideways' in a 'vertical-rl' writing-mode
-
This test checks that 'text-decoration: underline' generates a line on the lefthand side of text when 'text-orientation' is set to 'sideways-right' in a 'vertical-rl' writing-mode.
+
This test checks that 'text-decoration: underline' generates a line on the lefthand side of text when 'text-orientation' is set to 'sideways' in a 'vertical-rl' writing-mode.
'text-decoration: overline' and 'text-orientation: sideways-right' in a 'vertical-rl' writing-mode
+
'text-decoration: overline' and 'text-orientation: sideways' in a 'vertical-rl' writing-mode
-
This test checks that 'text-decoration: overline' generates a line on the righthand side of text when 'text-orientation' is set to 'sideways-right' in a 'vertical-rl' writing-mode.
+
This test checks that 'text-decoration: overline' generates a line on the righthand side of text when 'text-orientation' is set to 'sideways' in a 'vertical-rl' writing-mode.
'text-decoration: line-through' and 'text-orientation: sideways-right' in a 'vertical-rl' writing-mode
+
'text-decoration: line-through' and 'text-orientation: sideways' in a 'vertical-rl' writing-mode
-
This test checks that 'text-decoration: line-through' generates a line that passes through the middle of glyphs when 'text-orientation' is set to 'sideways-right' in a 'vertical-rl' writing-mode.
+
This test checks that 'text-decoration: line-through' generates a line that passes through the middle of glyphs when 'text-orientation' is set to 'sideways' in a 'vertical-rl' writing-mode.
'text-decoration: underline' and 'text-orientation: sideways-right' in a 'vertical-lr' writing-mode
+
'text-decoration: underline' and 'text-orientation: sideways' in a 'vertical-lr' writing-mode
-
This test checks that 'text-decoration: underline' generates a line on the lefthand side of text when 'text-orientation' is set to 'sideways-right' in a 'vertical-lr' writing-mode.
+
This test checks that 'text-decoration: underline' generates a line on the lefthand side of text when 'text-orientation' is set to 'sideways' in a 'vertical-lr' writing-mode.
'text-decoration: overline' and 'text-orientation: sideways-right' in a 'vertical-lr' writing-mode
+
'text-decoration: overline' and 'text-orientation: sideways' in a 'vertical-lr' writing-mode
-
This test checks that 'text-decoration: overline' generates a line on the righthand side of text when 'text-orientation' is set to 'sideways-right' in a 'vertical-lr' writing-mode.
+
This test checks that 'text-decoration: overline' generates a line on the righthand side of text when 'text-orientation' is set to 'sideways' in a 'vertical-lr' writing-mode.
'text-decoration: line-through' and 'text-orientation: sideways-right' in a 'vertical-lr' writing-mode
+
'text-decoration: line-through' and 'text-orientation: sideways' in a 'vertical-lr' writing-mode
-
This test checks that 'text-decoration: line-through' generates a line that passes through the middle of glyphs when 'text-orientation' is set to 'sideways-right' in a 'vertical-lr' writing-mode.
+
This test checks that 'text-decoration: line-through' generates a line that passes through the middle of glyphs when 'text-orientation' is set to 'sideways' in a 'vertical-lr' writing-mode.
'text-decoration: underline' and 'text-orientation: sideways-right' in a 'vertical-rl' writing-mode
+
'text-decoration: underline' and 'text-orientation: sideways' in a 'vertical-rl' writing-mode
-
This test checks that 'text-decoration: underline' generates a line on the lefthand side of text when 'text-orientation' is set to 'sideways-right' in a 'vertical-rl' writing-mode.
+
This test checks that 'text-decoration: underline' generates a line on the lefthand side of text when 'text-orientation' is set to 'sideways' in a 'vertical-rl' writing-mode.
'text-decoration: overline' and 'text-orientation: sideways-right' in a 'vertical-rl' writing-mode
+
'text-decoration: overline' and 'text-orientation: sideways' in a 'vertical-rl' writing-mode
-
This test checks that 'text-decoration: overline' generates a line on the righthand side of text when 'text-orientation' is set to 'sideways-right' in a 'vertical-rl' writing-mode.
+
This test checks that 'text-decoration: overline' generates a line on the righthand side of text when 'text-orientation' is set to 'sideways' in a 'vertical-rl' writing-mode.
'text-decoration: line-through' and 'text-orientation: sideways-right' in a 'vertical-rl' writing-mode
+
'text-decoration: line-through' and 'text-orientation: sideways' in a 'vertical-rl' writing-mode
-
This test checks that 'text-decoration: line-through' generates a line that passes through the middle of glyphs when 'text-orientation' is set to 'sideways-right' in a 'vertical-rl' writing-mode.
+
This test checks that 'text-decoration: line-through' generates a line that passes through the middle of glyphs when 'text-orientation' is set to 'sideways' in a 'vertical-rl' writing-mode.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'mixed', 'vertical-align' is 'super', the baseline of the box is shifted to the right.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'upright', 'vertical-align' is 'super', the baseline of the box is shifted to the right.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'sideways', 'vertical-align' is 'super', the baseline of the box is shifted to the right.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'mixed', 'vertical-align' is 'sub', the baseline of the box is shifted to the left.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'upright', 'vertical-align' is 'sub', the baseline of the box is shifted to the left.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'sideways', 'vertical-align' is 'sub', the baseline of the box is shifted to the left.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'upright', 'vertical-align' is 'middle', the vertical midpoint of the box is aligned with the central baseline of the parent box plus half the x-height of the parent.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'upright', 'vertical-align' is 'middle', the vertical midpoint of the box is aligned with the central baseline of the parent box plus half the x-height of the parent.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'sideways, 'vertical-align' is 'middle', the vertical midpoint of the box is aligned with the central baseline of the parent box plus half the x-height of the parent.
+
+
+
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-reverse-wrap-reverse.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-reverse-wrap-reverse.htm
index 8db5d9c2ba9..9111b021587 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-reverse-wrap-reverse.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-reverse-wrap-reverse.htm
@@ -25,6 +25,7 @@
background: green;
height: 3em;
width: 1.5em;
+ line-height: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-reverse-wrap.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-reverse-wrap.htm
index f25de660a10..25303017ba6 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-reverse-wrap.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-reverse-wrap.htm
@@ -25,6 +25,7 @@
background: green;
height: 3em;
width: 1.5em;
+ line-height: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-reverse.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-reverse.htm
index 408e510a84b..40617e9ed98 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-reverse.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-reverse.htm
@@ -23,6 +23,7 @@
background: green;
height: 3em;
width: 3em;
+ line-height: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-wrap-reverse.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-wrap-reverse.htm
index 63ceb210cf5..8c960758469 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-wrap-reverse.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-wrap-reverse.htm
@@ -25,6 +25,7 @@
background: green;
height: 3em;
width: 1.5em;
+ line-height: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-wrap.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-wrap.htm
index e13719ffcd5..6786ce636c5 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-wrap.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row-wrap.htm
@@ -25,6 +25,7 @@
background: green;
height: 3em;
width: 1.5em;
+ line-height: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row.htm
index 7b0e69e40fd..7313f9d7bd9 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/css-flexbox-row.htm
@@ -23,6 +23,7 @@
background: green;
height: 3em;
width: 3em;
+ line-height: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/form-controls-vert-rl-004.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/form-controls-vert-rl-004.htm
index b06ded446c7..e557fc3ed85 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/form-controls-vert-rl-004.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/form-controls-vert-rl-004.htm
@@ -14,14 +14,16 @@
@@ -30,7 +32,7 @@
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/reftest.list b/tests/wpt/css-tests/css-writing-modes-3_dev/html/reftest.list
index b1c829a3227..1446245ecb3 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/reftest.list
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/reftest.list
@@ -550,7 +550,6 @@ inline-block-alignment-004.htm == reference/inline-block-alignment-002-ref.htm
inline-block-alignment-005.htm == reference/inline-block-alignment-003-ref.htm
inline-block-alignment-006.htm == reference/inline-block-alignment-006-ref.htm
inline-block-alignment-007.htm == reference/inline-block-alignment-006-ref.htm
-inline-block-alignment-008.htm == reference/inline-block-alignment-006-ref.htm
inline-block-alignment-orthogonal-vlr-003.htm == reference/inline-block-alignment-orthogonal-vrl-002-ref.htm
inline-block-alignment-orthogonal-vlr-005.htm == reference/inline-block-alignment-orthogonal-vrl-002-ref.htm
inline-block-alignment-orthogonal-vrl-002.htm == reference/inline-block-alignment-orthogonal-vrl-002-ref.htm
@@ -628,14 +627,14 @@ table-column-order-002.htm == reference/block-flow-direction-001-ref.htm
table-column-order-003.htm == reference/block-flow-direction-001-ref.htm
table-column-order-004.htm == reference/block-flow-direction-001-ref.htm
table-column-order-005.htm == reference/block-flow-direction-001-ref.htm
-table-progression-001-vlr.htm == table-progression-001-ref.orngtml
-table-progression-001-vrl.htm == table-progression-001-ref.orngtml
-table-progression-002-vlr.htm == table-progression-002-ref.orngtml
-table-progression-002-vrl.htm == table-progression-002-ref.orngtml
-table-progression-003-vlr.htm == table-progression-001-ref.orngtml
-table-progression-003-vrl.htm == table-progression-001-ref.orngtml
-table-progression-004-vlr.htm == table-progression-002-ref.orngtml
-table-progression-004-vrl.htm == table-progression-002-ref.orngtml
+table-progression-vlr-001.htm == reference/table-progression-001-ref.htm
+table-progression-vlr-002.htm == reference/table-progression-002-ref.htm
+table-progression-vlr-003.htm == reference/table-progression-001-ref.htm
+table-progression-vlr-004.htm == reference/table-progression-002-ref.htm
+table-progression-vrl-001.htm == reference/table-progression-001-ref.htm
+table-progression-vrl-002.htm == reference/table-progression-002-ref.htm
+table-progression-vrl-003.htm == reference/table-progression-001-ref.htm
+table-progression-vrl-004.htm == reference/table-progression-002-ref.htm
text-align-vlr-003.htm == reference/ref-filled-green-100px-square.htm
text-align-vlr-005.htm == reference/ref-filled-green-100px-square.htm
text-align-vlr-007.htm == reference/ref-filled-green-100px-square.htm
@@ -694,7 +693,6 @@ text-indent-vrl-010.htm == reference/text-indent-vrl-010-ref.htm
text-indent-vrl-012.htm == reference/text-indent-vrl-012-ref.htm
text-indent-vrl-014.htm == reference/text-indent-vrl-010-ref.htm
text-indent-vrl-016.htm == reference/text-indent-vrl-012-ref.htm
-text-orientation-012.htm == reference/text-orientation-012-ref.htm
text-orientation-014.htm == reference/text-orientation-014-ref.htm
unicode-bidi-001.htm == reference/direction-002-ref.htm
unicode-bidi-002.htm == reference/unicode-bidi-002-ref.htm
@@ -721,6 +719,9 @@ vertical-alignment-006.htm == reference/vertical-alignment-006-ref.htm
vertical-alignment-007.htm == reference/vertical-alignment-006-ref.htm
vertical-alignment-008.htm == reference/vertical-alignment-008-ref.htm
vertical-alignment-009.htm == reference/vertical-alignment-008-ref.htm
+vertical-alignment-vrl-022.htm == reference/vertical-alignment-vrl-022-ref.htm
+vertical-alignment-vrl-024.htm == reference/vertical-alignment-vrl-022-ref.htm
+vertical-alignment-vrl-026.htm == reference/vertical-alignment-vrl-026-ref.htm
writing-mode-horizontal-001l.htm == reference/writing-mode-horizontal-001l-ref.htm
writing-mode-horizontal-001r.htm == reference/writing-mode-horizontal-001r-ref.htm
writing-mode-stretch-001.htm == reference/writing-mode-stretch-001-ref.htm
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/support/adobe-fonts/CSSHWOrientationTest.otf b/tests/wpt/css-tests/css-writing-modes-3_dev/html/support/adobe-fonts/CSSHWOrientationTest.otf
index c919d9091d0..84ad57bef5a 100644
Binary files a/tests/wpt/css-tests/css-writing-modes-3_dev/html/support/adobe-fonts/CSSHWOrientationTest.otf and b/tests/wpt/css-tests/css-writing-modes-3_dev/html/support/adobe-fonts/CSSHWOrientationTest.otf differ
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/support/adobe-fonts/README.md b/tests/wpt/css-tests/css-writing-modes-3_dev/html/support/adobe-fonts/README.md
index 2f757669727..686cb0c4279 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/support/adobe-fonts/README.md
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/support/adobe-fonts/README.md
@@ -3,7 +3,8 @@ CSS Orientation Test
Overview
----
-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.
+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
----
@@ -14,20 +15,26 @@ Building
Pre-built font binaries
----
-The installable font resources (font binaries) are not part of the source files. They are available on [Open@Adobe](https://sourceforge.net/projects/csso9ntestfonts.adobe/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).
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) is necessary. The AFDKO tools are widely used for font development today, and are part of most font editor applications.
+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 by executing *makeotf -h*.
+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 for the full-width version like this, which also includes a post-process for inserting a "stub" 'DSIG' table:
+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
% sfntedit -a DSIG=DSIG.bin CSSFWOrientationTest.otf
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-001-vlr.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vlr-001.htm
similarity index 96%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-001-vlr.htm
rename to tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vlr-001.htm
index 286634c4298..f35cf13fbed 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-001-vlr.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vlr-001.htm
@@ -1,7 +1,7 @@
CSS Test: vertical-lr Table Row/Rowgroup/Cell Ordering
-
+
@@ -59,7 +59,7 @@
-
+
@@ -88,7 +88,7 @@
-
+
@@ -132,5 +132,4 @@
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-002-vlr.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vlr-002.htm
similarity index 97%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-002-vlr.htm
rename to tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vlr-002.htm
index eae0564cefa..5101567a629 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-002-vlr.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vlr-002.htm
@@ -1,7 +1,7 @@
CSS Test: vertical-lr Table Column/Colgroup Ordering
-
+
@@ -84,5 +84,4 @@
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-003-vlr.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vlr-003.htm
similarity index 96%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-003-vlr.htm
rename to tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vlr-003.htm
index 420efd0e0c3..fb161889dde 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-003-vlr.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vlr-003.htm
@@ -1,7 +1,7 @@
CSS Test: vertical-lr upright orientation Table Row/Rowgroup/Cell Ordering
-
+
@@ -41,7 +41,7 @@
-
+
@@ -68,7 +68,7 @@
-
+
@@ -112,5 +112,4 @@
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-004-vlr.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vlr-004.htm
similarity index 97%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-004-vlr.htm
rename to tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vlr-004.htm
index 938c9df8290..c6273f0187c 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-004-vlr.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vlr-004.htm
@@ -1,7 +1,7 @@
CSS Test: vertical-lr upright orientation Table Column/Colgroup Ordering
-
+
@@ -73,5 +73,4 @@
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-001-vrl.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vrl-001.htm
similarity index 96%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-001-vrl.htm
rename to tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vrl-001.htm
index 5436493a59b..ef6a1c7655a 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-001-vrl.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vrl-001.htm
@@ -1,7 +1,7 @@
CSS Test: vertical-rl Table Row/Rowgroup/Cell Ordering
-
+
@@ -63,7 +63,7 @@
-
+
@@ -92,7 +92,7 @@
-
+
@@ -129,5 +129,4 @@
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-002-vrl.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vrl-002.htm
similarity index 97%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-002-vrl.htm
rename to tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vrl-002.htm
index fb17937b16e..c7c802e6e70 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-002-vrl.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vrl-002.htm
@@ -1,7 +1,7 @@
CSS Test: vertical-rl Table Column/Colgroup Ordering
-
+
@@ -83,5 +83,4 @@
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-003-vrl.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vrl-003.htm
similarity index 96%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-003-vrl.htm
rename to tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vrl-003.htm
index 91a04dc6b02..a8c7fb8a13a 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-003-vrl.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vrl-003.htm
@@ -1,7 +1,7 @@
CSS Test: vertical-rl upright orientation Table Row/Rowgroup/Cell Ordering
-
+
@@ -46,7 +46,7 @@
-
+
@@ -73,7 +73,7 @@
-
+
@@ -112,5 +112,4 @@
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-004-vrl.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vrl-004.htm
similarity index 97%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-004-vrl.htm
rename to tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vrl-004.htm
index b0883cda34c..c5986afbe49 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-004-vrl.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/table-progression-vrl-004.htm
@@ -1,7 +1,7 @@
CSS Test: vertical-rl upright orientation Table Column/Colgroup Ordering
-
+
@@ -72,5 +72,4 @@
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-002.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-002.htm
index aea84e3832a..25b6909b582 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-002.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-002.htm
@@ -3,7 +3,7 @@
CSS Writing Modes Test: text baseline alignment - central alignment with vertical layout
-
+
@@ -13,7 +13,6 @@
{
color: orange;
font: 60px/1.5 Ahem; /* computes to 60px/90px */
- height: 4em;
writing-mode: vertical-rl;
text-orientation: mixed;
}
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-003.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-003.htm
index 5ca1298777f..e03a5257f29 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-003.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-003.htm
@@ -3,7 +3,7 @@
CSS Writing Modes Test: text baseline alignment - central alignment with vertical layout
-
+
@@ -13,7 +13,6 @@
{
color: orange;
font: 60px/1.5 Ahem; /* computes to 60px/90px */
- height: 4em;
writing-mode: vertical-lr;
text-orientation: mixed;
}
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-004.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-004.htm
index b541fcaf811..e7c6ad94bdf 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-004.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-004.htm
@@ -3,7 +3,7 @@
CSS Writing Modes Test: text baseline alignment - central alignment with vertical layout
-
+
@@ -13,7 +13,6 @@
{
color: orange;
font: 60px/1.5 Ahem; /* computes to 60px/90px */
- height: 4em;
writing-mode: vertical-rl;
text-orientation: upright;
}
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-005.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-005.htm
index a7995c9b15c..9430fd74c96 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-005.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-005.htm
@@ -3,7 +3,7 @@
CSS Writing Modes Test: text baseline alignment - central alignment with vertical layout
-
+
@@ -13,7 +13,6 @@
{
color: orange;
font: 60px/1.5 Ahem; /* computes to 60px/90px */
- height: 4em;
writing-mode: vertical-lr;
text-orientation: upright;
}
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-006.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-006.htm
index 62bc717af65..07fd52f7ea5 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-006.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-006.htm
@@ -3,7 +3,7 @@
CSS Writing Modes Test: text baseline alignment - alphabetical alignment with vertical layout
-
+
@@ -13,7 +13,6 @@
{
color: fuchsia;
font: 60px/1.5 Ahem; /* computes to 60px/90px */
- height: 4em;
writing-mode: vertical-rl;
text-orientation: sideways;
}
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-007.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-007.htm
index 7cb111ae647..71b47d937ad 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-007.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-baseline-007.htm
@@ -3,6 +3,7 @@
CSS Writing Modes Test: text baseline alignment - alphabetical alignment with vertical layout
+
@@ -12,7 +13,6 @@
{
color: fuchsia;
font: 60px/1.5 Ahem; /* computes to 60px/90px */
- height: 4em;
writing-mode: vertical-lr;
text-orientation: sideways;
}
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-decoration-sidewaysright-vlr-003.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-decoration-sideways-vlr-003.htm
similarity index 85%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/html/text-decoration-sidewaysright-vlr-003.htm
rename to tests/wpt/css-tests/css-writing-modes-3_dev/html/text-decoration-sideways-vlr-003.htm
index d22d1d4e0da..b10f9cd2070 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-decoration-sidewaysright-vlr-003.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-decoration-sideways-vlr-003.htm
@@ -3,14 +3,14 @@
- CSS Writing Modes Test: 'text-decoration: underline' and 'text-orientation: sideways-right' in a 'vertical-lr' writing-mode
+ CSS Writing Modes Test: 'text-decoration: underline' and 'text-orientation: sideways' in a 'vertical-lr' writing-mode
-
+
-
-
-
-
Test passes if a pair of rectangles is identical including layout and orientation.
-
123
- 56
-7
-
7 1
- 52
- 63
-
-
123Abc def456
-
123Abc def456
-
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-orientation-014.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-orientation-014.htm
index e7addcf4000..fb132b7b60c 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-orientation-014.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-orientation-014.htm
@@ -3,11 +3,11 @@
CSS Writing Modes Test: text-orientation - sideways
-
+
-
+
-
-
-
-
Test passes if both "Text sample" rectangles
- have the same order, the same orientation and the same layout:
- "Text sample" should be displayed rotates 90 degrees clockwise.
-
-
Text sample
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/html/toc.htm b/tests/wpt/css-tests/css-writing-modes-3_dev/html/toc.htm
index b94b7693089..0ed90888975 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/html/toc.htm
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/html/toc.htm
@@ -32,17 +32,17 @@
This test checks that vertical-lr tables, whether LTR or RTL, order rows/rowgroups right to left and cells top-to-bottom when text-orientation is upright.
This test checks that vertical-lr tables, whether LTR or RTL, order rows/rowgroups right to left and cells top-to-bottom when text-orientation is upright.
This test checks that vertical-lr tables, whether LTR or RTL, order rows/rowgroups right to left and cells top-to-bottom when text-orientation is upright.
This test checks that vertical-lr tables, whether LTR or RTL, order rows/rowgroups right to left and cells top-to-bottom when text-orientation is upright.
inline block alignment - alphabetical alignment with vertical layout
-
-
This test checks the generation of inline-block baseline. When 'writing-mode' is 'vertical-rl' and when 'text-orientation' is 'sideways-right', then the alphabetical baseline is used as the dominant baseline.
This test checks that vertical-rl tables, whether LTR or RTL, order rows/rowgroups right to left and cells top-to-bottom when text-orientation is upright.
This test checks that vertical-rl tables, whether LTR or RTL, order rows/rowgroups right to left and cells top-to-bottom when text-orientation is upright.
This test checks that 'text-orientation: sideways-right' causes text to be set as if in a horizontal layout, but rotated 90° clockwise, in vertical writing modes. This is effective to verify 1.block flow direction, 2.inline direction and 3.glyph orientation.
This test checks that 'text-orientation: sideways' is equivalent to‘sideways-right’in‘vertical-rl’writing mode. This is effective to verify 1.block flow direction, 2.inline direction and 3.glyph orientation.
+
This test checks that 'text-orientation: sideways' causes text to be set as if in a horizontal layout, but rotated 90° clockwise, in vertical writing modes. This is effective to verify 1.block flow direction, 2.inline direction and 3.glyph orientation.
text-orientation - sideways in vertical-rl writing mode
-
This test checks that the same as [text-orientation: sideways-right], general horizontal text(include Japanese,etc) rotates 90 degrees clockwise, and it is verified whether the characters are aligned in the vertical direction.
text-orientation - sideways-right in vertical-rl writing mode
-
-
This test checks that general horizontal text(include Japanese,etc) rotates 90 degrees clockwise, and it is verified whether the characters are aligned in the vertical direction.
+
This test checks that general horizontal text (include Japanese,etc) rotates 90 degrees clockwise, and it is verified whether the characters are aligned in the vertical direction.
'text-decoration: underline' and 'text-orientation: sideways-right' in a 'vertical-lr' writing-mode
+
'text-decoration: underline' and 'text-orientation: sideways' in a 'vertical-lr' writing-mode
-
This test checks that 'text-decoration: underline' generates a line on the lefthand side of text when 'text-orientation' is set to 'sideways-right' in a 'vertical-lr' writing-mode.
+
This test checks that 'text-decoration: underline' generates a line on the lefthand side of text when 'text-orientation' is set to 'sideways' in a 'vertical-lr' writing-mode.
'text-decoration: overline' and 'text-orientation: sideways-right' in a 'vertical-lr' writing-mode
+
'text-decoration: overline' and 'text-orientation: sideways' in a 'vertical-lr' writing-mode
-
This test checks that 'text-decoration: overline' generates a line on the righthand side of text when 'text-orientation' is set to 'sideways-right' in a 'vertical-lr' writing-mode.
+
This test checks that 'text-decoration: overline' generates a line on the righthand side of text when 'text-orientation' is set to 'sideways' in a 'vertical-lr' writing-mode.
'text-decoration: line-through' and 'text-orientation: sideways-right' in a 'vertical-lr' writing-mode
+
'text-decoration: line-through' and 'text-orientation: sideways' in a 'vertical-lr' writing-mode
-
This test checks that 'text-decoration: line-through' generates a line that passes through the middle of glyphs when 'text-orientation' is set to 'sideways-right' in a 'vertical-lr' writing-mode.
+
This test checks that 'text-decoration: line-through' generates a line that passes through the middle of glyphs when 'text-orientation' is set to 'sideways' in a 'vertical-lr' writing-mode.
'text-decoration: underline' and 'text-orientation: sideways-right' in a 'vertical-rl' writing-mode
+
'text-decoration: underline' and 'text-orientation: sideways' in a 'vertical-rl' writing-mode
-
This test checks that 'text-decoration: underline' generates a line on the lefthand side of text when 'text-orientation' is set to 'sideways-right' in a 'vertical-rl' writing-mode.
+
This test checks that 'text-decoration: underline' generates a line on the lefthand side of text when 'text-orientation' is set to 'sideways' in a 'vertical-rl' writing-mode.
'text-decoration: overline' and 'text-orientation: sideways-right' in a 'vertical-rl' writing-mode
+
'text-decoration: overline' and 'text-orientation: sideways' in a 'vertical-rl' writing-mode
-
This test checks that 'text-decoration: overline' generates a line on the righthand side of text when 'text-orientation' is set to 'sideways-right' in a 'vertical-rl' writing-mode.
+
This test checks that 'text-decoration: overline' generates a line on the righthand side of text when 'text-orientation' is set to 'sideways' in a 'vertical-rl' writing-mode.
'text-decoration: line-through' and 'text-orientation: sideways-right' in a 'vertical-rl' writing-mode
+
'text-decoration: line-through' and 'text-orientation: sideways' in a 'vertical-rl' writing-mode
-
This test checks that 'text-decoration: line-through' generates a line that passes through the middle of glyphs when 'text-orientation' is set to 'sideways-right' in a 'vertical-rl' writing-mode.
+
This test checks that 'text-decoration: line-through' generates a line that passes through the middle of glyphs when 'text-orientation' is set to 'sideways' in a 'vertical-rl' writing-mode.
'text-decoration: underline' and 'text-orientation: sideways-right' in a 'vertical-lr' writing-mode
+
'text-decoration: underline' and 'text-orientation: sideways' in a 'vertical-lr' writing-mode
-
This test checks that 'text-decoration: underline' generates a line on the lefthand side of text when 'text-orientation' is set to 'sideways-right' in a 'vertical-lr' writing-mode.
+
This test checks that 'text-decoration: underline' generates a line on the lefthand side of text when 'text-orientation' is set to 'sideways' in a 'vertical-lr' writing-mode.
'text-decoration: overline' and 'text-orientation: sideways-right' in a 'vertical-lr' writing-mode
+
'text-decoration: overline' and 'text-orientation: sideways' in a 'vertical-lr' writing-mode
-
This test checks that 'text-decoration: overline' generates a line on the righthand side of text when 'text-orientation' is set to 'sideways-right' in a 'vertical-lr' writing-mode.
+
This test checks that 'text-decoration: overline' generates a line on the righthand side of text when 'text-orientation' is set to 'sideways' in a 'vertical-lr' writing-mode.
'text-decoration: line-through' and 'text-orientation: sideways-right' in a 'vertical-lr' writing-mode
+
'text-decoration: line-through' and 'text-orientation: sideways' in a 'vertical-lr' writing-mode
-
This test checks that 'text-decoration: line-through' generates a line that passes through the middle of glyphs when 'text-orientation' is set to 'sideways-right' in a 'vertical-lr' writing-mode.
+
This test checks that 'text-decoration: line-through' generates a line that passes through the middle of glyphs when 'text-orientation' is set to 'sideways' in a 'vertical-lr' writing-mode.
'text-decoration: underline' and 'text-orientation: sideways-right' in a 'vertical-rl' writing-mode
+
'text-decoration: underline' and 'text-orientation: sideways' in a 'vertical-rl' writing-mode
-
This test checks that 'text-decoration: underline' generates a line on the lefthand side of text when 'text-orientation' is set to 'sideways-right' in a 'vertical-rl' writing-mode.
+
This test checks that 'text-decoration: underline' generates a line on the lefthand side of text when 'text-orientation' is set to 'sideways' in a 'vertical-rl' writing-mode.
'text-decoration: overline' and 'text-orientation: sideways-right' in a 'vertical-rl' writing-mode
+
'text-decoration: overline' and 'text-orientation: sideways' in a 'vertical-rl' writing-mode
-
This test checks that 'text-decoration: overline' generates a line on the righthand side of text when 'text-orientation' is set to 'sideways-right' in a 'vertical-rl' writing-mode.
+
This test checks that 'text-decoration: overline' generates a line on the righthand side of text when 'text-orientation' is set to 'sideways' in a 'vertical-rl' writing-mode.
'text-decoration: line-through' and 'text-orientation: sideways-right' in a 'vertical-rl' writing-mode
+
'text-decoration: line-through' and 'text-orientation: sideways' in a 'vertical-rl' writing-mode
-
This test checks that 'text-decoration: line-through' generates a line that passes through the middle of glyphs when 'text-orientation' is set to 'sideways-right' in a 'vertical-rl' writing-mode.
+
This test checks that 'text-decoration: line-through' generates a line that passes through the middle of glyphs when 'text-orientation' is set to 'sideways' in a 'vertical-rl' writing-mode.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'mixed', 'vertical-align' is 'super', the baseline of the box is shifted to the right.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'upright', 'vertical-align' is 'super', the baseline of the box is shifted to the right.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'sideways', 'vertical-align' is 'super', the baseline of the box is shifted to the right.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'mixed', 'vertical-align' is 'sub', the baseline of the box is shifted to the left.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'upright', 'vertical-align' is 'sub', the baseline of the box is shifted to the left.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'sideways', 'vertical-align' is 'sub', the baseline of the box is shifted to the left.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'upright', 'vertical-align' is 'middle', the vertical midpoint of the box is aligned with the central baseline of the parent box plus half the x-height of the parent.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'upright', 'vertical-align' is 'middle', the vertical midpoint of the box is aligned with the central baseline of the parent box plus half the x-height of the parent.
vertical-align - 'top' and vertical-rl writing-mode
+
+
This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'text-orientation' is 'sideways, 'vertical-align' is 'middle', the vertical midpoint of the box is aligned with the central baseline of the parent box plus half the x-height of the parent.
+
+
+
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-reverse-wrap-reverse.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-reverse-wrap-reverse.xht
index d7b48698f3b..ff3b5c9e0b9 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-reverse-wrap-reverse.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-reverse-wrap-reverse.xht
@@ -25,6 +25,7 @@
background: green;
height: 3em;
width: 1.5em;
+ line-height: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-reverse-wrap.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-reverse-wrap.xht
index a0938455bf9..b4c230381e0 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-reverse-wrap.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-reverse-wrap.xht
@@ -25,6 +25,7 @@
background: green;
height: 3em;
width: 1.5em;
+ line-height: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-reverse.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-reverse.xht
index b4ca1c84a14..52325c0e952 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-reverse.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-reverse.xht
@@ -23,6 +23,7 @@
background: green;
height: 3em;
width: 3em;
+ line-height: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-wrap-reverse.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-wrap-reverse.xht
index 36aee4caaf7..633ba9a5e57 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-wrap-reverse.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-wrap-reverse.xht
@@ -25,6 +25,7 @@
background: green;
height: 3em;
width: 1.5em;
+ line-height: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-wrap.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-wrap.xht
index 49feeb202d0..4add33a971e 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-wrap.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row-wrap.xht
@@ -25,6 +25,7 @@
background: green;
height: 3em;
width: 1.5em;
+ line-height: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row.xht
index 78073beae36..1f675920706 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/css-flexbox-row.xht
@@ -23,6 +23,7 @@
background: green;
height: 3em;
width: 3em;
+ line-height: 1.5em;
/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/form-controls-vert-rl-004.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/form-controls-vert-rl-004.xht
index 0c16f3924a2..49b0ca63397 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/form-controls-vert-rl-004.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/form-controls-vert-rl-004.xht
@@ -14,14 +14,16 @@
@@ -30,7 +32,7 @@
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reftest.list b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reftest.list
index d096d1035ab..e2ca2dad05f 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reftest.list
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/reftest.list
@@ -550,7 +550,6 @@ inline-block-alignment-004.xht == reference/inline-block-alignment-002-ref.xht
inline-block-alignment-005.xht == reference/inline-block-alignment-003-ref.xht
inline-block-alignment-006.xht == reference/inline-block-alignment-006-ref.xht
inline-block-alignment-007.xht == reference/inline-block-alignment-006-ref.xht
-inline-block-alignment-008.xht == reference/inline-block-alignment-006-ref.xht
inline-block-alignment-orthogonal-vlr-003.xht == reference/inline-block-alignment-orthogonal-vrl-002-ref.xht
inline-block-alignment-orthogonal-vlr-005.xht == reference/inline-block-alignment-orthogonal-vrl-002-ref.xht
inline-block-alignment-orthogonal-vrl-002.xht == reference/inline-block-alignment-orthogonal-vrl-002-ref.xht
@@ -628,14 +627,14 @@ table-column-order-002.xht == reference/block-flow-direction-001-ref.xht
table-column-order-003.xht == reference/block-flow-direction-001-ref.xht
table-column-order-004.xht == reference/block-flow-direction-001-ref.xht
table-column-order-005.xht == reference/block-flow-direction-001-ref.xht
-table-progression-001-vlr.xht == table-progression-001-ref.orngtml
-table-progression-001-vrl.xht == table-progression-001-ref.orngtml
-table-progression-002-vlr.xht == table-progression-002-ref.orngtml
-table-progression-002-vrl.xht == table-progression-002-ref.orngtml
-table-progression-003-vlr.xht == table-progression-001-ref.orngtml
-table-progression-003-vrl.xht == table-progression-001-ref.orngtml
-table-progression-004-vlr.xht == table-progression-002-ref.orngtml
-table-progression-004-vrl.xht == table-progression-002-ref.orngtml
+table-progression-vlr-001.xht == reference/table-progression-001-ref.xht
+table-progression-vlr-002.xht == reference/table-progression-002-ref.xht
+table-progression-vlr-003.xht == reference/table-progression-001-ref.xht
+table-progression-vlr-004.xht == reference/table-progression-002-ref.xht
+table-progression-vrl-001.xht == reference/table-progression-001-ref.xht
+table-progression-vrl-002.xht == reference/table-progression-002-ref.xht
+table-progression-vrl-003.xht == reference/table-progression-001-ref.xht
+table-progression-vrl-004.xht == reference/table-progression-002-ref.xht
text-align-vlr-003.xht == reference/ref-filled-green-100px-square.xht
text-align-vlr-005.xht == reference/ref-filled-green-100px-square.xht
text-align-vlr-007.xht == reference/ref-filled-green-100px-square.xht
@@ -694,7 +693,6 @@ text-indent-vrl-010.xht == reference/text-indent-vrl-010-ref.xht
text-indent-vrl-012.xht == reference/text-indent-vrl-012-ref.xht
text-indent-vrl-014.xht == reference/text-indent-vrl-010-ref.xht
text-indent-vrl-016.xht == reference/text-indent-vrl-012-ref.xht
-text-orientation-012.xht == reference/text-orientation-012-ref.xht
text-orientation-014.xht == reference/text-orientation-014-ref.xht
unicode-bidi-001.xht == reference/direction-002-ref.xht
unicode-bidi-002.xht == reference/unicode-bidi-002-ref.xht
@@ -721,6 +719,9 @@ vertical-alignment-006.xht == reference/vertical-alignment-006-ref.xht
vertical-alignment-007.xht == reference/vertical-alignment-006-ref.xht
vertical-alignment-008.xht == reference/vertical-alignment-008-ref.xht
vertical-alignment-009.xht == reference/vertical-alignment-008-ref.xht
+vertical-alignment-vrl-022.xht == reference/vertical-alignment-vrl-022-ref.xht
+vertical-alignment-vrl-024.xht == reference/vertical-alignment-vrl-022-ref.xht
+vertical-alignment-vrl-026.xht == reference/vertical-alignment-vrl-026-ref.xht
writing-mode-horizontal-001l.xht == reference/writing-mode-horizontal-001l-ref.xht
writing-mode-horizontal-001r.xht == reference/writing-mode-horizontal-001r-ref.xht
writing-mode-stretch-001.xht == reference/writing-mode-stretch-001-ref.xht
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/support/adobe-fonts/CSSHWOrientationTest.otf b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/support/adobe-fonts/CSSHWOrientationTest.otf
index c919d9091d0..84ad57bef5a 100644
Binary files a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/support/adobe-fonts/CSSHWOrientationTest.otf and b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/support/adobe-fonts/CSSHWOrientationTest.otf differ
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/support/adobe-fonts/README.md b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/support/adobe-fonts/README.md
index 2f757669727..686cb0c4279 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/support/adobe-fonts/README.md
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/support/adobe-fonts/README.md
@@ -3,7 +3,8 @@ CSS Orientation Test
Overview
----
-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.
+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
----
@@ -14,20 +15,26 @@ Building
Pre-built font binaries
----
-The installable font resources (font binaries) are not part of the source files. They are available on [Open@Adobe](https://sourceforge.net/projects/csso9ntestfonts.adobe/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).
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) is necessary. The AFDKO tools are widely used for font development today, and are part of most font editor applications.
+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 by executing *makeotf -h*.
+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 for the full-width version like this, which also includes a post-process for inserting a "stub" 'DSIG' table:
+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
% sfntedit -a DSIG=DSIG.bin CSSFWOrientationTest.otf
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/table-progression-001-vlr.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vlr-001.xht
similarity index 96%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/table-progression-001-vlr.xht
rename to tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vlr-001.xht
index 4f2ef3415d1..37c979b49e1 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/table-progression-001-vlr.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vlr-001.xht
@@ -1,7 +1,7 @@
CSS Test: vertical-lr Table Row/Rowgroup/Cell Ordering
-
+
@@ -59,7 +59,7 @@
-
+
@@ -88,7 +88,7 @@
-
+
@@ -132,5 +132,4 @@
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/table-progression-002-vlr.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vlr-002.xht
similarity index 97%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/table-progression-002-vlr.xht
rename to tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vlr-002.xht
index 4ea3b3fb4f0..e621d5bdd20 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/table-progression-002-vlr.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vlr-002.xht
@@ -1,7 +1,7 @@
CSS Test: vertical-lr Table Column/Colgroup Ordering
-
+
@@ -84,5 +84,4 @@
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-003-vlr.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vlr-003.xht
similarity index 96%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-003-vlr.xht
rename to tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vlr-003.xht
index 83b7dc8241b..49b230aa49a 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-003-vlr.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vlr-003.xht
@@ -1,7 +1,7 @@
CSS Test: vertical-lr upright orientation Table Row/Rowgroup/Cell Ordering
-
+
@@ -41,7 +41,7 @@
-
+
@@ -68,7 +68,7 @@
-
+
@@ -112,5 +112,4 @@
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-004-vlr.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vlr-004.xht
similarity index 97%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-004-vlr.xht
rename to tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vlr-004.xht
index bcc840e6c9e..86bae66a4b3 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-004-vlr.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vlr-004.xht
@@ -1,7 +1,7 @@
CSS Test: vertical-lr upright orientation Table Column/Colgroup Ordering
-
+
@@ -73,5 +73,4 @@
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/table-progression-001-vrl.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vrl-001.xht
similarity index 96%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/table-progression-001-vrl.xht
rename to tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vrl-001.xht
index da278075005..3b3bcf3f3fd 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/table-progression-001-vrl.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vrl-001.xht
@@ -1,7 +1,7 @@
CSS Test: vertical-rl Table Row/Rowgroup/Cell Ordering
-
+
@@ -63,7 +63,7 @@
-
+
@@ -92,7 +92,7 @@
-
+
@@ -129,5 +129,4 @@
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/table-progression-002-vrl.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vrl-002.xht
similarity index 97%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/table-progression-002-vrl.xht
rename to tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vrl-002.xht
index 933f6539936..54ba7631bed 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/table-progression-002-vrl.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vrl-002.xht
@@ -1,7 +1,7 @@
CSS Test: vertical-rl Table Column/Colgroup Ordering
-
+
@@ -83,5 +83,4 @@
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-003-vrl.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vrl-003.xht
similarity index 96%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-003-vrl.xht
rename to tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vrl-003.xht
index 1ec2a45c556..246f907d2f8 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-003-vrl.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vrl-003.xht
@@ -1,7 +1,7 @@
CSS Test: vertical-rl upright orientation Table Row/Rowgroup/Cell Ordering
-
+
@@ -46,7 +46,7 @@
-
+
@@ -73,7 +73,7 @@
-
+
@@ -112,5 +112,4 @@
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/table-progression-004-vrl.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vrl-004.xht
similarity index 97%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/table-progression-004-vrl.xht
rename to tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vrl-004.xht
index 9bb5a65cfdf..5e32240b55f 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/table-progression-004-vrl.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/table-progression-vrl-004.xht
@@ -1,7 +1,7 @@
CSS Test: vertical-rl upright orientation Table Column/Colgroup Ordering
-
+
@@ -72,5 +72,4 @@
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-002.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-002.xht
index 538e2b91e7c..ac61712877e 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-002.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-002.xht
@@ -3,7 +3,7 @@
CSS Writing Modes Test: text baseline alignment - central alignment with vertical layout
-
+
@@ -13,7 +13,6 @@
{
color: orange;
font: 60px/1.5 Ahem; /* computes to 60px/90px */
- height: 4em;
writing-mode: vertical-rl;
text-orientation: mixed;
}
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-003.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-003.xht
index 94f3a9bfdd3..97afa4f6aae 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-003.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-003.xht
@@ -3,7 +3,7 @@
CSS Writing Modes Test: text baseline alignment - central alignment with vertical layout
-
+
@@ -13,7 +13,6 @@
{
color: orange;
font: 60px/1.5 Ahem; /* computes to 60px/90px */
- height: 4em;
writing-mode: vertical-lr;
text-orientation: mixed;
}
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-004.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-004.xht
index 26812ea451c..033f4e40df9 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-004.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-004.xht
@@ -3,7 +3,7 @@
CSS Writing Modes Test: text baseline alignment - central alignment with vertical layout
-
+
@@ -13,7 +13,6 @@
{
color: orange;
font: 60px/1.5 Ahem; /* computes to 60px/90px */
- height: 4em;
writing-mode: vertical-rl;
text-orientation: upright;
}
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-005.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-005.xht
index 08405e07bb1..0cc8c07fa93 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-005.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-005.xht
@@ -3,7 +3,7 @@
CSS Writing Modes Test: text baseline alignment - central alignment with vertical layout
-
+
@@ -13,7 +13,6 @@
{
color: orange;
font: 60px/1.5 Ahem; /* computes to 60px/90px */
- height: 4em;
writing-mode: vertical-lr;
text-orientation: upright;
}
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-006.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-006.xht
index 927ee227905..96464dc1212 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-006.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-006.xht
@@ -3,7 +3,7 @@
CSS Writing Modes Test: text baseline alignment - alphabetical alignment with vertical layout
-
+
@@ -13,7 +13,6 @@
{
color: fuchsia;
font: 60px/1.5 Ahem; /* computes to 60px/90px */
- height: 4em;
writing-mode: vertical-rl;
text-orientation: sideways;
}
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-007.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-007.xht
index 49d091a3384..0b6a4c6ca8b 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-007.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-baseline-007.xht
@@ -3,6 +3,7 @@
CSS Writing Modes Test: text baseline alignment - alphabetical alignment with vertical layout
+
@@ -12,7 +13,6 @@
{
color: fuchsia;
font: 60px/1.5 Ahem; /* computes to 60px/90px */
- height: 4em;
writing-mode: vertical-lr;
text-orientation: sideways;
}
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-decoration-sidewaysright-vlr-003.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-decoration-sideways-vlr-003.xht
similarity index 86%
rename from tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-decoration-sidewaysright-vlr-003.xht
rename to tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-decoration-sideways-vlr-003.xht
index f3678e7ac75..e455568b7bb 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-decoration-sidewaysright-vlr-003.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-decoration-sideways-vlr-003.xht
@@ -3,14 +3,14 @@
- CSS Writing Modes Test: 'text-decoration: underline' and 'text-orientation: sideways-right' in a 'vertical-lr' writing-mode
+ CSS Writing Modes Test: 'text-decoration: underline' and 'text-orientation: sideways' in a 'vertical-lr' writing-mode
-
+
-
-
-
-
Test passes if a pair of rectangles is identical including layout and orientation.
-
123
- 56
-7
-
7 1
- 52
- 63
-
-
123Abc def456
-
123Abc def456
-
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-orientation-014.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-orientation-014.xht
index a2ae83d12a9..e13b1f9a553 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-orientation-014.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/text-orientation-014.xht
@@ -3,11 +3,11 @@
CSS Writing Modes Test: text-orientation - sideways
-
+
-
+
-
-
-
-
Test passes if both "Text sample" rectangles
- have the same order, the same orientation and the same layout:
- "Text sample" should be displayed rotates 90 degrees clockwise.
-
-
Text sample
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/toc.xht b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/toc.xht
index 8c26f28062c..0f3fedf19fd 100644
--- a/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/toc.xht
+++ b/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1/toc.xht
@@ -32,17 +32,17 @@