Diff
Modified: trunk/LayoutTests/ChangeLog (246103 => 246104)
--- trunk/LayoutTests/ChangeLog 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/ChangeLog 2019-06-05 13:22:53 UTC (rev 246104)
@@ -1,3 +1,16 @@
+2019-06-05 Javier Fernandez <[email protected]>
+
+ Update the CSS Text WPT test suite
+ https://bugs.webkit.org/show_bug.cgi?id=197929
+
+ Reviewed by Myles C. Maxfield.
+
+ Import the last changes in the CSS Text suite.
+
+ * TestExpectations: A few tests pass now
+ - white-space-intrinsic-size-004.html
+ - white-space-pre-wrap-trailing-spaces-003.html
+
2019-06-01 Antoine Quint <[email protected]>
[Pointer Events] Add support for chorded button interactions
Modified: trunk/LayoutTests/TestExpectations (246103 => 246104)
--- trunk/LayoutTests/TestExpectations 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/TestExpectations 2019-06-05 13:22:53 UTC (rev 246104)
@@ -1931,7 +1931,6 @@
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/text-transform/text-transform-shaping-001.html [ ImageOnlyFailure ]
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/white-space/trailing-space-before-br-001.html [ Failure ]
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/white-space/trailing-ideographic-space-001.html [ ImageOnlyFailure ]
-webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004.html [ ImageOnlyFailure ]
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/white-space/text-space-collapse-discard-001.xht [ ImageOnlyFailure ]
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/white-space/tab-stop-threshold-004.html [ ImageOnlyFailure ]
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/white-space/control-chars-000.html [ ImageOnlyFailure ]
@@ -1945,7 +1944,6 @@
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-014.html [ ImageOnlyFailure ]
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/white-space/text-space-trim-trim-inner-001.xht [ ImageOnlyFailure ]
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/white-space/trailing-ideographic-space-004.html [ ImageOnlyFailure ]
-webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003.html [ ImageOnlyFailure ]
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/white-space/tab-stop-threshold-006.html [ ImageOnlyFailure ]
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/white-space/text-space-collapse-preserve-breaks-001.xht [ ImageOnlyFailure ]
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/white-space/line-edge-white-space-collapse-002.html [ ImageOnlyFailure ]
@@ -1961,15 +1959,6 @@
webkit.org/b/186045 imported/w3c/web-platform-tests/css/css-animations/animation-delay-009.html [ ImageOnlyFailure Pass ]
webkit.org/b/186045 imported/w3c/web-platform-tests/css/css-animations/animation-delay-010.html [ ImageOnlyFailure ]
-# The 'line-break: anywhere' feature is not implemented yet
-webkit.org/b/181169 imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001.html [ Skip ]
-webkit.org/b/181169 imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-002.html [ Skip ]
-webkit.org/b/181169 imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-007.html [ Skip ]
-webkit.org/b/181169 imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-008.html [ Skip ]
-webkit.org/b/181169 imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-009.html [ Skip ]
-webkit.org/b/181169 imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-010.html [ Skip ]
-webkit.org/b/181169 imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-011.html [ Skip ]
-
# overflow-wrap:anywhere feature is not implemented yet.
webkit.org/b/195345 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-001.html [ Skip ]
webkit.org/b/195345 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-002.html [ Skip ]
@@ -1991,6 +1980,7 @@
webkit.org/b/197277 imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-008.html [ ImageOnlyFailure ]
webkit.org/b/197277 imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-004.html [ ImageOnlyFailure ]
webkit.org/b/197277 imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-005.html [ ImageOnlyFailure ]
+webkit.org/b/197277 imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-017.html [ ImageOnlyFailure ]
webkit.org/b/197409 imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-016.html [ ImageOnlyFailure ]
webkit.org/b/197409 imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-019.html [ ImageOnlyFailure ]
@@ -1999,6 +1989,8 @@
webkit.org/b/197411 imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-022.html [ ImageOnlyFailure ]
webkit.org/b/197430 imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-023.html [ ImageOnlyFailure ]
webkit.org/b/197430 imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html [ ImageOnlyFailure ]
+webkit.org/b/197430 imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-026.html [ ImageOnlyFailure ]
+webkit.org/b/197430 imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-027.html [ ImageOnlyFailure ]
########################################
### START OF display: contents failures
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2019-06-05 13:22:53 UTC (rev 246104)
@@ -1,3 +1,47 @@
+2019-06-05 Javier Fernandez <[email protected]>
+
+ Update the CSS Text WPT test suite
+ https://bugs.webkit.org/show_bug.cgi?id=197929
+
+ Reviewed by Myles C. Maxfield.
+
+ Import the last changes in the CSS Text suite.
+
+ * web-platform-tests/css/css-text/line-break/line-break-anywhere-001.html:
+ * web-platform-tests/css/css-text/line-break/line-break-anywhere-002.html:
+ * web-platform-tests/css/css-text/line-break/line-break-anywhere-013-expected.html: Added.
+ * web-platform-tests/css/css-text/line-break/line-break-anywhere-013.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html.
+ * web-platform-tests/css/css-text/line-break/line-break-anywhere-014-expected.html: Added.
+ * web-platform-tests/css/css-text/line-break/line-break-anywhere-014.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html.
+ * web-platform-tests/css/css-text/line-break/line-break-anywhere-015-expected.html: Added.
+ * web-platform-tests/css/css-text/line-break/line-break-anywhere-015.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html.
+ * web-platform-tests/css/css-text/line-break/line-break-anywhere-016-expected.html: Added.
+ * web-platform-tests/css/css-text/line-break/line-break-anywhere-016.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html.
+ * web-platform-tests/css/css-text/line-break/w3c-import.log:
+ * web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-008.html:
+ * web-platform-tests/css/css-text/white-space/break-spaces-009.html:
+ * web-platform-tests/css/css-text/white-space/break-spaces-010-expected.html: Added.
+ * web-platform-tests/css/css-text/white-space/break-spaces-010.html: Added.
+ * web-platform-tests/css/css-text/white-space/w3c-import.log:
+ * web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004-expected.html:
+ * web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004.html:
+ * web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-002-expected.html:
+ * web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-002.html:
+ * web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003-expected.html:
+ * web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003.html:
+ * web-platform-tests/css/css-text/word-break/w3c-import.log:
+ * web-platform-tests/css/css-text/word-break/word-break-break-all-017.html:
+ * web-platform-tests/css/css-text/word-break/word-break-break-all-023.html:
+ * web-platform-tests/css/css-text/word-break/word-break-break-all-024.html:
+ * web-platform-tests/css/css-text/word-break/word-break-break-all-025-expected.html: Added.
+ * web-platform-tests/css/css-text/word-break/word-break-break-all-025.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html.
+ * web-platform-tests/css/css-text/word-break/word-break-break-all-026-expected.html: Added.
+ * web-platform-tests/css/css-text/word-break/word-break-break-all-026.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html.
+ * web-platform-tests/css/css-text/word-break/word-break-break-all-027-expected.html: Added.
+ * web-platform-tests/css/css-text/word-break/word-break-break-all-027.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html.
+ * web-platform-tests/css/css-text/word-break/word-break-break-all-028-expected.html: Added.
+ * web-platform-tests/css/css-text/word-break/word-break-break-all-028.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html.
+
2019-06-01 Antoine Quint <[email protected]>
[Pointer Events] Add support for chorded button interactions
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001-expected.html (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001-expected.html 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001-expected.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!DOCTYPE html>
<html lang=en>
<meta charset="utf-8">
<title>CSS Text Test Reference</title>
@@ -9,7 +9,7 @@
background: green;
font-family: monospace;
width: 1ch;
- height: 20em;
+ height: 19em;
}
</style>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001.html (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001.html 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -29,5 +29,5 @@
<p>Test passes if there is a green rectangle below and no red.</p>
<div id=green></div>
-<!-- with line breaks everywhere, none of the following characters should stick out from under the green div -->
+<!-- with line breaks everywhere, none of the following characters should stick out from under the green div -->
<div id=test>aa-a.a)a,a)a aa⁠a‍a・a</div>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-002.html (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-002.html 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-002.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -22,12 +22,12 @@
color: red;
font-family: monospace;
line-break: anywhere;
- hyphens: auto;
+ -webkit-hyphens: auto;
}
</style>
<p>Test passes if there is a green rectangle below and no red.</p>
<div id=green></div>
-<!-- Hyphenation, if it occurs, will produce a hyphen that sticks out from under the green rectangle.
- Also, if the words fails to be wrapped between all letters, letters will also stick out from under the green rectangle -->
+<!-- Hyphenation, if it occurs, will produce a hyphen that sticks out from under the green rectangle.
+ Also, if the words fails to be wrapped between all letters, letters will also stick out from under the green rectangle -->
<div id=test>no hyphenation</div>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-013-expected.html (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-013-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-013-expected.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Reference File</title>
+<link rel="author" title="Florian Rivoal" href=""
+<style>
+div {
+ position: relative;
+ width: 100px;
+ height: 100px;
+ background: green;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div></div>
+</body>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-013.html (from rev 246103, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html) (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-013.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-013.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Test: word-break: break-all</title>
+<link rel="author" title="Javier Fernandez Garcia-Boente" href=""
+<link rel="help" title="5.3. Line Breaking Strictness: the line-break property" href=""
+<link rel="help" href=""
+<meta name="flags" content="">
+<link rel="match" href=""
+<meta name="assert" content="line-break:anywhere allows breaking opportunities before slash characters.">
+<style>
+div {
+ position: relative;
+ font-size: 20px;
+ font-family: Ahem;
+ line-height: 1em;
+}
+.red {
+ position: absolute;
+ width: 100px;
+ height: 100px;
+ background: green;
+ color: red;
+ z-index: -1;
+}
+.test {
+ color: green;
+ width: 3ch;
+ line-break: anywhere;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div class="red">XXX<br>XX</div>
+ <div class="test">XXX/X</div>
+</body>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-014-expected.html (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-014-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-014-expected.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Reference File</title>
+<link rel="author" title="Florian Rivoal" href=""
+<style>
+div {
+ position: relative;
+ width: 100px;
+ height: 100px;
+ background: green;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div></div>
+</body>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-014.html (from rev 246103, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html) (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-014.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-014.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Test: word-break: break-all</title>
+<link rel="author" title="Javier Fernandez Garcia-Boente" href=""
+<link rel="help" title="5.3. Line Breaking Strictness: the line-break property" href=""
+<link rel="help" href=""
+<meta name="flags" content="">
+<link rel="match" href=""
+<meta name="assert" content="line-break:anywhere allows breaking opportunities before backslash characters.">
+<style>
+div {
+ position: relative;
+ font-size: 20px;
+ font-family: Ahem;
+ line-height: 1em;
+}
+.red {
+ position: absolute;
+ width: 100px;
+ height: 100px;
+ background: green;
+ color: red;
+ z-index: -1;
+}
+.test {
+ color: green;
+ width: 3ch;
+ line-break: anywhere;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div class="red">XXX<br>XX</div>
+ <div class="test">XXX\X</div>
+</body>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-015-expected.html (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-015-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-015-expected.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Reference File</title>
+<link rel="author" title="Florian Rivoal" href=""
+<style>
+div {
+ position: relative;
+ width: 100px;
+ height: 100px;
+ background: green;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div></div>
+</body>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-015.html (from rev 246103, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html) (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-015.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-015.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Test: word-break: break-all</title>
+<link rel="author" title="Javier Fernandez Garcia-Boente" href=""
+<link rel="help" title="5.3. Line Breaking Strictness: the line-break property" href=""
+<link rel="help" href=""
+<meta name="flags" content="">
+<link rel="match" href=""
+<meta name="assert" content="line-break:anywhere allows breaking opportunities after backslash characters.">
+<style>
+div {
+ position: relative;
+ font-size: 20px;
+ font-family: Ahem;
+ line-height: 1em;
+}
+.red {
+ position: absolute;
+ width: 100px;
+ height: 100px;
+ background: green;
+ color: red;
+ z-index: -1;
+}
+.test {
+ color: green;
+ width: 4ch;
+ line-break: anywhere;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div class="red">XXXX<br>X</div>
+ <div class="test">XXX\X</div>
+</body>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-016-expected.html (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-016-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-016-expected.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Reference File</title>
+<link rel="author" title="Florian Rivoal" href=""
+<style>
+div {
+ position: relative;
+ width: 100px;
+ height: 100px;
+ background: green;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div></div>
+</body>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-016.html (from rev 246103, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html) (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-016.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-016.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Test: word-break: break-all</title>
+<link rel="author" title="Javier Fernandez Garcia-Boente" href=""
+<link rel="help" title="5.3. Line Breaking Strictness: the line-break property" href=""
+<link rel="help" href=""
+<meta name="flags" content="">
+<link rel="match" href=""
+<meta name="assert" content="line-break:anywhere allows breaking opportunities after slash characters.">
+<style>
+div {
+ position: relative;
+ font-size: 20px;
+ font-family: Ahem;
+ line-height: 1em;
+}
+.red {
+ position: absolute;
+ width: 100px;
+ height: 100px;
+ background: green;
+ color: red;
+ z-index: -1;
+}
+.test {
+ color: green;
+ width: 4ch;
+ line-break: anywhere;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div class="red">XXXX<br>X</div>
+ <div class="test">XXX/X</div>
+</body>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/w3c-import.log (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/w3c-import.log 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/w3c-import.log 2019-06-05 13:22:53 UTC (rev 246104)
@@ -18,6 +18,34 @@
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-002-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-002.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-003-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-003.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-004-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-004.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-005-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-005.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-006-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-006.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-007-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-007.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-008-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-008.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-009-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-009.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-010-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-010.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-011-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-011.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-012-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-012.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-013-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-013.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-014-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-014.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-015-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-015.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-016-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-016.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-loose-011-expected.xht
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-loose-011.xht
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-loose-012-expected.xht
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-008.html (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-008.html 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-008.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -18,7 +18,7 @@
font-size: 25px;
line-height: 1em;
}
-.red {
+.expected {
position: absolute;
color: green;
width: 100px;
@@ -36,5 +36,5 @@
</style>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
-<div class="red">XXXX<br> <br>XXXX<br></div>
+<div class="expected">XXXX<br> <br>XXXX<br></div>
<div class="test">XXXX XXXX </div>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-009.html (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-009.html 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-009.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -15,7 +15,7 @@
div {
font: 25px/1 Ahem;
}
-.red {
+.expected {
position: absolute;
color: green;
width: 100px;
@@ -32,5 +32,5 @@
</style>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
-<div class="red">XXXX<br> <br>XXXX<br></div>
+<div class="expected">XXXX<br> <br>XXXX<br></div>
<div class="test">XXXX XXXX </div>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-010-expected.html (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-010-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-010-expected.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Reference File</title>
+<link rel="author" title="Javier Fernandez" href="" />
+<style>
+div {
+ width: 100px;
+ height: 100px;
+ background: green;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div></div>
+</body>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-010.html (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-010.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-010.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Test: white-space: break-spaces</title>
+<link rel="author" title="Javier Fernandez" href="" />
+<link rel="help" title="3. White Space and Wrapping: the white-space property" href=""
+<link rel="help" href=""
+<meta name="flags" content="ahem">
+<link rel="match" href=""
+<meta name="assert" content="break-spaces only allows breaking after a white space, hence, a preserved white space may overflow.">
+<style>
+div {
+ font: 25px/1 Ahem;
+}
+.fail {
+ position: absolute;
+ color: red;
+ z-index: -1;
+}
+span { color: green; }
+.test {
+ color: green;
+ width: 4ch;
+
+ white-space: break-spaces;
+}
+</style>
+
+<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+<div class="fail">XXXX<br><span>X</span>XX<span>X<br>XXXX<br>XXXX</span></div>
+<div class="test">XXXX XX</div>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/w3c-import.log (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/w3c-import.log 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/w3c-import.log 2019-06-05 13:22:53 UTC (rev 246104)
@@ -32,6 +32,34 @@
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-008.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-009-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-009.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-010-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-010.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-001-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-001.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-002-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-002.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-003-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-003.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-004-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-004.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-005-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-005.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-006-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-006.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-007-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-007.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-008-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-008.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-009-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-009.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-010-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-010.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-011-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-011.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-012-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-012.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-013-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-before-first-char-013.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/control-chars-000-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/control-chars-000.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/control-chars-001-expected.html
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004-expected.html (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004-expected.html 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004-expected.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -3,20 +3,16 @@
<title>test reference</title>
<link rel="author" title="Florian Rivoal" href=""
<style>
-aside {
- float: left;
- background: blue;
-}
div {
color: transparent;
font-family: Ahem;
font-size: 50px;
- width: 5ch;
+ width: 3ch;
+ height: 2ch;
+ background: green;
}
</style>
-<p>Test passes if there is a single blue rectangle below.
+<p>Test passes if there is a single green rectangle below and no red.
<div>
- <aside class=own>X</aside>
- <aside class=owbw>X</aside>
</div>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004.html (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004.html 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -6,25 +6,25 @@
<link rel="help" href=""
<meta name="flags" content="">
<link rel="match" href=""
-<meta name="assert" content="Preserved spaces at the end of the line do not affect the intrinsic max-content size when white-space is pre-wrap. The value of overflow-wrap makes no difference.">
+<meta name="assert" content="Preserved spaces at the end of the line do affect the intrinsic max-content size when white-space is pre-wrap, as hanging does not prevent contributing to the max-content size. The value of overflow-wrap makes no difference.">
<style>
aside {
float: left;
white-space: pre-wrap;
- background: blue;
- margin-bottom: 1em;
+ background: green;
}
aside:last-of-type { overflow-wrap: break-word; }
div {
+ background: red;
color: transparent;
font-family: Ahem;
font-size: 50px;
- width: 3ch; /* enough room for both floats if their max-content size does not include the preserved spaces,
- but not enough if they do, causing a line break in that case. */
+ width: 3ch;
+ height: 2em;
}
</style>
-<p>Test passes if there is a single blue rectangle below.
+<p>Test passes if there is a single green rectangle below and no red.
<div>
<aside>X </aside>
<aside>X </aside>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-002-expected.html (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-002-expected.html 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-002-expected.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -3,6 +3,6 @@
<title>CSS test Reference</title>
<link rel="author" title="Florian Rivoal" href=""
-<p>This test passes if you can see the word PASS below, without any extra spaces.
+<p>This test passes if the letters below are spaced equally.
-<div>PASS</div>
+<div>X X X X</div>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-002.html (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-002.html 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-002.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -4,7 +4,7 @@
<link rel="author" title="Florian Rivoal" href=""
<link rel="help" href=""
<link rel="match" href=""
-<meta name="assert" content="Preserved white space at the end of the line is hanged when white-space is pre-wrap, and therefore does not count when computing the (maximum) intrinsic size.">
+<meta name="assert" content="Hanging preserved white space at the end of the line when white-space is pre-wrap has no effect on the max-content size.">
<style>
span {
@@ -15,6 +15,6 @@
#s2 { text-align: center; }
</style>
-<p>This test passes if you can see the word PASS below, without any extra spaces.
+<p>This test passes if the letters below are spaced equally.
-<div><span id=s1>P </span><span id=s2>A </span>SS</div>
+<div><span id=s1>X </span><span id=s2>X </span>X X</div>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003-expected.html (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003-expected.html 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003-expected.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -3,6 +3,13 @@
<title>CSS test Reference</title>
<link rel="author" title="Florian Rivoal" href=""
-<p>This test passes if you can see the word PASS below, without any extra spaces.
+<style>
+div {
+ font: 25px/1 Ahem;
+ color: green;
+}
+</style>
-<div>PASS</div>
+<p>This test passes if there is a green rectangle and no red.
+
+<div>X<br>X<br>X<br>X</div>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003.html (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003.html 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -3,25 +3,19 @@
<title>CSS Text test: intrinsic minimum sizing of trailing spaces with white-space:pre-wrap</title>
<link rel="author" title="Florian Rivoal" href=""
<link rel="help" href=""
-<link rel="match" href=""
+<link rel="match" href=""
<meta name="assert" content="Preserved white space at the end of the line is hanged when white-space is pre-wrap, and therefore does not count when computing the (minimum) intrinsic size.">
<style>
-/* Make the table invisible */
-table { border-collapse: collapse; }
-td { padding: 0; }
-
-/* for the content of the table to be sized to their mininum intrinsic size */
-table { width: 0; }
-
-span {
- display: inline-block;
+div {
+ font: 25px/1 Ahem;
white-space: pre-wrap;
+ width: min-content;
+ color: green;
+ background: red;
}
-#s1 { text-align: right; }
-#s2 { text-align: center; }
</style>
-<p>This test passes if you can see the word PASS below, without any extra spaces.
+<p>This test passes if there is a green rectangle and no red.
-<table><td><span id=s1>P </span><td><span id=s2>A </span><td>SS</table>
+<div>X X X X</div>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/w3c-import.log (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/w3c-import.log 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/w3c-import.log 2019-06-05 13:22:53 UTC (rev 246104)
@@ -44,8 +44,32 @@
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-014.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-015-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-015.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-016-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-016.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-017-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-017.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-018-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-018.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-019-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-019.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-020-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-020.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-021-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-021.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-022-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-022.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-023-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-023.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-025-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-025.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-026-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-026.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-027-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-027.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-028-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-028.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-word-overflow-wrap-interactions-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-word-overflow-wrap-interactions.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-keep-all-000-expected.html
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-017.html (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-017.html 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-017.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -30,5 +30,5 @@
}
</style>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
-<div class="red">X<br>XX X<br>X X <br>XX X</div>
+<div class="red">X X <br>X X <br>X X <br>XX X</div>
<div class="test">X XX XX X XX X</div>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-023.html (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-023.html 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-023.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -6,7 +6,7 @@
<link rel="help" href=""
<meta name="flags" content="">
<link rel="match" href=""
-<meta name="assert" content="break-all breaks between the last two letters, because breaking opportunities between the backslashes characters are forbidden.">
+<meta name="assert" content="break-all breaks before the first backslash character because UAX14 rules forbid to break after PR class.">
<style>
div {
position: relative;
@@ -24,12 +24,12 @@
}
.test {
color: green;
- width: 8ch;
+ width: 7ch;
word-break: break-all;
}
</style>
<body>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
- <div class="red">XX XXX<br>XXXX</div>
- <div class="test">XX XXX\\\</div>
+ <div class="red">XX XX<br>XXX</div>
+ <div class="test">XX XX\\\</div>
</body>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html (246103 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -6,7 +6,7 @@
<link rel="help" href=""
<meta name="flags" content="">
<link rel="match" href=""
-<meta name="assert" content="break-all breaks between the last two letters, because breaking opportunities between the slashes characters are forbidden.">
+<meta name="assert" content="break-all breaks before the first backslash character because UAX14 rules forbid to break after PR class.">
<style>
div {
position: relative;
@@ -24,12 +24,12 @@
}
.test {
color: green;
- width: 8ch;
+ width: 4ch;
word-break: break-all;
}
</style>
<body>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
- <div class="red">XX XX<br>XXXX</div>
- <div class="test">XX XXX///</div>
+ <div class="red">XXX<br>XX</div>
+ <div class="test">XXX\X</div>
</body>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-025-expected.html (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-025-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-025-expected.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Reference File</title>
+<link rel="author" title="Florian Rivoal" href=""
+<style>
+div {
+ position: relative;
+ width: 100px;
+ height: 100px;
+ background: green;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div></div>
+</body>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-025.html (from rev 246103, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html) (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-025.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-025.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Test: word-break: break-all</title>
+<link rel="author" title="Javier Fernandez Garcia-Boente" href=""
+<link rel="help" title="5.2. Breaking Rules for Letters: the word-break property" href=""
+<link rel="help" href=""
+<meta name="flags" content="">
+<link rel="match" href=""
+<meta name="assert" content="break-all breaks before the first backslash character following UAX14 rules about PR class symbols.">
+<style>
+div {
+ position: relative;
+ font-size: 20px;
+ font-family: Ahem;
+ line-height: 1em;
+}
+.red {
+ position: absolute;
+ width: 100px;
+ height: 100px;
+ background: green;
+ color: red;
+ z-index: -1;
+}
+.test {
+ color: green;
+ width: 3ch;
+ word-break: break-all;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div class="red">XXX<br>XX</div>
+ <div class="test">XXX\X</div>
+</body>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-026-expected.html (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-026-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-026-expected.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Reference File</title>
+<link rel="author" title="Florian Rivoal" href=""
+<style>
+div {
+ position: relative;
+ width: 100px;
+ height: 100px;
+ background: green;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div></div>
+</body>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-026.html (from rev 246103, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html) (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-026.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-026.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Test: word-break: break-all</title>
+<link rel="author" title="Javier Fernandez Garcia-Boente" href=""
+<link rel="help" title="5.2. Breaking Rules for Letters: the word-break property" href=""
+<link rel="help" href=""
+<meta name="flags" content="">
+<link rel="match" href=""
+<meta name="assert" content="break-all breaks before the last letter before the slash, because UAX14 rules forbid to break before SY class symbols.">
+<style>
+div {
+ position: relative;
+ font-size: 20px;
+ font-family: Ahem;
+ line-height: 1em;
+}
+.red {
+ position: absolute;
+ width: 100px;
+ height: 100px;
+ background: green;
+ color: red;
+ z-index: -1;
+}
+.test {
+ color: green;
+ width: 8ch;
+ word-break: break-all;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div class="red">XX XX<br>XXXX</div>
+ <div class="test">XX XXX///</div>
+</body>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-027-expected.html (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-027-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-027-expected.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Reference File</title>
+<link rel="author" title="Florian Rivoal" href=""
+<style>
+div {
+ position: relative;
+ width: 100px;
+ height: 100px;
+ background: green;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div></div>
+</body>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-027.html (from rev 246103, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html) (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-027.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-027.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Test: word-break: break-all</title>
+<link rel="author" title="Javier Fernandez Garcia-Boente" href=""
+<link rel="help" title="5.2. Breaking Rules for Letters: the word-break property" href=""
+<link rel="help" href=""
+<meta name="flags" content="">
+<link rel="match" href=""
+<meta name="assert" content="break-all breaks before the last letter before the slash, because UAX14 rules forbid to break before SY class symbols.">
+<style>
+div {
+ position: relative;
+ font-size: 20px;
+ font-family: Ahem;
+ line-height: 1em;
+}
+.red {
+ position: absolute;
+ width: 100px;
+ height: 100px;
+ background: green;
+ color: red;
+ z-index: -1;
+}
+.test {
+ color: green;
+ width: 3ch;
+ word-break: break-all;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div class="red">XX<br>XXX</div>
+ <div class="test">XXX/X</div>
+</body>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-028-expected.html (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-028-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-028-expected.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Reference File</title>
+<link rel="author" title="Florian Rivoal" href=""
+<style>
+div {
+ position: relative;
+ width: 100px;
+ height: 100px;
+ background: green;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div></div>
+</body>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-028.html (from rev 246103, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html) (0 => 246104)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-028.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-028.html 2019-06-05 13:22:53 UTC (rev 246104)
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Text Test: word-break: break-all</title>
+<link rel="author" title="Javier Fernandez Garcia-Boente" href=""
+<link rel="help" title="5.2. Breaking Rules for Letters: the word-break property" href=""
+<link rel="help" href=""
+<meta name="flags" content="">
+<link rel="match" href=""
+<meta name="assert" content="break-all breaks after the slash, honoring the UAX14 rules that allow break after SY class symbols.">
+<style>
+div {
+ position: relative;
+ font-size: 20px;
+ font-family: Ahem;
+ line-height: 1em;
+}
+.red {
+ position: absolute;
+ width: 100px;
+ height: 100px;
+ background: green;
+ color: red;
+ z-index: -1;
+}
+.test {
+ color: green;
+ width: 4ch;
+ word-break: break-all;
+}
+</style>
+<body>
+ <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
+ <div class="red">XXXX<br>X</div>
+ <div class="test">XXX/X</div>
+</body>
Modified: trunk/LayoutTests/platform/ios/TestExpectations (246103 => 246104)
--- trunk/LayoutTests/platform/ios/TestExpectations 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/platform/ios/TestExpectations 2019-06-05 13:22:53 UTC (rev 246104)
@@ -3076,6 +3076,8 @@
webkit.org/b/196169 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-003.html [ ImageOnlyFailure ]
imported/w3c/web-platform-tests/css/css-text/white-space/textarea-break-spaces-001.html [ ImageOnlyFailure ]
+webkit.org/b/197970 imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-010.html [ ImageOnlyFailure ]
+webkit.org/b/198543 imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001.html [ ImageOnlyFailure ]
# unsupported
fast/dynamic/mail-autosize-viewport-unit.html [ Failure ]
Modified: trunk/LayoutTests/platform/mac/TestExpectations (246103 => 246104)
--- trunk/LayoutTests/platform/mac/TestExpectations 2019-06-05 08:41:30 UTC (rev 246103)
+++ trunk/LayoutTests/platform/mac/TestExpectations 2019-06-05 13:22:53 UTC (rev 246104)
@@ -1692,6 +1692,10 @@
webkit.org/b/183258 imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-006.html [ ImageOnlyFailure ]
webkit.org/b/196169 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-003.html [ ImageOnlyFailure ]
+webkit.org/b/197970 imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-010.html [ ImageOnlyFailure ]
+webkit.org/b/198543 imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001.html [ ImageOnlyFailure ]
+
+
# Color Well is turned off
accessibility/color-well.html [ Skip ]
fast/forms/color [ Skip ]