diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-12-02 01:07:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-02 01:07:08 -0500 |
commit | 6cd42bdcfbcf329ff5805a56988a9b5eeb8e0e22 (patch) | |
tree | 83d8d7055c54d75cd1d81155e783e98f2504e901 | |
parent | 40fd7910a54d8e0180f605d4b4e8f80931383e44 (diff) | |
parent | f170d55d3e3693791b62669c1ae12125e66b4906 (diff) | |
download | servo-6cd42bdcfbcf329ff5805a56988a9b5eeb8e0e22.tar.gz servo-6cd42bdcfbcf329ff5805a56988a9b5eeb8e0e22.zip |
Auto merge of #24980 - servo-wpt-sync:wpt_update_01-12-2019, r=servo-wpt-sync
Sync WPT with upstream (01-12-2019)
Automated downstream sync of changes from upstream as of 01-12-2019.
[no-wpt-sync]
r? @servo-wpt-sync
152 files changed, 3527 insertions, 85 deletions
diff --git a/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini b/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini index dd4ffcf4345..cd3e2dfa305 100644 --- a/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini +++ b/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini @@ -1,4 +1,5 @@ [url-in-tags-revoke.window.html] + expected: TIMEOUT [Fetching a blob URL immediately before revoking it works in an iframe.] expected: FAIL @@ -6,7 +7,7 @@ expected: FAIL [Opening a blob URL in a new window immediately before revoking it works.] - expected: FAIL + expected: TIMEOUT [Opening a blob URL in a noopener about:blank window immediately before revoking it works.] expected: FAIL diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 3cf06c2c694..0b49b6bc740 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -9103,6 +9103,12 @@ {} ] ], + "css/css-text/word-boundary/word-boundary-015-manual.html": [ + [ + "css/css-text/word-boundary/word-boundary-015-manual.html", + {} + ] + ], "css/css-transitions/transition-delay-000-manual.html": [ [ "css/css-transitions/transition-delay-000-manual.html", @@ -155171,6 +155177,534 @@ {} ] ], + "css/css-text/word-boundary/word-boundary-001.html": [ + [ + "css/css-text/word-boundary/word-boundary-001.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-001-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-002.html": [ + [ + "css/css-text/word-boundary/word-boundary-002.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-002-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-003.html": [ + [ + "css/css-text/word-boundary/word-boundary-003.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-001-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-004.html": [ + [ + "css/css-text/word-boundary/word-boundary-004.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-004-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-005.html": [ + [ + "css/css-text/word-boundary/word-boundary-005.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-004-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-006.html": [ + [ + "css/css-text/word-boundary/word-boundary-006.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-002-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-007.html": [ + [ + "css/css-text/word-boundary/word-boundary-007.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-007-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-008.html": [ + [ + "css/css-text/word-boundary/word-boundary-008.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-008-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-009.html": [ + [ + "css/css-text/word-boundary/word-boundary-009.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-009-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-010.html": [ + [ + "css/css-text/word-boundary/word-boundary-010.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-010-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-011.html": [ + [ + "css/css-text/word-boundary/word-boundary-011.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-011-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-012.html": [ + [ + "css/css-text/word-boundary/word-boundary-012.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-012-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-013.html": [ + [ + "css/css-text/word-boundary/word-boundary-013.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-013-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-014.html": [ + [ + "css/css-text/word-boundary/word-boundary-014.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-014-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-101.html": [ + [ + "css/css-text/word-boundary/word-boundary-101.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-101-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-102.html": [ + [ + "css/css-text/word-boundary/word-boundary-102.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-102-ref.html", + "!=" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-103.html": [ + [ + "css/css-text/word-boundary/word-boundary-103.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-103-ref.html", + "!=" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-104.html": [ + [ + "css/css-text/word-boundary/word-boundary-104.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-104-ref.html", + "!=" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-105.html": [ + [ + "css/css-text/word-boundary/word-boundary-105.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-105-ref.html", + "!=" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-106.html": [ + [ + "css/css-text/word-boundary/word-boundary-106.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-106-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-107.html": [ + [ + "css/css-text/word-boundary/word-boundary-107.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-107-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-108.html": [ + [ + "css/css-text/word-boundary/word-boundary-108.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-108-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-109.html": [ + [ + "css/css-text/word-boundary/word-boundary-109.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-109-a-ref.html", + "==" + ], + [ + "/css/css-text/word-boundary/reference/word-boundary-109-b-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-110.html": [ + [ + "css/css-text/word-boundary/word-boundary-110.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-110-a-ref.html", + "==" + ], + [ + "/css/css-text/word-boundary/reference/word-boundary-110-b-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-111.html": [ + [ + "css/css-text/word-boundary/word-boundary-111.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-111-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-112.html": [ + [ + "css/css-text/word-boundary/word-boundary-112.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-112-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-113.html": [ + [ + "css/css-text/word-boundary/word-boundary-113.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-113-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-114.html": [ + [ + "css/css-text/word-boundary/word-boundary-114.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-114-a-ref.html", + "==" + ], + [ + "/css/css-text/word-boundary/reference/word-boundary-114-b-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-115.html": [ + [ + "css/css-text/word-boundary/word-boundary-115.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-115-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-116.html": [ + [ + "css/css-text/word-boundary/word-boundary-116.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-116-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-117.html": [ + [ + "css/css-text/word-boundary/word-boundary-117.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-117-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-118.html": [ + [ + "css/css-text/word-boundary/word-boundary-118.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-117-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-119.html": [ + [ + "css/css-text/word-boundary/word-boundary-119.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-119-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-120.html": [ + [ + "css/css-text/word-boundary/word-boundary-120.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-120-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-121.html": [ + [ + "css/css-text/word-boundary/word-boundary-121.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-121-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-122.html": [ + [ + "css/css-text/word-boundary/word-boundary-122.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-122-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-123.html": [ + [ + "css/css-text/word-boundary/word-boundary-123.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-123-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-124.html": [ + [ + "css/css-text/word-boundary/word-boundary-124.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-124-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-125.html": [ + [ + "css/css-text/word-boundary/word-boundary-125.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-125-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-126.html": [ + [ + "css/css-text/word-boundary/word-boundary-126.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-126-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-127.html": [ + [ + "css/css-text/word-boundary/word-boundary-127.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-127-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-128.html": [ + [ + "css/css-text/word-boundary/word-boundary-128.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-128-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/word-boundary/word-boundary-129.html": [ + [ + "css/css-text/word-boundary/word-boundary-129.html", + [ + [ + "/css/css-text/word-boundary/reference/word-boundary-129-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-text/word-break/word-break-break-all-000.html": [ [ "css/css-text/word-break/word-break-break-all-000.html", @@ -156779,18 +157313,6 @@ {} ] ], - "css/css-transforms/external-styles/svg-external-styles-012.html": [ - [ - "css/css-transforms/external-styles/svg-external-styles-012.html", - [ - [ - "/css/css-transforms/external-styles/reference/svg-external-styles-ref.html", - "==" - ] - ], - {} - ] - ], "css/css-transforms/external-styles/svg-external-styles-013.html": [ [ "css/css-transforms/external-styles/svg-external-styles-013.html", @@ -257856,6 +258378,132 @@ "css/css-text/white-space/reference/white-space-wrap-after-nowrap-001-ref.html": [ [] ], + "css/css-text/word-boundary/reference/word-boundary-001-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-002-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-004-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-007-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-008-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-009-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-010-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-011-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-012-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-013-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-014-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-101-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-102-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-103-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-104-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-105-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-106-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-107-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-108-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-109-a-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-109-b-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-110-a-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-110-b-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-111-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-112-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-113-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-114-a-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-114-b-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-115-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-116-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-117-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-119-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-120-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-121-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-122-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-123-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-124-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-125-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-126-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-127-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-128-ref.html": [ + [] + ], + "css/css-text/word-boundary/reference/word-boundary-129-ref.html": [ + [] + ], "css/css-text/word-break/reference/word-break-break-all-010-ref.html": [ [] ], @@ -329672,6 +330320,42 @@ {} ] ], + "css/css-text/parsing/word-boundary-detection-computed.html": [ + [ + "css/css-text/parsing/word-boundary-detection-computed.html", + {} + ] + ], + "css/css-text/parsing/word-boundary-detection-invalid.html": [ + [ + "css/css-text/parsing/word-boundary-detection-invalid.html", + {} + ] + ], + "css/css-text/parsing/word-boundary-detection-valid.html": [ + [ + "css/css-text/parsing/word-boundary-detection-valid.html", + {} + ] + ], + "css/css-text/parsing/word-boundary-expansion-computed.html": [ + [ + "css/css-text/parsing/word-boundary-expansion-computed.html", + {} + ] + ], + "css/css-text/parsing/word-boundary-expansion-invalid.html": [ + [ + "css/css-text/parsing/word-boundary-expansion-invalid.html", + {} + ] + ], + "css/css-text/parsing/word-boundary-expansion-valid.html": [ + [ + "css/css-text/parsing/word-boundary-expansion-valid.html", + {} + ] + ], "css/css-text/parsing/word-break-computed.html": [ [ "css/css-text/parsing/word-break-computed.html", @@ -367658,6 +368342,12 @@ } ] ], + "html/syntax/parsing/html_content_in_foreign_context.html": [ + [ + "html/syntax/parsing/html_content_in_foreign_context.html", + {} + ] + ], "html/syntax/parsing/math-parse01.html": [ [ "html/syntax/parsing/math-parse01.html", @@ -597982,6 +598672,30 @@ "d872c0b6fbc3324836e7565d1b623e64032db1ab", "testharness" ], + "css/css-text/parsing/word-boundary-detection-computed.html": [ + "b12922924ad632ffecef3eca0a05ec603f7b537d", + "testharness" + ], + "css/css-text/parsing/word-boundary-detection-invalid.html": [ + "a844566b8caa7b296865a2b8d89f17e079bd45f7", + "testharness" + ], + "css/css-text/parsing/word-boundary-detection-valid.html": [ + "81a8ea32b997c20e3e4c74c97b508be5daea3395", + "testharness" + ], + "css/css-text/parsing/word-boundary-expansion-computed.html": [ + "054a298ae7899512f6cad61aafec38b063c7c1fc", + "testharness" + ], + "css/css-text/parsing/word-boundary-expansion-invalid.html": [ + "6b68e578d4d7ac4c94d15d76997a4ed0c96e130f", + "testharness" + ], + "css/css-text/parsing/word-boundary-expansion-valid.html": [ + "cf1128a5f726cf5acb6f259309509ba4b7909ec4", + "testharness" + ], "css/css-text/parsing/word-break-computed.html": [ "5fbf0ae77495e581bc7998af78ce57e7ef0730fd", "testharness" @@ -601126,6 +601840,350 @@ "a484f1cf9167e468063cf2205493b8e71a254470", "reftest" ], + "css/css-text/word-boundary/reference/word-boundary-001-ref.html": [ + "620079f6ad48bba3d65a9bcd92edfd717228b973", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-002-ref.html": [ + "70a1a6528e704b26ef5afdec938741ff30a962f4", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-004-ref.html": [ + "fbe74942b14ef5cdffbace68f64beae61de5bf9e", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-007-ref.html": [ + "b0cb8913084fee3c86ff549fec616f19086630f9", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-008-ref.html": [ + "ff73104a004eafca18c2b7311edbf6469e329bc9", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-009-ref.html": [ + "815fe800e3de5cc663fa892284ca1947f3e115d1", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-010-ref.html": [ + "2ca6b8db7e4d7c6a01de6eca1c2048301bfe5788", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-011-ref.html": [ + "e1af62ffdf0f3de49d90a058e367b7a0296b6fc9", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-012-ref.html": [ + "016dc5968c0a85401f15715381daa7d95ab95c15", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-013-ref.html": [ + "9490e52d1ba6d4ad4a0e62528f9688efebc4a091", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-014-ref.html": [ + "dbec99b082719a1d9153ca75fa24c3b859dddd00", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-101-ref.html": [ + "f51208ab95fd4aaa804684673f09acf1492ded4d", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-102-ref.html": [ + "df308cee75cde74f3f71c8f0fa8d912a598de54f", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-103-ref.html": [ + "64f2b231c042b497c51375ef1cdc1ab3a8bfaed6", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-104-ref.html": [ + "15843b7296ef70a33f2e8a167330174c019f4b66", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-105-ref.html": [ + "3ba4c6f143c4f50b49f923028c1c53a4871573e5", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-106-ref.html": [ + "04d54ca20a8ce7fb11594762fa601eb72a11b92d", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-107-ref.html": [ + "2decfe1cc090c3924409b4794ddb8b8bf5284aac", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-108-ref.html": [ + "45497690fe4e7fdf8a3d307f0138c3e10929c6f9", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-109-a-ref.html": [ + "3cf81f6175ded80e3a0603ff60c5118cf9a23f36", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-109-b-ref.html": [ + "3b787b91581dad3650d6ec94b67d68413948278d", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-110-a-ref.html": [ + "3347778df6fa08e1a07235fb54dd322aa3bbfd22", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-110-b-ref.html": [ + "550c9e88880f6335351bd2f2cae1355697e0c5e5", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-111-ref.html": [ + "fbb536e56596271754362f645bb703f21f2eeffd", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-112-ref.html": [ + "f7f793908104d0da46306d3e9748936de97605b7", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-113-ref.html": [ + "738c600f5b46ae1d8b3b67fe0ce76fcb08f04696", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-114-a-ref.html": [ + "4ff39ee4f3f790ee64ebeda3218916f84c51aa11", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-114-b-ref.html": [ + "5b58e078dcf40432187a52836a2e589c08ac5acd", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-115-ref.html": [ + "a7d1dffcd9f18226763a65af359d44dea3c24b1d", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-116-ref.html": [ + "62d26d6a4b5b41dcedacc1d81b3c9463398a5205", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-117-ref.html": [ + "81d1f0601dd1f6f0f3527e5b1c6d277e04a0593d", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-119-ref.html": [ + "e198dafafa11666c4038f396ce0a1ba9f8ab5953", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-120-ref.html": [ + "e9cecd792b0a9aedb440ff0622148d0cd345930e", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-121-ref.html": [ + "86ecdba91291062da86789bf22ca07956a6bc8fd", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-122-ref.html": [ + "271705534689adbce52ed5dfcd6eb9edd4e2d1ef", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-123-ref.html": [ + "35b0e5f05a74624385b6f07e493294409434eb75", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-124-ref.html": [ + "fd732b44ec4ed087a9a652db665cb2165b8be680", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-125-ref.html": [ + "aad7d3d4d95b7184082042ac2784bc0fad01cb79", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-126-ref.html": [ + "91f2ec7b1936070b414e77b67f98d119b46b5e7e", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-127-ref.html": [ + "b354a4f12dc601d1d1bd938c2d3437a6fc78e493", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-128-ref.html": [ + "8dcabb01e29861d6bd830e5ce0c48cc2282ace18", + "support" + ], + "css/css-text/word-boundary/reference/word-boundary-129-ref.html": [ + "5d7d5577aec739f252b7a456c9ad98caa1b0b149", + "support" + ], + "css/css-text/word-boundary/word-boundary-001.html": [ + "08ad0d1a9883d961199cdd571623883f006752b4", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-002.html": [ + "58dede44b2c844b52a74e5fab831371a61e58cc5", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-003.html": [ + "41151753f92227b65f9c64b4348cc8f96b235bab", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-004.html": [ + "ad7f19fdb995ab17f34cdd3b752a58ae9643432c", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-005.html": [ + "f124c3737ca138f6cf002ac8809d686737037929", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-006.html": [ + "587847b75cd6659b14f808fb05e8cacaa457ca3b", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-007.html": [ + "912188c7404cbf443672eeb0ad86308765131cb3", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-008.html": [ + "a1dfb828f256326f8971d3ff257d594d02dab7d5", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-009.html": [ + "cb8ec84fc2b2954ba10748223c7ca6f8c2283cd1", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-010.html": [ + "6e1cc1ccf2749d57097facb10fe3e447a1958fdc", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-011.html": [ + "4da3a7a5c9d59e5e39ff9ff39c5ab63bef7f34b2", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-012.html": [ + "aabc8d6861eb1c1f09bb0ae14d12d06dcf77d610", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-013.html": [ + "f0d9641798742840df7393ce1ab6579bd72b5792", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-014.html": [ + "f440064798519237e26b82600974d6eb270d3f37", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-015-manual.html": [ + "8b7c6d98eeb6f60bc21797a7a00318aa7edf7681", + "manual" + ], + "css/css-text/word-boundary/word-boundary-101.html": [ + "40a66a4271a18dfbb33dd05c6198fc9178da065c", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-102.html": [ + "e3f9828f320f88f663ecb2d6e434078d10f6b985", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-103.html": [ + "114c6f1367c0ff6acfb97103d8fe2c85df948f6f", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-104.html": [ + "a7a2f38fda118078d4b0f374f594b717af04fd3d", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-105.html": [ + "fa991221e52814bc7f93b8b51a8c08766e982bee", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-106.html": [ + "a968af7767217318d67b9045b434d3eeee2c07b5", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-107.html": [ + "591c1afb8d4cafccbaf02037c818d504c133d3d6", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-108.html": [ + "c23a6fe2b2be64a4de14ad311ca96a8753f37b00", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-109.html": [ + "c5694cc153febfbb60bf992f9e83ff6835e6359d", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-110.html": [ + "bdfedf19e6133e2b371627ce2dac04a36b8757cc", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-111.html": [ + "d2d3df27085265cee2abbeba7b83cad0d3500b6d", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-112.html": [ + "73c2763d8363415efd2401836dae74aebf6d3ced", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-113.html": [ + "f5e0cdf046db1be6788c2799540039bebdfb5888", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-114.html": [ + "b18e1e53cafcb48a08779c1e302ae1643ab66169", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-115.html": [ + "b1266c53dbd9f150b1bc9cae907c01d7f7ee1198", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-116.html": [ + "4b152173b7c0d14db3e5885db6a34b27edac9484", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-117.html": [ + "558b6a981f03addbfaa60071da68d5c462f6b074", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-118.html": [ + "e20bc354105d4ec7d1cec7ec31e5ee942127788b", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-119.html": [ + "fb3aaebc92ada8cd7f31fcba2a76b4dcf78f1012", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-120.html": [ + "8f2bff5b229342a7bbc77062c3de2033e7d3a5ff", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-121.html": [ + "667e1e068e2673af25f65bd85915e3cdb87977bc", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-122.html": [ + "a9d3a9993078fbf9ac6bafb317d80fc04438a7bf", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-123.html": [ + "bcf1f0245e8d914eadaf527c33bc7c248fd0f6c7", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-124.html": [ + "a4a4902ba29db137b966dd509d038ab3b566919d", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-125.html": [ + "a04ec4f075cfc4580f2dc5db894da85cf2c9f11b", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-126.html": [ + "e4a5c6b0fb454135dc257a0e82ab70c57edfc34f", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-127.html": [ + "21f00e664b7726d88060fb7691edfd44704b2984", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-128.html": [ + "cb2d1ee4e78c1603d000bd5de71d8fcf2eb38b67", + "reftest" + ], + "css/css-text/word-boundary/word-boundary-129.html": [ + "6e137177029f7bfac006c32152ef7e2611f8fe24", + "reftest" + ], "css/css-text/word-break/reference/word-break-break-all-010-ref.html": [ "0e0300a72dc920a5ffb54cda6fbe84a2f517d010", "support" @@ -601943,7 +603001,7 @@ "support" ], "css/css-transforms/external-styles/support/svg-external-styles.css": [ - "22978f89b0487bdf3f70d861107d540b06f8cf74", + "ad60fd81174f78c3a5a4afeb7d4ebed912861409", "support" ], "css/css-transforms/external-styles/svg-external-styles-001.html": [ @@ -601990,10 +603048,6 @@ "353f097451b222e0a19c20148136c66e4a9a95eb", "reftest" ], - "css/css-transforms/external-styles/svg-external-styles-012.html": [ - "575693dc58b35cd96be4fdc77bbdab53023e9f11", - "reftest" - ], "css/css-transforms/external-styles/svg-external-styles-013.html": [ "f45639f8c6e2adf83830157f76a6588c059c0c3b", "reftest" @@ -662094,6 +663148,10 @@ "55ee1aad538db98a74adefdb385fe46bd8e81dea", "testharness" ], + "html/syntax/parsing/html_content_in_foreign_context.html": [ + "611b71d0e6aadf536e0c73f344e69c893e127962", + "testharness" + ], "html/syntax/parsing/math-parse01.html": [ "3aff716d9f7cfa6fb6c26992920b137b63f195e4", "testharness" diff --git a/tests/wpt/metadata/css/css-text/parsing/word-boundary-detection-computed.html.ini b/tests/wpt/metadata/css/css-text/parsing/word-boundary-detection-computed.html.ini new file mode 100644 index 00000000000..f22c4186d50 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/parsing/word-boundary-detection-computed.html.ini @@ -0,0 +1,7 @@ +[word-boundary-detection-computed.html] + [Property word-boundary-detection value 'normal' computes to 'normal'] + expected: FAIL + + [Property word-boundary-detection value 'manual' computes to 'manual'] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-text/parsing/word-boundary-detection-valid.html.ini b/tests/wpt/metadata/css/css-text/parsing/word-boundary-detection-valid.html.ini new file mode 100644 index 00000000000..c05d7a883cb --- /dev/null +++ b/tests/wpt/metadata/css/css-text/parsing/word-boundary-detection-valid.html.ini @@ -0,0 +1,7 @@ +[word-boundary-detection-valid.html] + [e.style['word-boundary-detection'\] = "normal" should set the property value] + expected: FAIL + + [e.style['word-boundary-detection'\] = "manual" should set the property value] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-text/parsing/word-boundary-expansion-computed.html.ini b/tests/wpt/metadata/css/css-text/parsing/word-boundary-expansion-computed.html.ini new file mode 100644 index 00000000000..f2dea9cf7a2 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/parsing/word-boundary-expansion-computed.html.ini @@ -0,0 +1,10 @@ +[word-boundary-expansion-computed.html] + [Property word-boundary-expansion value 'space' computes to 'space'] + expected: FAIL + + [Property word-boundary-expansion value 'ideographic-space' computes to 'ideographic-space'] + expected: FAIL + + [Property word-boundary-expansion value 'none' computes to 'none'] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-text/parsing/word-boundary-expansion-valid.html.ini b/tests/wpt/metadata/css/css-text/parsing/word-boundary-expansion-valid.html.ini new file mode 100644 index 00000000000..c1f25ca839c --- /dev/null +++ b/tests/wpt/metadata/css/css-text/parsing/word-boundary-expansion-valid.html.ini @@ -0,0 +1,10 @@ +[word-boundary-expansion-valid.html] + [e.style['word-boundary-expansion'\] = "space" should set the property value] + expected: FAIL + + [e.style['word-boundary-expansion'\] = "ideographic-space" should set the property value] + expected: FAIL + + [e.style['word-boundary-expansion'\] = "none" should set the property value] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-001.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-001.html.ini new file mode 100644 index 00000000000..201a7f68bc6 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-001.html.ini @@ -0,0 +1,2 @@ +[word-boundary-001.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-002.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-002.html.ini new file mode 100644 index 00000000000..671edc8c6b6 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-002.html.ini @@ -0,0 +1,2 @@ +[word-boundary-002.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-003.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-003.html.ini new file mode 100644 index 00000000000..dcc7ea518e3 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-003.html.ini @@ -0,0 +1,2 @@ +[word-boundary-003.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-004.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-004.html.ini new file mode 100644 index 00000000000..c2ed0704079 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-004.html.ini @@ -0,0 +1,2 @@ +[word-boundary-004.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-005.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-005.html.ini new file mode 100644 index 00000000000..5c8f8888bf1 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-005.html.ini @@ -0,0 +1,2 @@ +[word-boundary-005.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-006.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-006.html.ini new file mode 100644 index 00000000000..59990e91eff --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-006.html.ini @@ -0,0 +1,2 @@ +[word-boundary-006.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-007.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-007.html.ini new file mode 100644 index 00000000000..e4f9fe57f1c --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-007.html.ini @@ -0,0 +1,2 @@ +[word-boundary-007.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-008.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-008.html.ini new file mode 100644 index 00000000000..3d3bda613ff --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-008.html.ini @@ -0,0 +1,2 @@ +[word-boundary-008.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-009.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-009.html.ini new file mode 100644 index 00000000000..bf153d1a569 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-009.html.ini @@ -0,0 +1,2 @@ +[word-boundary-009.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-010.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-010.html.ini new file mode 100644 index 00000000000..bb02af24b3d --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-010.html.ini @@ -0,0 +1,2 @@ +[word-boundary-010.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-011.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-011.html.ini new file mode 100644 index 00000000000..bacbc5fdf59 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-011.html.ini @@ -0,0 +1,2 @@ +[word-boundary-011.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-012.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-012.html.ini new file mode 100644 index 00000000000..00e16d20863 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-012.html.ini @@ -0,0 +1,2 @@ +[word-boundary-012.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-013.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-013.html.ini new file mode 100644 index 00000000000..0171725420f --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-013.html.ini @@ -0,0 +1,2 @@ +[word-boundary-013.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-014.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-014.html.ini new file mode 100644 index 00000000000..705d9e14464 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-014.html.ini @@ -0,0 +1,2 @@ +[word-boundary-014.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-102.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-102.html.ini new file mode 100644 index 00000000000..0e40fcb9f09 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-102.html.ini @@ -0,0 +1,2 @@ +[word-boundary-102.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-103.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-103.html.ini new file mode 100644 index 00000000000..27899b63155 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-103.html.ini @@ -0,0 +1,2 @@ +[word-boundary-103.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-104.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-104.html.ini new file mode 100644 index 00000000000..77f96a47ac0 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-104.html.ini @@ -0,0 +1,2 @@ +[word-boundary-104.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-105.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-105.html.ini new file mode 100644 index 00000000000..840044bc006 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-105.html.ini @@ -0,0 +1,2 @@ +[word-boundary-105.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-107.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-107.html.ini new file mode 100644 index 00000000000..63d6fcc1168 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-107.html.ini @@ -0,0 +1,2 @@ +[word-boundary-107.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-108.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-108.html.ini new file mode 100644 index 00000000000..767d3ca5a00 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-108.html.ini @@ -0,0 +1,2 @@ +[word-boundary-108.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-109.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-109.html.ini new file mode 100644 index 00000000000..7fcf6cd2867 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-109.html.ini @@ -0,0 +1,2 @@ +[word-boundary-109.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-110.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-110.html.ini new file mode 100644 index 00000000000..a17d0a24611 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-110.html.ini @@ -0,0 +1,2 @@ +[word-boundary-110.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-112.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-112.html.ini new file mode 100644 index 00000000000..ee07c319feb --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-112.html.ini @@ -0,0 +1,2 @@ +[word-boundary-112.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-113.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-113.html.ini new file mode 100644 index 00000000000..abea305088f --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-113.html.ini @@ -0,0 +1,2 @@ +[word-boundary-113.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-114.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-114.html.ini new file mode 100644 index 00000000000..da95790bcf8 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-114.html.ini @@ -0,0 +1,2 @@ +[word-boundary-114.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-115.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-115.html.ini new file mode 100644 index 00000000000..d85c5512b66 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-115.html.ini @@ -0,0 +1,2 @@ +[word-boundary-115.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-116.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-116.html.ini new file mode 100644 index 00000000000..6968d8f652c --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-116.html.ini @@ -0,0 +1,2 @@ +[word-boundary-116.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-117.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-117.html.ini new file mode 100644 index 00000000000..f62025e8326 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-117.html.ini @@ -0,0 +1,2 @@ +[word-boundary-117.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-118.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-118.html.ini new file mode 100644 index 00000000000..7d7e9975994 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-118.html.ini @@ -0,0 +1,2 @@ +[word-boundary-118.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-119.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-119.html.ini new file mode 100644 index 00000000000..fab9077f0b5 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-119.html.ini @@ -0,0 +1,2 @@ +[word-boundary-119.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-120.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-120.html.ini new file mode 100644 index 00000000000..450539a5df9 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-120.html.ini @@ -0,0 +1,2 @@ +[word-boundary-120.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-121.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-121.html.ini new file mode 100644 index 00000000000..0337c634dd9 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-121.html.ini @@ -0,0 +1,2 @@ +[word-boundary-121.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-122.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-122.html.ini new file mode 100644 index 00000000000..ece305eb8a4 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-122.html.ini @@ -0,0 +1,2 @@ +[word-boundary-122.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-123.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-123.html.ini new file mode 100644 index 00000000000..2ec608aa4fd --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-123.html.ini @@ -0,0 +1,2 @@ +[word-boundary-123.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-124.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-124.html.ini new file mode 100644 index 00000000000..199463f5151 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-124.html.ini @@ -0,0 +1,2 @@ +[word-boundary-124.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-125.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-125.html.ini new file mode 100644 index 00000000000..0acaeca9615 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-125.html.ini @@ -0,0 +1,2 @@ +[word-boundary-125.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-126.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-126.html.ini new file mode 100644 index 00000000000..024b35d55b2 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-126.html.ini @@ -0,0 +1,2 @@ +[word-boundary-126.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-127.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-127.html.ini new file mode 100644 index 00000000000..7e43d876903 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-127.html.ini @@ -0,0 +1,2 @@ +[word-boundary-127.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-128.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-128.html.ini new file mode 100644 index 00000000000..c517a4e1d54 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-128.html.ini @@ -0,0 +1,2 @@ +[word-boundary-128.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-129.html.ini b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-129.html.ini new file mode 100644 index 00000000000..d14e053675b --- /dev/null +++ b/tests/wpt/metadata/css/css-text/word-boundary/word-boundary-129.html.ini @@ -0,0 +1,2 @@ +[word-boundary-129.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini b/tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini deleted file mode 100644 index e6e1f29e274..00000000000 --- a/tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[matchMedia-display-none-iframe.html] - expected: ERROR diff --git a/tests/wpt/metadata/fetch/content-type/response.window.js.ini b/tests/wpt/metadata/fetch/content-type/response.window.js.ini index 4ba7558ca5d..29f3cde39f6 100644 --- a/tests/wpt/metadata/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/response.window.js.ini @@ -312,21 +312,15 @@ [<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html] expected: FAIL - [<iframe>: separate response Content-Type: text/html */*] - expected: FAIL - - [<iframe>: combined response Content-Type: text/html */*] - expected: FAIL - [<iframe>: combined response Content-Type: text/html;x=" text/plain] expected: FAIL - [<iframe>: combined response Content-Type: text/html;" text/plain] + [<iframe>: separate response Content-Type: text/html;" text/plain] expected: FAIL - [<iframe>: separate response Content-Type: text/html */*;charset=gbk] + [<iframe>: separate response Content-Type: text/plain */*] expected: FAIL - [<iframe>: combined response Content-Type: text/html;" \\" text/plain] + [<iframe>: combined response Content-Type: text/html */*;charset=gbk] expected: FAIL diff --git a/tests/wpt/metadata/fetch/content-type/script.window.js.ini b/tests/wpt/metadata/fetch/content-type/script.window.js.ini index d2df9b78483..e67f0406fc3 100644 --- a/tests/wpt/metadata/fetch/content-type/script.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/script.window.js.ini @@ -53,6 +53,3 @@ [combined text/javascript ] expected: FAIL - [separate text/javascript x/x] - expected: FAIL - diff --git a/tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini b/tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini index b7052af5b5c..87c807a49ff 100644 --- a/tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini +++ b/tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini @@ -11,6 +11,3 @@ [X-Content-Type-Options%3A%20nosniff%0C] expected: FAIL - [X-Content-Type-Options%3A%0D%0AX-Content-Type-Options%3A%20nosniff] - expected: FAIL - diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin-fragment.html.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin-fragment.html.ini new file mode 100644 index 00000000000..e495b626d2e --- /dev/null +++ b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin-fragment.html.ini @@ -0,0 +1,4 @@ +[navigation-unload-same-origin-fragment.html] + [Tests that a fragment navigation in the unload handler will not block the initial navigation] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini new file mode 100644 index 00000000000..385376c7321 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini @@ -0,0 +1,4 @@ +[traverse_the_history_4.html] + [Multiple history traversals, last would be aborted] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/windows/embedded-opener-remove-frame.html.ini b/tests/wpt/metadata/html/browsers/windows/embedded-opener-remove-frame.html.ini index 442db3cb549..2532dceabac 100644 --- a/tests/wpt/metadata/html/browsers/windows/embedded-opener-remove-frame.html.ini +++ b/tests/wpt/metadata/html/browsers/windows/embedded-opener-remove-frame.html.ini @@ -1,4 +1,5 @@ [embedded-opener-remove-frame.html] + expected: CRASH [opener and "removed" embedded documents] expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini index fc37df7e3fa..2a166bb97b7 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini @@ -1,6 +1,6 @@ [iframe_sandbox_popups_escaping-1.html] type: testharness - expected: TIMEOUT + expected: CRASH [Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used] expected: TIMEOUT diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html.ini index 5f60c78e73c..f6a7aca3306 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html.ini @@ -1,6 +1,5 @@ [iframe_sandbox_popups_escaping-3.html] type: testharness - expected: TIMEOUT [Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used] - expected: TIMEOUT + expected: FAIL diff --git a/tests/wpt/metadata/html/syntax/parsing/html_content_in_foreign_context.html.ini b/tests/wpt/metadata/html/syntax/parsing/html_content_in_foreign_context.html.ini new file mode 100644 index 00000000000..6a74b2d5ac9 --- /dev/null +++ b/tests/wpt/metadata/html/syntax/parsing/html_content_in_foreign_context.html.ini @@ -0,0 +1,4 @@ +[html_content_in_foreign_context.html] + [HTML namespace nodes should exit foreign contexts] + expected: FAIL + diff --git a/tests/wpt/metadata/webmessaging/without-ports/018.html.ini b/tests/wpt/metadata/webmessaging/without-ports/018.html.ini deleted file mode 100644 index 663a1f8fa30..00000000000 --- a/tests/wpt/metadata/webmessaging/without-ports/018.html.ini +++ /dev/null @@ -1,5 +0,0 @@ -[018.html] - expected: TIMEOUT - [origin of the script that invoked the method, javascript:] - expected: TIMEOUT - diff --git a/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-detection-computed.html b/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-detection-computed.html new file mode 100644 index 00000000000..b12922924ad --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-detection-computed.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>CSS Text: getComputedStyle().wordBoundaryDetection</title> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<meta name="assert" content="word-boundary-detection computed value is specified keyword."> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script src="/css/support/computed-testcommon.js"></script> +</head> +<body> +<div id="target"></div> +<script> +test_computed_value("word-boundary-detection", "normal"); +test_computed_value("word-boundary-detection", "manual"); +/* Not sure how to test for auto(<lang>) generically, as which one will parse depends on languages actually supported */ +</script> +</body> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-detection-invalid.html b/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-detection-invalid.html new file mode 100644 index 00000000000..a844566b8ca --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-detection-invalid.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>CSS Text Module Test: parsing word-boundary-detection with invalid values</title> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<meta name="assert" content="word-boundary-detection supports only the grammar 'normal | manual | auto(<lang>)'."> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script src="/css/support/parsing-testcommon.js"></script> +</head> +<body> +<script> +test_invalid_value("word-boundary-detection", "auto"); /*needs a language*/ +test_invalid_value("word-boundary-detection", "auto()"); /*needs a language*/ +test_invalid_value("word-boundary-detection", "none"); +test_invalid_value("word-boundary-detection", "normal manual"); +</script> +</body> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-detection-valid.html b/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-detection-valid.html new file mode 100644 index 00000000000..81a8ea32b99 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-detection-valid.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>CSS Text Module Test: parsing word-boundary-detection with valid values</title> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<meta name="assert" content="word-boundary-detection supports the full grammar 'normal | manual | auto(<lang>) '."> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script src="/css/support/parsing-testcommon.js"></script> +</head> +<body> +<script> +test_valid_value("word-boundary-detection", "normal"); +test_valid_value("word-boundary-detection", "manual"); +/* Not sure how to test for auto(<lang>) generically, as which one will parse depends on languages actually supported */ +</script> +</body> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-expansion-computed.html b/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-expansion-computed.html new file mode 100644 index 00000000000..054a298ae78 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-expansion-computed.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>CSS Text: getComputedStyle().wordBoundaryExpansion</title> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<meta name="assert" content="word-boundary-expansion computed value is specified keyword."> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script src="/css/support/computed-testcommon.js"></script> +</head> +<body> +<div id="target"></div> +<script> +test_computed_value("word-boundary-expansion", "none"); +test_computed_value("word-boundary-expansion", "space"); +test_computed_value("word-boundary-expansion", "ideographic-space"); +</script> +</body> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-expansion-invalid.html b/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-expansion-invalid.html new file mode 100644 index 00000000000..6b68e578d4d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-expansion-invalid.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>CSS Text Module Test: parsing word-boundary-expansion with invalid values</title> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<meta name="assert" content="word-boundary-expansion supports only the grammar 'none | space | ideographic-space'."> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script src="/css/support/parsing-testcommon.js"></script> +</head> +<body> +<script> +test_invalid_value("word-boundary-expansion", "auto"); +test_invalid_value("word-boundary-expansion", "normal"); +test_invalid_value("word-boundary-expansion", "spaces"); +test_invalid_value("word-boundary-expansion", "space ideographic-space"); +</script> +</body> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-expansion-valid.html b/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-expansion-valid.html new file mode 100644 index 00000000000..cf1128a5f72 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/parsing/word-boundary-expansion-valid.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>CSS Text Module Test: parsing word-boundary-expansion with valid values</title> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<meta name="assert" content="word-boundary-expansion supports the full grammar 'none | space | ideographic-space'."> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script src="/css/support/parsing-testcommon.js"></script> +</head> +<body> +<script> +test_valid_value("word-boundary-expansion", "none"); +test_valid_value("word-boundary-expansion", "space"); +test_valid_value("word-boundary-expansion", "ideographic-space"); +</script> +</body> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-001-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-001-ref.html new file mode 100644 index 00000000000..620079f6ad4 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-001-ref.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; +} +</style> + +<p>Test passes if the two lines below are identical. + +<div>あ い う</div> +<div>あ い う</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-002-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-002-ref.html new file mode 100644 index 00000000000..70a1a6528e7 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-002-ref.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; +} +</style> + +<p>Test passes if the two lines below are identical. + +<div>a b c</div> +<div>a b c</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-004-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-004-ref.html new file mode 100644 index 00000000000..fbe74942b14 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-004-ref.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; +} +</style> + +<p>Test passes if the two lines below are identical. + +<div>ab c</div> +<div>ab c</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-007-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-007-ref.html new file mode 100644 index 00000000000..b0cb8913084 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-007-ref.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; +} +</style> + +<p>Test passes if the two lines below are identical. + +<div>a b c d e f g h i j</div> +<div>a b c d e f g h i j</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-008-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-008-ref.html new file mode 100644 index 00000000000..ff73104a004 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-008-ref.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + white-space: pre; +} +</style> + +<p>Test passes if the two lines below are identical. + +<div>a b c d e f g h i j</div> +<div>a b c d e f g h i j</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-009-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-009-ref.html new file mode 100644 index 00000000000..815fe800e3d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-009-ref.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; +} +</style> + +<p>Test passes if the two lines below are identical. + +<div>a b c d e f g</div> +<div>a b c d e f g</div> + diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-010-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-010-ref.html new file mode 100644 index 00000000000..2ca6b8db7e4 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-010-ref.html @@ -0,0 +1,39 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid blue; + float: left; + margin: 1px; + padding: 0 1em; +} +</style> + +<p>Test passes if the all boxes below are identical. + +<div>あ い</div> +<div>あ い</div> +<div>あ い</div> +<div>あ い</div> +<div>あ い</div> +<div>あ い</div> + +<div>あ い</div> +<div>あ い</div> +<div>あ い</div> +<div>あ い</div> + +<div>あ い</div> +<div>あ い</div> +<div>あ い</div> +<div>あ い</div> + +<div>あ い</div> +<div>あ い</div> +<div>あ い</div> +<div>あ い</div> + +<div>あ い</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-011-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-011-ref.html new file mode 100644 index 00000000000..e1af62ffdf0 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-011-ref.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid blue; + float: left; + margin: 1px; +} +</style> + +<p>Test passes if the all boxes below are identical. + +<div id=ref>あ い<br>う</div> +<div id=ref>あ い<br>う</div> + +<div id=ref>あ い<br>う</div> +<div id=ref>あ い<br>う</div> + +<div id=ref>あ い<br>う</div> +<div id=ref>あ い<br>う</div> + +<div id=ref>あ い<br>う</div> +<div id=ref>あ い<br>う</div> + +<div id=ref>あ い<br>う</div> +<div id=ref>あ い<br>う</div> + +<div id=ref>あ い<br>う</div> +<div id=ref>あ い<br>う</div> + +<div id=ref>あ い<br>う</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-012-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-012-ref.html new file mode 100644 index 00000000000..016dc5968c0 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-012-ref.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid blue; + float: left; + margin: 1px; +} +</style> + +<p>Test passes if the all boxes below are identical. + +<div id=ref>あい うえ</div> +<div id=ref>あい うえ</div> +<div id=ref>あい うえ</div> + +<div id=ref>あい うえ</div> +<div id=ref>あい うえ</div> +<div id=ref>あい うえ</div> + +<div id=ref>あい うえ</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-013-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-013-ref.html new file mode 100644 index 00000000000..9490e52d1ba --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-013-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + width: 7em; + border: solid blue; + margin: 1em; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div>ああ いい <br>うう</div> +<div>ああ いい <br>うう</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-014-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-014-ref.html new file mode 100644 index 00000000000..dbec99b0827 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-014-ref.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + width: 7ch; + font-family: monospace; + border: solid blue; + margin: 1em; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div>aa bb <br>cc</div> +<div>aa bb <br>cc</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-101-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-101-ref.html new file mode 100644 index 00000000000..f51208ab95f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-101-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid blue; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div lang=th>กรุงเทพคือสวยงาม</div> +<div lang=th>กรุงเทพคือสวยงาม</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-102-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-102-ref.html new file mode 100644 index 00000000000..df308cee75c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-102-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid orange; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are <em>different</em>. + +<div lang=th>กรุงเทพคือสวยงาม</div> +<div lang=th>กรุงเทพคือสวยงาม</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-103-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-103-ref.html new file mode 100644 index 00000000000..64f2b231c04 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-103-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid orange; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are <em>different</em>. + +<div lang=de>กรุงเทพคือสวยงาม</div> +<div lang=de>กรุงเทพคือสวยงาม</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-104-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-104-ref.html new file mode 100644 index 00000000000..15843b7296e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-104-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid orange; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are <em>different</em>. + +<div>กรุงเทพคือสวยงาม</div> +<div>กรุงเทพคือสวยงาม</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-105-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-105-ref.html new file mode 100644 index 00000000000..3ba4c6f143c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-105-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid orange; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are <em>different</em>. + +<div lang=ja>กรุงเทพคือสวยงาม</div> +<div lang=ja>กรุงเทพคือสวยงาม</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-106-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-106-ref.html new file mode 100644 index 00000000000..04d54ca20a8 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-106-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid blue; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div>กรุงเทพคือสวยงาม</div> +<div>กรุงเทพคือสวยงาม</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-107-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-107-ref.html new file mode 100644 index 00000000000..2decfe1cc09 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-107-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid blue; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div lang=zh>東京へ行きましょう。</div> +<div lang=zh>東京へ行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-108-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-108-ref.html new file mode 100644 index 00000000000..45497690fe4 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-108-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid blue; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div>東京へ行きましょう。</div> +<div>東京へ行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-109-a-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-109-a-ref.html new file mode 100644 index 00000000000..3cf81f6175d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-109-a-ref.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +.wrap { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; + word-break: keep-all; +} +.wrap > div { + width: 0; +} +#ref1 { + border-color: blue; +} +#ref2 { + border-color: orange; +} +</style> + +<p>Test passes if the black box is identical to either the blue or orange one. + +<div id=ref1 class=wrap> + <div lang=ja>東京へ<wbr>行きましょう。</div> +</div> +<div class=wrap> + <div lang=ja>東京へ<wbr>行きましょう。</div> +</div> +<div id=ref2 class=wrap> + <div lang=ja>東京<wbr>へ<wbr>行きましょう。</div> +</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-109-b-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-109-b-ref.html new file mode 100644 index 00000000000..3b787b91581 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-109-b-ref.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +.wrap { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; + word-break: keep-all; +} +.wrap > div { + width: 0; +} +#ref1 { + border-color: blue; +} +#ref2 { + border-color: orange; +} +</style> + +<p>Test passes if the black box is identical to either the blue or orange one. + +<div id=ref1 class=wrap> + <div lang=ja>東京へ<wbr>行きましょう。</div> +</div> +<div class=wrap> + <div lang=ja>東京<wbr>へ<wbr>行きましょう。</div> +</div> +<div id=ref2 class=wrap> + <div lang=ja>東京<wbr>へ<wbr>行きましょう。</div> +</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-110-a-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-110-a-ref.html new file mode 100644 index 00000000000..3347778df6f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-110-a-ref.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#ref1 { + border-color: blue; +} +#ref2 { + border-color: orange; +} +</style> + +<p>Test passes if the black box is identical to either the blue or orange one. + +<div id=ref1 lang=ja>東京へ 行きましょう。</div> +<div id=test lang=ja>東京へ 行きましょう。</div> +<div id=ref2 lang=ja>東京 へ 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-110-b-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-110-b-ref.html new file mode 100644 index 00000000000..550c9e88880 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-110-b-ref.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#ref1 { + border-color: blue; +} +#ref2 { + border-color: orange; +} +</style> + +<p>Test passes if the black box is identical to either the blue or orange one. + +<div id=ref1 lang=ja>東京へ 行きましょう。</div> +<div id=test lang=ja>東京 へ 行きましょう。</div> +<div id=ref2 lang=ja>東京 へ 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-111-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-111-ref.html new file mode 100644 index 00000000000..fbb536e5659 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-111-ref.html @@ -0,0 +1,32 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +.wrap { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +.wrap > div { + width: 0; +} +#ref { + border-color: blue; +} +</style> + +<!-- +This test should pass even in UAs that don't support word-boundary-detection:auto(th) +since allowing south-east-asian languages to wrap is the default behavior. +--> + +<p>Test passes if the black box is identical to either the blue one. + +<div class=wrap> + <div lang=th>กรุงเทพ<wbr>คือ<wbr>สวยงาม</div> +</div> +<div id=ref class=wrap> + <div lang=th>กรุงเทพ<wbr>คือ<wbr>สวยงาม</div> +</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-112-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-112-ref.html new file mode 100644 index 00000000000..f7f79390810 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-112-ref.html @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +.wrap { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#ref { + border-color: blue; +} +</style> +<!-- + +This test should pass even in UAs that don't support word-boundary-detection:auto(th) +since inserting virtual word boundaries is the default for south-east-asian languages. +--> + +<p>Test passes if the black box is identical to the blue one. + +<div lang=th>กรุงเทพ คือ สวยงาม</div> +<div id=ref lang=th>กรุงเทพ คือ สวยงาม</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-113-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-113-ref.html new file mode 100644 index 00000000000..738c600f5b4 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-113-ref.html @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#ref { + border-color: blue; +} +u { background: silver; } +b { background: green; } +em { background: gray; } +</style> +<!-- + +This test should pass even in UAs that don't support word-boundary-detection:auto(th) +since inserting virtual word boundaries is the default for south-east-asian languages. +--> + +<p>Test passes if the black box is identical to the blue one. + +<div lang=th>กรุงเทพ <b><u>คือ</u> <em>สวยง</em></b>าม</div> +<div id=ref lang=th>กรุงเทพ <b><u>คือ</u> <em>สวยง</em></b>าม</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-114-a-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-114-a-ref.html new file mode 100644 index 00000000000..4ff39ee4f3f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-114-a-ref.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#ref1 { + border-color: blue; +} +#ref2 { + border-color: orange; +} +u { background: silver; } +b { background: green; } +em { background: gray; } +</style> + +<p>Test passes if the black box is identical to either the blue or orange one. + +<div id=ref1 lang=ja>東京<b><u>へ</u> <em>行きましょ</em></b>う。</div> +<div lang=ja>東京<b><u>へ</u> <em>行きましょ</em></b>う。</div> +<div id=ref2 lang=ja>東京 <b><u>へ</u> <em>行きましょ</em></b>う。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-114-b-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-114-b-ref.html new file mode 100644 index 00000000000..5b58e078dcf --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-114-b-ref.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#ref1 { + border-color: blue; +} +#ref2 { + border-color: orange; +} +u { background: silver; } +b { background: green; } +em { background: gray; } +</style> + +<p>Test passes if the black box is identical to either the blue or orange one. + +<div id=ref1 lang=ja>東京<b><u>へ</u> <em>行きましょ</em></b>う。</div> +<div lang=ja>東京 <b><u>へ</u> <em>行きましょ</em></b>う。</div> +<div id=ref2 lang=ja>東京 <b><u>へ</u> <em>行きましょ</em></b>う。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-115-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-115-ref.html new file mode 100644 index 00000000000..a7d1dffcd9f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-115-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div lang=ja>東京へ行きましょう。</div> +<div lang=ja>東京へ行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-116-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-116-ref.html new file mode 100644 index 00000000000..62d26d6a4b5 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-116-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div lang=ja>東京 へ 行きましょう。</div> +<div lang=ja>東京 へ 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-117-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-117-ref.html new file mode 100644 index 00000000000..81d1f0601dd --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-117-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div lang=ja>東京 へ 行きましょう。</div> +<div lang=ja>東京 へ 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-119-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-119-ref.html new file mode 100644 index 00000000000..e198dafafa1 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-119-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div lang=ja>東京 へ 行きましょう。</div> +<div lang=ja>東京 へ 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-120-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-120-ref.html new file mode 100644 index 00000000000..e9cecd792b0 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-120-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div lang=ja>東京⁠へ⁠行きましょう。</div> +<div lang=ja>東京⁠へ⁠行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-121-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-121-ref.html new file mode 100644 index 00000000000..86ecdba9129 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-121-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div lang=ja>東京‍へ‍行きましょう。</div> +<div lang=ja>東京‍へ‍行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-122-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-122-ref.html new file mode 100644 index 00000000000..27170553468 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-122-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div lang=ja>東京} へ} 行きましょう。</div> +<div lang=ja>東京} へ} 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-123-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-123-ref.html new file mode 100644 index 00000000000..35b0e5f05a7 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-123-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京) へ) 行きましょう。</div> +<div id=ref lang=ja>東京) へ) 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-124-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-124-ref.html new file mode 100644 index 00000000000..fd732b44ec4 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-124-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div lang=ja>東京. へ. 行きましょう。</div> +<div lang=ja>東京. へ. 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-125-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-125-ref.html new file mode 100644 index 00000000000..aad7d3d4d95 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-125-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto() forbidden</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div lang=ja>東京! へ! 行きましょう。</div> +<div lang=ja>東京! へ! 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-126-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-126-ref.html new file mode 100644 index 00000000000..91f2ec7b193 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-126-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div lang=ja>東京 (へ (行きましょう。</div> +<div lang=ja>東京 (へ (行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-127-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-127-ref.html new file mode 100644 index 00000000000..b354a4f12dc --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-127-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div lang=ja>東京% へ% 行きましょう。</div> +<div lang=ja>東京% へ% 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-128-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-128-ref.html new file mode 100644 index 00000000000..8dcabb01e29 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-128-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div lang=ja>東京‼ へ‼ 行きましょう。</div> +<div lang=ja>東京‼ へ‼ 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-129-ref.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-129-ref.html new file mode 100644 index 00000000000..5d7d5577aec --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/reference/word-boundary-129-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Test reference</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京 $へ $行きましょう。</div> +<div id=ref lang=ja>東京 $へ $行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-001.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-001.html new file mode 100644 index 00000000000..08ad0d1a988 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-001.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-expansion:ideographic-space </title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-001-ref.html"> +<meta name="assert" content="Both zero-width-spaces and <wbr> are expanded by word-boundary-expansion: ideographic-space"> +<style> +div { + font-size: 2em; +} +#test { + word-boundary-expansion: ideographic-space; +} +</style> + +<p>Test passes if the two lines below are identical. + +<div id=test>あ<wbr>い​う</div> +<div id=ref>あ い う</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-002.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-002.html new file mode 100644 index 00000000000..58dede44b2c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-002.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-expansion:space</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-002-ref.html"> +<meta name="assert" content="Both zero-width-spaces and <wbr> are expanded by word-boundary-expansion: space"> +<style> +div { + font-size: 2em; +} +#test { + word-boundary-expansion: space; +} +</style> + +<p>Test passes if the two lines below are identical. + +<div id=test>a<wbr>b​c</div> +<div id=ref>a b c</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-003.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-003.html new file mode 100644 index 00000000000..41151753f92 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-003.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-expansion inherits</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-001-ref.html"> +<meta name="assert" content="word-boundary-expansion inherits"> +<style> +div { + font-size: 2em; +} +#wrap { + word-boundary-expansion: ideographic-space; +} +</style> + +<p>Test passes if the two lines below are identical. + +<div id=wrap> + <div id=test>あ<wbr>い​う</div> +</div> +<div id=ref>あ い う</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-004.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-004.html new file mode 100644 index 00000000000..ad7f19fdb99 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-004.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-expansion off on wbr</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-004-ref.html"> +<meta name="assert" content="word-boundary-expansion can be turned off on a <wbr>"> +<style> +div { + font-size: 2em; +} +#test { + word-boundary-expansion: space; +} +wbr { + word-boundary-expansion: none; +} +</style> + +<p>Test passes if the two lines below are identical. + +<div id=test>a<wbr>b​c</div> +<div id=ref>ab c</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-005.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-005.html new file mode 100644 index 00000000000..f124c3737ca --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-005.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-expansion off on inline</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-004-ref.html"> +<meta name="assert" content="word-boundary-expansion can be turned off on a inlines"> +<style> +div { + font-size: 2em; +} +#test { + word-boundary-expansion: space; +} +span { + word-boundary-expansion: none; +} +</style> + +<p>Test passes if the two lines below are identical. + +<div id=test><span>a​b</span>​c</div> +<div id=ref>ab c</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-006.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-006.html new file mode 100644 index 00000000000..587847b75cd --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-006.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: turn on word-boundary-expansion on wbr and inlines</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-002-ref.html"> +<meta name="assert" content="word-boundary-expansion applies to inlines, including wbr"> +<style> +div { + font-size: 2em; +} +wbr, span { + word-boundary-expansion: space; +} +</style> + +<p>Test passes if the two lines below are identical. + +<div id=test>a<wbr>b<span>​c</span></div> +<div id=ref>a b c</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-007.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-007.html new file mode 100644 index 00000000000..912188c7404 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-007.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-expansion space collapsing</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-phase-1"> +<link rel="match" href="reference/word-boundary-007-ref.html"> +<meta name="assert" content="word-boundary-expnasion happens before phase 1 of white space processing, so inserted spaces collapse with adjacent ones"> +<style> +div { + font-size: 2em; +} +#test { + word-boundary-expansion: space; +} +</style> + +<p>Test passes if the two lines below are identical. + +<div id=test>a<wbr> b <wbr>c ​d​ e<wbr><wbr>f​​g<wbr>​h​<wbr>i <wbr> ​ j</div> +<div id=ref>a b c d e f g h i j</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-008.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-008.html new file mode 100644 index 00000000000..a1dfb828f25 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-008.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-expansion space non collapsing</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-phase-1"> +<link rel="match" href="reference/word-boundary-008-ref.html"> +<meta name="assert" content="word-boundary-expnasion happens before phase 1 of white space processing, so inserted spaces can be preserved by white-space:pre"> +<style> +div { + font-size: 2em; + white-space: pre; +} +#test { + word-boundary-expansion: space; +} +</style> + +<p>Test passes if the two lines below are identical. + +<div id=test>a<wbr> b <wbr>c ​d​ e<wbr><wbr>f​​g<wbr>​h​<wbr>i <wbr> ​ j</div> +<div id=ref>a b c d e f g h i j</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-009.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-009.html new file mode 100644 index 00000000000..cb8ec84fc2b --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-009.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-expansion and text-transform:full-width</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-1"> +<link rel="help" href="https://drafts.csswg.org/css-text-3/#text-transform-property"> +<link rel="match" href="reference/word-boundary-009-ref.html"> +<meta name="assert" content="word-boundary-expansion:space happens at the right stage of the white space processing pipeline to interact properly with text-transform:full-width"> +<style> +div { + font-size: 2em; +} +#test { + word-boundary-expansion: space; + text-transform: full-width; +} +</style> + +<p>Test passes if the two lines below are identical. + +<div id=test>a b<wbr>c​d <wbr>e ​f<wbr>​g</div> +<div id=ref>a b c d e f g</div> + diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-010.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-010.html new file mode 100644 index 00000000000..6e1cc1ccf27 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-010.html @@ -0,0 +1,50 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-expansion and forced line breaks</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-010-ref.html"> +<meta name="assert" content="must not replace instances of U+200B immediately preceding or following a forced line break (ignoring any intervening inline box boundaries, and associated margin/border/padding)"> +<style> +div { + font-size: 2em; + border: solid blue; + float: left; + margin: 1px; +} +.pad { padding: 0 1em; } +.spad { padding: 0 0.5em; } +.margin { margin: 0 1em; } +.smargin { margin: 0 0.5em; } +.border { border: solid transparent; border-width: 0 1em; } +.sborder { border: solid transparent; border-width: 0 0.5em; } +.test { + word-boundary-expansion: ideographic-space; +} +</style> + +<p>Test passes if the all boxes below are identical. + +<div class="test pad"><wbr>あ<wbr>い<wbr></div> +<div class="test pad">​あ​い​</div> +<div class="test pad"><span><wbr>あ<wbr>い<wbr><span></div> +<div class="test pad"><span>​あ​い​</span></div> +<div class="test pad"><span></span><wbr>あ<wbr>い<wbr><span></span></div> +<div class="test pad"><span></span>​あ​い​<span></span></div> + +<div class="test"><span class=pad><wbr>あ<wbr>い<wbr><span></div> +<div class="test"><span class=pad>​あ​い​</span></div> +<div class="test"><span class=spad></span><wbr>あ<wbr>い<wbr><span class=spad></span></div> +<div class="test"><span class=spad></span>​あ​い​<span class=spad></span></div> + +<div class="test"><span class=margin><wbr>あ<wbr>い<wbr><span></div> +<div class="test"><span class=margin>​あ​い​</span></div> +<div class="test"><span class=smargin></span><wbr>あ<wbr>い<wbr><span class=smargin></span></div> +<div class="test"><span class=smargin></span>​あ​い​<span class=smargin></span></div> + +<div class="test"><span class=border><wbr>あ<wbr>い<wbr><span></div> +<div class="test"><span class=border>​あ​い​</span></div> +<div class="test"><span class=sborder></span><wbr>あ<wbr>い<wbr><span class=sborder></span></div> +<div class="test"><span class=sborder></span>​あ​い​<span class=sborder></span></div> + +<div id=ref class=pad>あ い</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-011.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-011.html new file mode 100644 index 00000000000..4da3a7a5c9d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-011.html @@ -0,0 +1,55 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-expansion and forced line breaks (br and preserved new lines)</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-011-ref.html"> +<meta name="assert" content="must not replace instances of U+200B immediately preceding or following a forced line break (br and preserved new lines)"> +<style> +div { + font-size: 2em; + border: solid blue; + float: left; + margin: 1px; +} +.test { + word-boundary-expansion: ideographic-space; +} +.pre { + white-space: pre; +} +.mbp span { + padding: 0 5px; + border: solid transparent; + border-width: 0 5px; + margin: 0 -10px; +} +</style> + +<p>Test passes if the all boxes below are identical. + +<div class="test">あ<wbr>い<wbr><br><wbr>う</div> +<div class="test">あ​い​<br>​う</div> + +<div class="test">あ<wbr>い<span><wbr></span><span></span><span><br></span><span></span><span><wbr></span>う</div> +<div class="test">あ​い<span>​</span><span></span><span><br></span><span></span><span>​</span>う</div> + +<div class="test mbp">あ<wbr>い<span><wbr></span><span></span><span><br></span><span></span><span><wbr></span>う</div> +<div class="test mbp">あ​い<span>​</span><span></span><span><br></span><span></span><span>​</span>う</div> + +<div class="test pre">あ<wbr>い<wbr> +<wbr>う</div> +<div class="test pre">あ​い​ +​う</div> + +<div class="test pre">あ<wbr>い<span><wbr></span><span></span><span> +</span><span></span><span><wbr></span>う</div> +<div class="test pre">あ​い<span>​</span><span></span><span> +</span><span></span><span>​</span>う</div> + +<div class="test pre mbp">あ<wbr>い<span><wbr></span><span></span><span> +</span><span></span><span><wbr></span>う</div> +<div class="test pre mbp">あ​い<span>​</span><span></span><span> +</span><span></span><span>​</span>う</div> + +<div id=ref>あ い<br>う</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-012.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-012.html new file mode 100644 index 00000000000..aabc8d6861e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-012.html @@ -0,0 +1,37 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-expansion and forced line breaks (inline blocks)</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-012-ref.html"> +<meta name="assert" content="must not replace instances of U+200B immediately preceding or following a forced line break (inline block boundaries)"> +<style> +div { + font-size: 2em; + border: solid blue; + float: left; + margin: 1px; +} +.test { + word-boundary-expansion: ideographic-space; +} +a { display: inline-block; } +.mbp span { + padding: 0 5px; + border: solid transparent; + border-width: 0 5px; + margin: 0 -10px; +} +</style> + +<p>Test passes if the all boxes below are identical. + +<div class=test>あ<a><wbr>い<wbr>う<wbr></a>え</div> +<div class=test>あ<a><span></span><span><wbr></span>い<wbr>う<span><wbr></span><span></span></a>え</div> +<div class="test mbp">あ<a><span></span><span><wbr></span>い<wbr>う<span><wbr></span><span></span></a>え</div> + +<div class=test>あ<a>​い​う​</a>え</div> +<div class=test>あ<a><span></span><span>​</span>い​う<span>​</span><span></span></a>え</div> +<div class="test mbp">あ<a><span></span><span>​</span>い​う<span>​</span><span></span></a>え</div> + +<div id=ref>あい うえ</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-013.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-013.html new file mode 100644 index 00000000000..f0d96417987 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-013.html @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-expansion and keep-all</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-break-property"> +<link rel="match" href="reference/word-boundary-013-ref.html"> +<meta name="assert" content="ideographic spaces inserted by word-boundary-expansion provide soft wrapping opportunities, even with keep-all"> +<style> +div { + font-size: 2em; + width: 7em; + border: solid blue; + margin: 1em; +} +#test { + word-boundary-expansion: ideographic-space; + word-break: keep-all; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div id=test>ああ<wbr>いい<wbr>うう</div> +<div id=ref>ああ いい <br>うう</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-014.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-014.html new file mode 100644 index 00000000000..f4400647985 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-014.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-expansion and keep-all</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-break-property"> +<link rel="match" href="reference/word-boundary-014-ref.html"> +<meta name="assert" content="spaces inserted by word-boundary-expansion provide soft wrapping opportunities, even with keep-all"> +<style> +div { + font-size: 2em; + width: 7ch; + font-family: monospace; + border: solid blue; + margin: 1em; +} +#test { + word-boundary-expansion: space; + word-break: keep-all; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div id=test>aa<wbr>bb<wbr>cc</div> +<div id=ref>aa bb <br>cc</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-015-manual.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-015-manual.html new file mode 100644 index 00000000000..8b7c6d98eeb --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-015-manual.html @@ -0,0 +1,36 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-expansion copy-pasting</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<meta name="assert" content="word-boundary-expansion does not affect copy and paste"> +<style> +div, textarea { + font-size: 2em; + margin: 1em; + font-family: monospace; + resize: none; + overflow: hidden; + height: 2em; + width: 20ch; + padding: 0px; +} +#test { + border: solid blue; + word-boundary-expansion: space; +} +#ref { + border: solid orange; +} +textarea { + border: solid pink; +} + +</style> + +<p>Copy the text from the blue box, and paste it into the pink one. +The test passes if the pink and orange boxes are identical. + +<div id=test>no<wbr>space​here</div> +<textarea spellcheck="false"></textarea> +<div id=ref>nospacehere</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-101.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-101.html new file mode 100644 index 00000000000..40a66a4271a --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-101.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:manual </title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="match" href="reference/word-boundary-101-ref.html"> +<meta name="assert" content="word-boundary-detection:manual turns off detection of word boundaries in south east asian scripts"> +<style> +#wrap, #ref { + font-size: 2em; + border: solid blue; + margin: 5px; + width: 30ch; +} +#test { + width: 0; + word-boundary-detection: manual; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div id=wrap lang=th> + <div id=test>กรุงเทพคือสวยงาม</div> +</div> +<div id=ref lang=th>กรุงเทพคือสวยงาม</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-102.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-102.html new file mode 100644 index 00000000000..e3f9828f320 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-102.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:normal</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="mismatch" href="reference/word-boundary-102-ref.html"> +<meta name="assert" content="word-boundary-detection:normal turns on detection of word boundaries in south east asian scripts. Preferably in a smart, word-by-word basis, but if the UA doesn't support that, on a per character basis. Eitherway, lines should wrap"> +<style> +#wrap, #ref { + font-size: 2em; + border: solid orange; + margin: 5px; + width: 30ch; +} +#test { + width: 0; + word-boundary-detection: normal; +} +</style> + +<p>Test passes if the two boxes below are <em>different</em>. + +<div id=wrap lang=th> + <div id=test>กรุงเทพคือสวยงาม</div> +</div> +<div id=ref lang=th>กรุงเทพคือสวยงาม</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-103.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-103.html new file mode 100644 index 00000000000..114c6f1367c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-103.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:normal mistagged</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="mismatch" href="reference/word-boundary-103-ref.html"> +<meta name="assert" content="word-boundary-detection:normal turns on detection of word boundaries in south east asian scripts, even if the language tagging is incorrect"> +<style> +#wrap, #ref { + font-size: 2em; + border: solid orange; + margin: 5px; + width: 30ch; +} +#test { + width: 0; + word-boundary-detection: normal; +} +</style> + +<p>Test passes if the two boxes below are <em>different</em>. + +<div id=wrap lang=de> + <div id=test>กรุงเทพคือสวยงาม</div> +</div> +<div id=ref lang=de>กรุงเทพคือสวยงาม</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-104.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-104.html new file mode 100644 index 00000000000..a7a2f38fda1 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-104.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:normal untagged</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="mismatch" href="reference/word-boundary-104-ref.html"> +<meta name="assert" content="word-boundary-detection:normal turns on detection of word boundaries in south east asian scripts, even if the language tagging is missing"> +<style> +#wrap, #ref { + font-size: 2em; + border: solid orange; + margin: 5px; + width: 30ch; +} +#test { + width: 0; + word-boundary-detection: normal; +} +</style> + +<p>Test passes if the two boxes below are <em>different</em>. + +<div id=wrap> + <div id=test>กรุงเทพคือสวยงาม</div> +</div> +<div id=ref>กรุงเทพคือสวยงาม</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-105.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-105.html new file mode 100644 index 00000000000..fa991221e52 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-105.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto(th) mistagged</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="mismatch" href="reference/word-boundary-105-ref.html"> +<meta name="assert" content="word-boundary-detection:auto(th), if supported, does the same as normal (insert soft wraps for south east asian) on content tagged as the wrong language."> +<style> +#wrap, #ref { + font-size: 2em; + border: solid orange; + margin: 5px; + width: 30ch; +} +@supports (word-boundary-detection: auto(th)) { + #test { + word-boundary-detection: manual; + } +} +#test { + width: 0; + word-boundary-detection: auto(th); +} +</style> + +<p>Test passes if the two boxes below are <em>different</em>. + +<div id=wrap lang=ja> + <div id=test>กรุงเทพคือสวยงาม</div> +</div> +<div id=ref lang=ja>กรุงเทพคือสวยงาม</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-106.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-106.html new file mode 100644 index 00000000000..a968af77672 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-106.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto(th) untagged</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="match" href="reference/word-boundary-106-ref.html"> +<meta name="assert" content="word-boundary-detection:auto(th), if supported, does the same as normal (insert soft wraps for south east asian) on content not language tagged."> +<style> +#wrap, #ref { + font-size: 2em; + border: solid blue; + margin: 5px; + width: 30ch; +} +@supports (word-boundary-detection: auto(th)) { + #test { + word-boundary-detection: manual; + } +} +#test { + width: 0; + word-boundary-detection: auto(th); +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div id=wrap> + <div id=test>กรุงเทพคือสวยงาม</div> +</div> +<div id=ref>กรุงเทพคือสวยงาม</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-107.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-107.html new file mode 100644 index 00000000000..591c1afb8d4 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-107.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto(ja) mistagged</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="match" href="reference/word-boundary-107-ref.html"> +<meta name="assert" content="word-boundary-detection:auto(ja), if supported, does not affect (i.e. same as normal) content tagged as something other than Japanese"> +<style> +#wrap, #ref { + font-size: 2em; + border: solid blue; + margin: 5px; + width: 30ch; +} +#test { + width: 0; + word-boundary-detection: auto(ja); + word-break: keep-all; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div id=wrap lang=zh> + <div id=test>東京へ行きましょう。</div> +</div> +<div id=ref lang=zh>東京へ行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-108.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-108.html new file mode 100644 index 00000000000..c23a6fe2b2b --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-108.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto(ja) untagged</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="match" href="reference/word-boundary-108-ref.html"> +<meta name="assert" content="word-boundary-detection:auto(ja), if supported, does not affect (i.e. same as normal) on content not language tagged."> +<style> +#wrap, #ref { + font-size: 2em; + border: solid blue; + margin: 5px; + width: 30ch; +} +#test { + width: 0; + word-boundary-detection: auto(ja); + word-break: keep-all; +} +</style> + +<p>Test passes if the two boxes below are identical. + +<div id=wrap> + <div id=test>東京へ行きましょう。</div> +</div> +<div id=ref>東京へ行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-109.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-109.html new file mode 100644 index 00000000000..c5694cc153f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-109.html @@ -0,0 +1,46 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto(ja) and line breaking</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="match" href="reference/word-boundary-109-a-ref.html"> +<link rel="match" href="reference/word-boundary-109-b-ref.html"> +<meta name="assert" content="word-boundary-detection:auto(ja) inserts virtual word boundaries at reasonable points, creating soft wrapping opportunities"> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +.wrap { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; + word-break: keep-all; +} +.wrap > div { + width: 0; +} +#test { + word-boundary-detection: auto(ja); +} +#ref1 { + border-color: blue; +} +#ref2 { + border-color: orange; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the black box is identical to either the blue or orange one. + +<div id=ref1 class=wrap> + <div lang=ja>東京へ<wbr>行きましょう。</div> +</div> +<div class=wrap> + <div id=test lang=ja>東京へ行きましょう。</div> +</div> +<div id=ref2 class=wrap> + <div lang=ja>東京<wbr>へ<wbr>行きましょう。</div> +</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-110.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-110.html new file mode 100644 index 00000000000..bdfedf19e61 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-110.html @@ -0,0 +1,38 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto(ja) and expansion</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-110-a-ref.html"> +<link rel="match" href="reference/word-boundary-110-b-ref.html"> +<meta name="assert" content="word-boundary-detection:auto(ja) inserts virtual word boundaries at reasonable points, which can then be expanded into ideographic spaces"> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: auto(ja); + word-boundary-expansion: ideographic-space; +} +#ref1 { + border-color: blue; +} +#ref2 { + border-color: orange; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the black box is identical to either the blue or orange one. + +<div id=ref1 lang=ja>東京へ 行きましょう。</div> +<div id=test lang=ja>東京へ行きましょう。</div> +<div id=ref2 lang=ja>東京 へ 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-111.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-111.html new file mode 100644 index 00000000000..d2d3df27085 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-111.html @@ -0,0 +1,38 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto(th) and line breaking</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="match" href="reference/word-boundary-111-ref.html"> +<meta name="assert" content="word-boundary-detection:auto(th) inserts virtual word boundaries at reasonable points, creating soft wrapping opportunities"> +<style> +.wrap { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +.wrap > div { + width: 0; +} +#test { + word-boundary-detection: auto(th); +} +#ref { + border-color: blue; +} +</style> + +<!-- +This test should pass even in UAs that don't support word-boundary-detection:auto(th) +since allowing south-east-asian languages to wrap is the default behavior. +--> + +<p>Test passes if the black box is identical to either the blue one. + +<div class=wrap> + <div id=test lang=th>กรุงเทพคือสวยงาม</div> +</div> +<div id=ref class=wrap> + <div lang=th>กรุงเทพ<wbr>คือ<wbr>สวยงาม</div> +</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-112.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-112.html new file mode 100644 index 00000000000..73c2763d836 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-112.html @@ -0,0 +1,33 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto(th) and expansion</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-112-ref.html"> +<meta name="assert" content="word-boundary-detection:auto(th) inserts virtual word boundaries at reasonable points, which can then be expanded into spaces"> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: auto(th); + word-boundary-expansion: space; +} +#ref { + border-color: blue; +} +</style> +<!-- + +This test should pass even in UAs that don't support word-boundary-detection:auto(th) +since inserting virtual word boundaries is the default for south-east-asian languages. +--> + +<p>Test passes if the black box is identical to the blue one. + +<div id=test lang=th>กรุงเทพคือสวยงาม</div> +<div id=ref lang=th>กรุงเทพ คือ สวยงาม</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-113.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-113.html new file mode 100644 index 00000000000..f5e0cdf046d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-113.html @@ -0,0 +1,36 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto(th) outermost placement</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-113-ref.html"> +<meta name="assert" content="If a word boundary is found at the same position as one or more inline box boundaries, the virtual word boundary must be inserted in the outermost element that participates in this inline box boundary."> +<style> +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: auto(th); + word-boundary-expansion: space; +} +#ref { + border-color: blue; +} +u { background: silver; } +b { background: green; } +em { background: gray; } +</style> +<!-- + +This test should pass even in UAs that don't support word-boundary-detection:auto(th) +since inserting virtual word boundaries is the default for south-east-asian languages. +--> + +<p>Test passes if the black box is identical to the blue one. + +<div id=test lang=th>กรุงเทพ<b><u>คือ</u><em>สวยง</em></b>าม</div> +<div id=ref lang=th>กรุงเทพ <b><u>คือ</u> <em>สวยง</em></b>าม</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-114.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-114.html new file mode 100644 index 00000000000..b18e1e53caf --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-114.html @@ -0,0 +1,41 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto(ja) and outermost placement</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-114-a-ref.html"> +<link rel="match" href="reference/word-boundary-114-b-ref.html"> +<meta name="assert" content="If a word boundary is found at the same position as one or more inline box boundaries, the virtual word boundary must be inserted in the outermost element that participates in this inline box boundary."> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: auto(ja); + word-boundary-expansion: ideographic-space; +} +#ref1 { + border-color: blue; +} +#ref2 { + border-color: orange; +} +u { background: silver; } +b { background: green; } +em { background: gray; } +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the black box is identical to either the blue or orange one. + +<div id=ref1 lang=ja>東京<b><u>へ</u> <em>行きましょ</em></b>う。</div> +<div id=test lang=ja>東京<b><u>へ</u><em>行きましょ</em></b>う。</div> +<div id=ref2 lang=ja>東京 <b><u>へ</u> <em>行きましょ</em></b>う。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-115.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-115.html new file mode 100644 index 00000000000..b1266c53dbd --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-115.html @@ -0,0 +1,33 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto() forbidden</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-115-ref.html"> +<meta name="assert" content="The UA must not insert a virtual word boundary at the beginning or end of any box whose parent box has a used value of manual."> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: manual; +} +#test span { + word-boundary-detection: auto(ja); + word-boundary-expansion: ideographic-space; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京<span>へ</span>行きましょう。</div> +<div id=ref lang=ja>東京へ行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-116.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-116.html new file mode 100644 index 00000000000..4b152173b7c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-116.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto() forbidden</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-116-ref.html"> +<meta name="assert" content="The UA must not insert a virtual word boundary immediately adjacent to a word-separator character"> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: auto(ja); + word-boundary-expansion: ideographic-space; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京 へ 行きましょう。</div> +<div id=ref lang=ja>東京 へ 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-117.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-117.html new file mode 100644 index 00000000000..558b6a981f0 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-117.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto() forbidden</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-117-ref.html"> +<meta name="assert" content="The UA must not insert a virtual word boundary immediately adjacent to an other space separator."> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: auto(ja); + word-boundary-expansion: ideographic-space; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京 へ 行きましょう。</div> +<div id=ref lang=ja>東京 へ 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-118.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-118.html new file mode 100644 index 00000000000..e20bc354105 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-118.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto() forbidden</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-117-ref.html"> +<meta name="assert" content="The UA must not insert a virtual word boundary immediately adjacent to ZERO WIDTH SPACE (U+200B) character."> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: auto(ja); + word-boundary-expansion: ideographic-space; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京​へ​行きましょう。</div> +<div id=ref lang=ja>東京 へ 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-119.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-119.html new file mode 100644 index 00000000000..fb3aaebc92a --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-119.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto() forbidden</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-119-ref.html"> +<meta name="assert" content="The UA must not insert a virtual word boundary between a typographic letter unit and an adjacent typographic character unit from the [UAX14] GL line breaking class"> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: auto(ja); + word-boundary-expansion: ideographic-space; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京 へ 行きましょう。</div> +<div id=ref lang=ja>東京 へ 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-120.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-120.html new file mode 100644 index 00000000000..8f2bff5b229 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-120.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto() forbidden</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-120-ref.html"> +<meta name="assert" content="The UA must not insert a virtual word boundary between a typographic letter unit and an adjacent typographic character unit from the [UAX14] WJ line breaking class"> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: auto(ja); + word-boundary-expansion: ideographic-space; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京⁠へ⁠行きましょう。</div> +<div id=ref lang=ja>東京⁠へ⁠行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-121.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-121.html new file mode 100644 index 00000000000..667e1e068e2 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-121.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto() forbidden</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-121-ref.html"> +<meta name="assert" content="The UA must not insert a virtual word boundary between a typographic letter unit and an adjacent typographic character unit from the [UAX14] ZWJ line breaking class"> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: auto(ja); + word-boundary-expansion: ideographic-space; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京‍へ‍行きましょう。</div> +<div id=ref lang=ja>東京‍へ‍行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-122.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-122.html new file mode 100644 index 00000000000..a9d3a999307 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-122.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto() forbidden</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-122-ref.html"> +<meta name="assert" content="The UA must not insert a virtual word boundary between a typographic letter unit and a subsequent typographic character unit from the [UAX14] CL line breaking class"> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: auto(ja); + word-boundary-expansion: ideographic-space; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京} へ} 行きましょう。</div> +<div id=ref lang=ja>東京} へ} 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-123.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-123.html new file mode 100644 index 00000000000..bcf1f0245e8 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-123.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto() forbidden</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-123-ref.html"> +<meta name="assert" content="The UA must not insert a virtual word boundary between a typographic letter unit and a subsequent typographic character unit from the [UAX14] CP line breaking class"> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: auto(ja); + word-boundary-expansion: ideographic-space; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京) へ) 行きましょう。</div> +<div id=ref lang=ja>東京) へ) 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-124.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-124.html new file mode 100644 index 00000000000..a4a4902ba29 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-124.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto() forbidden</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-124-ref.html"> +<meta name="assert" content="The UA must not insert a virtual word boundary between a typographic letter unit and a subsequent typographic character unit from the [UAX14] IS line breaking class"> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: auto(ja); + word-boundary-expansion: ideographic-space; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京. へ. 行きましょう。</div> +<div id=ref lang=ja>東京. へ. 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-125.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-125.html new file mode 100644 index 00000000000..a04ec4f075c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-125.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto() forbidden</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-125-ref.html"> +<meta name="assert" content="The UA must not insert a virtual word boundary between a typographic letter unit and a subsequent typographic character unit from the [UAX14] EX line breaking class"> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: auto(ja); + word-boundary-expansion: ideographic-space; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京! へ! 行きましょう。</div> +<div id=ref lang=ja>東京! へ! 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-126.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-126.html new file mode 100644 index 00000000000..e4a5c6b0fb4 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-126.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto() forbidden</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-126-ref.html"> +<meta name="assert" content="The UA must not insert a virtual word boundary between a typographic letter unit and a preceeding typographic character unit from the [UAX14] OP line breaking class"> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: auto(ja); + word-boundary-expansion: ideographic-space; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京 (へ (行きましょう。</div> +<div id=ref lang=ja>東京 (へ (行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-127.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-127.html new file mode 100644 index 00000000000..21f00e664b7 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-127.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto() forbidden</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-127-ref.html"> +<meta name=flags content=should> +<meta name="assert" content="The UA should not insert a virtual word boundary between a typographic letter unit and a subsequent typographic character unit from the [UAX14] PO line breaking class"> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +#test { + word-boundary-detection: auto(ja); + word-boundary-expansion: ideographic-space; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京% へ% 行きましょう。</div> +<div id=ref lang=ja>東京% へ% 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-128.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-128.html new file mode 100644 index 00000000000..cb2d1ee4e78 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-128.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto() forbidden</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-128-ref.html"> +<meta name=flags content=should> +<meta name="assert" content="The UA should not insert a virtual word boundary between a typographic letter unit and a subsequent typographic character unit from the [UAX14] NS line breaking class"> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京‼ へ‼ 行きましょう。</div> +<div id=ref lang=ja>東京‼ へ‼ 行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-129.html b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-129.html new file mode 100644 index 00000000000..6e137177029 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/word-boundary/word-boundary-129.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text level 4 Test: word-boundary-detection:auto() forbidden</title> +<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection"> +<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion"> +<link rel="match" href="reference/word-boundary-129-ref.html"> +<meta name=flags content=should> +<meta name="assert" content="The UA should not insert a virtual word boundary between a typographic letter unit and a preceeding typographic character unit from the [UAX14] PR line breaking class"> +<style> +@supports (word-boundary-detection:auto(ja)) { + .warn { display:none; } +} +div { + font-size: 2em; + border: solid black; + margin: 5px; + width: 30ch; +} +</style> + +<p class=warn><strong>This test is not relevant, because this UA does not support <code>word-boundary-detection:auto(ja)</code>.</strong> + +<p>Test passes if the two boxes below are identical. + +<div id=test lang=ja>東京 $へ $行きましょう。</div> +<div id=ref lang=ja>東京 $へ $行きましょう。</div> diff --git a/tests/wpt/web-platform-tests/css/css-transforms/external-styles/support/svg-external-styles.css b/tests/wpt/web-platform-tests/css/css-transforms/external-styles/support/svg-external-styles.css index 22978f89b04..ad60fd81174 100644 --- a/tests/wpt/web-platform-tests/css/css-transforms/external-styles/support/svg-external-styles.css +++ b/tests/wpt/web-platform-tests/css/css-transforms/external-styles/support/svg-external-styles.css @@ -2,10 +2,6 @@ transform: rotate(90deg); } -.rotate-3-args { - transform: rotate(90deg,20px,20px); -} - .translateY { transform: translateY(-100px); } @@ -13,7 +9,3 @@ .invalid { transform: scale(invalid); } - -.rotate-3-args { - transform: rotate(90deg,20px,20px); -}
\ No newline at end of file diff --git a/tests/wpt/web-platform-tests/css/css-transforms/external-styles/svg-external-styles-012.html b/tests/wpt/web-platform-tests/css/css-transforms/external-styles/svg-external-styles-012.html deleted file mode 100644 index 575693dc58b..00000000000 --- a/tests/wpt/web-platform-tests/css/css-transforms/external-styles/svg-external-styles-012.html +++ /dev/null @@ -1,34 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <title>CSS Transforms Test: External style of rotate with three arguments on SVG element with presentation attribute style on the same element</title> - <link rel="author" title="David Alcala" href="mailto:dalcala@adobe.com"> - <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#svg-transform"> - <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-attribute-specificity"> - <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#svg-transform-functions"> - <link rel="match" href="reference/svg-external-styles-ref.html"> - <link rel="stylesheet" href="support/svg-external-styles.css"> - <meta name="flags" content="svg"> - <meta name="assert" content="Rotate with three arguments external style on SVG elements should override presentation attribute styles on the same element. The rect in the test should be rotated by 90 degrees clockwise after the transform origin is translated by 20 pixels in both the vertical and horizontal directions and not scaled."> - <style type="text/css"> - svg { - height: 300px; - width: 300px; - } - </style> -</head> -<body> - <p>The test passes if there is a vertical green stripe to the left of a yellow vertical stripe. You should see no red.</p> - <svg> - <!-- Fill with Gradient to avoid false positive. --> - <defs> - <linearGradient id="grad" x2="0%" y2="100%"> - <stop offset="50%" stop-color="yellow"/> - <stop offset="50%" stop-color="green"/> - </linearGradient> - </defs> - <rect x="1" y="1" width="98" height="98" fill="red"/> - <rect class="rotate-3-args" y="-60" width="100" height="100" fill="url(#grad)" transform="scale(0.5)"/> - </svg> -</body> -</html> diff --git a/tests/wpt/web-platform-tests/html/syntax/parsing/html_content_in_foreign_context.html b/tests/wpt/web-platform-tests/html/syntax/parsing/html_content_in_foreign_context.html new file mode 100644 index 00000000000..611b71d0e6a --- /dev/null +++ b/tests/wpt/web-platform-tests/html/syntax/parsing/html_content_in_foreign_context.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<title>Foreign contexts with HTML tag children</title> +<link rel="author" title="Mason Freed" href="mailto:masonfreed@chromium.org"> +<link rel="help" href="https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inbody"> +<link rel="help" href="https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inforeign"> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> + +<script> +test(function() { + const contexts = ["svg", "math"]; + const elements = ["/p", "/br", "b", "big", "blockquote", "br", "center", "code", "dd", "div", "dl", "dt", "em", "embed", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "i", "img", "li", "listing", "menu", "meta", "nobr", "ol", "p", "pre", "ruby", "s", "small", "span", "strong", "strike", "sub", "sup", "table", "tt", "u", "ul", "var"]; + contexts.forEach(c => { + elements.forEach(e => { + const wrapper = document.createElement('div'); + const html = `<${c}><${e}></${c}` + wrapper.innerHTML = html; + assert_false(wrapper.innerHTML == html, "The inner HTML should get mutated"); + + const tagname = e[0]=='/' ? e.substr(1) : e; + const element = wrapper.getElementsByTagName(tagname)[0]; + assert_true(element !== undefined,`Unable to locate the ${e} node in ${c}`) + const parent = element.parentNode + assert_true(element.parentNode === wrapper,`The ${e} tag did not exit the ${c}`) + }); + }); +}, "HTML namespace nodes should exit foreign contexts"); + +</script> |