From 44c26e014aceec8ab45d419619b5f321779618f2 Mon Sep 17 00:00:00 2001 From: Felipe Date: Tue, 27 Sep 2016 10:58:58 +0200 Subject: [PATCH] add tests --- .../htmloptionscollection.html.ini | 1 + tests/wpt/mozilla/meta/MANIFEST.json | 96 +++++++++++++++++++ .../meta/css/word-break-keep-all-008.htm.ini | 3 + .../tests/css/word-break-keep-all-005.htm | 24 +++++ .../tests/css/word-break-keep-all-006.htm | 23 +++++ .../tests/css/word-break-keep-all-007.htm | 23 +++++ .../tests/css/word-break-keep-all-008.htm | 23 +++++ .../tests/css/word-break-keep-all-ref-005.htm | 17 ++++ .../tests/css/word-break-keep-all-ref-006.htm | 17 ++++ .../tests/css/word-break-keep-all-ref-007.htm | 17 ++++ .../tests/css/word-break-keep-all-ref-008.htm | 17 ++++ 11 files changed, 261 insertions(+) create mode 100644 tests/wpt/mozilla/meta/css/word-break-keep-all-008.htm.ini create mode 100644 tests/wpt/mozilla/tests/css/word-break-keep-all-005.htm create mode 100644 tests/wpt/mozilla/tests/css/word-break-keep-all-006.htm create mode 100644 tests/wpt/mozilla/tests/css/word-break-keep-all-007.htm create mode 100644 tests/wpt/mozilla/tests/css/word-break-keep-all-008.htm create mode 100644 tests/wpt/mozilla/tests/css/word-break-keep-all-ref-005.htm create mode 100644 tests/wpt/mozilla/tests/css/word-break-keep-all-ref-006.htm create mode 100644 tests/wpt/mozilla/tests/css/word-break-keep-all-ref-007.htm create mode 100644 tests/wpt/mozilla/tests/css/word-break-keep-all-ref-008.htm diff --git a/tests/wpt/metadata/html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html.ini b/tests/wpt/metadata/html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html.ini index eb045799edd..4ea1f777183 100644 --- a/tests/wpt/metadata/html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html.ini +++ b/tests/wpt/metadata/html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html.ini @@ -17,3 +17,4 @@ [HTMLOptionsCollection.add method insert HTMLOptionElement Option element] expected: FAIL + diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json index fc7ee02cb96..61103659ba0 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -5946,6 +5946,54 @@ "url": "/_mozilla/css/width_nonreplaced_block_simple_a.html" } ], + "css/word-break-keep-all-005.htm": [ + { + "path": "css/word-break-keep-all-005.htm", + "references": [ + [ + "/_mozilla/css/word-break-keep-all-ref-005.htm", + "==" + ] + ], + "url": "/_mozilla/css/word-break-keep-all-005.htm" + } + ], + "css/word-break-keep-all-006.htm": [ + { + "path": "css/word-break-keep-all-006.htm", + "references": [ + [ + "/_mozilla/css/word-break-keep-all-ref-006.htm", + "==" + ] + ], + "url": "/_mozilla/css/word-break-keep-all-006.htm" + } + ], + "css/word-break-keep-all-007.htm": [ + { + "path": "css/word-break-keep-all-007.htm", + "references": [ + [ + "/_mozilla/css/word-break-keep-all-ref-007.htm", + "==" + ] + ], + "url": "/_mozilla/css/word-break-keep-all-007.htm" + } + ], + "css/word-break-keep-all-008.htm": [ + { + "path": "css/word-break-keep-all-008.htm", + "references": [ + [ + "/_mozilla/css/word-break-keep-all-ref-008.htm", + "==" + ] + ], + "url": "/_mozilla/css/word-break-keep-all-008.htm" + } + ], "css/word-spacing.html": [ { "path": "css/word-spacing.html", @@ -19584,6 +19632,54 @@ "url": "/_mozilla/css/width_nonreplaced_block_simple_a.html" } ], + "css/word-break-keep-all-005.htm": [ + { + "path": "css/word-break-keep-all-005.htm", + "references": [ + [ + "/_mozilla/css/word-break-keep-all-ref-005.htm", + "==" + ] + ], + "url": "/_mozilla/css/word-break-keep-all-005.htm" + } + ], + "css/word-break-keep-all-006.htm": [ + { + "path": "css/word-break-keep-all-006.htm", + "references": [ + [ + "/_mozilla/css/word-break-keep-all-ref-006.htm", + "==" + ] + ], + "url": "/_mozilla/css/word-break-keep-all-006.htm" + } + ], + "css/word-break-keep-all-007.htm": [ + { + "path": "css/word-break-keep-all-007.htm", + "references": [ + [ + "/_mozilla/css/word-break-keep-all-ref-007.htm", + "==" + ] + ], + "url": "/_mozilla/css/word-break-keep-all-007.htm" + } + ], + "css/word-break-keep-all-008.htm": [ + { + "path": "css/word-break-keep-all-008.htm", + "references": [ + [ + "/_mozilla/css/word-break-keep-all-ref-008.htm", + "==" + ] + ], + "url": "/_mozilla/css/word-break-keep-all-008.htm" + } + ], "css/word-spacing.html": [ { "path": "css/word-spacing.html", diff --git a/tests/wpt/mozilla/meta/css/word-break-keep-all-008.htm.ini b/tests/wpt/mozilla/meta/css/word-break-keep-all-008.htm.ini new file mode 100644 index 00000000000..3c59220918d --- /dev/null +++ b/tests/wpt/mozilla/meta/css/word-break-keep-all-008.htm.ini @@ -0,0 +1,3 @@ +[word-break-keep-all-008.htm] + type: reftest + expected: FAIL diff --git a/tests/wpt/mozilla/tests/css/word-break-keep-all-005.htm b/tests/wpt/mozilla/tests/css/word-break-keep-all-005.htm new file mode 100644 index 00000000000..5bf0022a007 --- /dev/null +++ b/tests/wpt/mozilla/tests/css/word-break-keep-all-005.htm @@ -0,0 +1,24 @@ + + + +word-break: keep-all, latin + + + + + + + +
Test passes if the two orange boxes are the same.
+
Latin latin latin latin
+
Latin latin latin
latin
+ + + diff --git a/tests/wpt/mozilla/tests/css/word-break-keep-all-006.htm b/tests/wpt/mozilla/tests/css/word-break-keep-all-006.htm new file mode 100644 index 00000000000..17eb109a001 --- /dev/null +++ b/tests/wpt/mozilla/tests/css/word-break-keep-all-006.htm @@ -0,0 +1,23 @@ + + + +word-break: keep-all, japanese + + + + + + +
Test passes if the two orange boxes are the same.
+
日本語 日本語 日本語
+
日本語 日本語
日本語
+ + + diff --git a/tests/wpt/mozilla/tests/css/word-break-keep-all-007.htm b/tests/wpt/mozilla/tests/css/word-break-keep-all-007.htm new file mode 100644 index 00000000000..ac1385ff8c9 --- /dev/null +++ b/tests/wpt/mozilla/tests/css/word-break-keep-all-007.htm @@ -0,0 +1,23 @@ + + + +word-break: keep-all, korean + + + + + + +
Test passes if the two orange boxes are the same.
+
한글이 한글이 한글이
+
한글이 한글이
한글이
+ + + diff --git a/tests/wpt/mozilla/tests/css/word-break-keep-all-008.htm b/tests/wpt/mozilla/tests/css/word-break-keep-all-008.htm new file mode 100644 index 00000000000..2b935f80f11 --- /dev/null +++ b/tests/wpt/mozilla/tests/css/word-break-keep-all-008.htm @@ -0,0 +1,23 @@ + + + +word-break: keep-all, thai + + + + + + +
Test passes if the two orange boxes are the same.
+
แและ แและแและ
+
แและ แและ
แและ
+ + + diff --git a/tests/wpt/mozilla/tests/css/word-break-keep-all-ref-005.htm b/tests/wpt/mozilla/tests/css/word-break-keep-all-ref-005.htm new file mode 100644 index 00000000000..156b202ba8d --- /dev/null +++ b/tests/wpt/mozilla/tests/css/word-break-keep-all-ref-005.htm @@ -0,0 +1,17 @@ + + + +word-break: keep-all, latin + + + + +
Test passes if the two orange boxes are the same.
+
Latin latin latin
latin
+
Latin latin latin
latin
+ + diff --git a/tests/wpt/mozilla/tests/css/word-break-keep-all-ref-006.htm b/tests/wpt/mozilla/tests/css/word-break-keep-all-ref-006.htm new file mode 100644 index 00000000000..118e9630e38 --- /dev/null +++ b/tests/wpt/mozilla/tests/css/word-break-keep-all-ref-006.htm @@ -0,0 +1,17 @@ + + + +word-break: keep-all, japanese + + + + +
Test passes if the two orange boxes are the same.
+
日本語 日本語
日本語
+
日本語 日本語
日本語
+ + diff --git a/tests/wpt/mozilla/tests/css/word-break-keep-all-ref-007.htm b/tests/wpt/mozilla/tests/css/word-break-keep-all-ref-007.htm new file mode 100644 index 00000000000..11161b43696 --- /dev/null +++ b/tests/wpt/mozilla/tests/css/word-break-keep-all-ref-007.htm @@ -0,0 +1,17 @@ + + + +word-break: keep-all, korean + + + + +
Test passes if the two orange boxes are the same.
+
한글이 한글이
한글이
+
한글이 한글이
한글이
+ + diff --git a/tests/wpt/mozilla/tests/css/word-break-keep-all-ref-008.htm b/tests/wpt/mozilla/tests/css/word-break-keep-all-ref-008.htm new file mode 100644 index 00000000000..bf2e5f58edb --- /dev/null +++ b/tests/wpt/mozilla/tests/css/word-break-keep-all-ref-008.htm @@ -0,0 +1,17 @@ + + + +word-break: keep-all, thai + + + + +
Test passes if the two orange boxes are the same.
+
แและ แและ
แและ
+
แและ แและ
แและ
+ +