WebKit Bugzilla
Attachment 371337 Details for
Bug 197929
: Update the CSS Text WPT test suite
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-197929-20190604233041.patch (text/plain), 63.04 KB, created by
Javier Fernandez
on 2019-06-04 14:30:43 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Javier Fernandez
Created:
2019-06-04 14:30:43 PDT
Size:
63.04 KB
patch
obsolete
>Subversion Revision: 245344 >diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog >index 89618dad7b3887119c06efa176ee8b277d0cf15c..8fdc660fd816d5ea732dd4c595e002c4290499c5 100644 >--- a/LayoutTests/ChangeLog >+++ b/LayoutTests/ChangeLog >@@ -1,3 +1,16 @@ >+2019-05-15 Javier Fernandez <jfernandez@igalia.com> >+ >+ Update the CSS Text WPT test suite >+ https://bugs.webkit.org/show_bug.cgi?id=197929 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ 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-05-15 Shawn Roberts <sroberts@apple.com> > > Layout tests http/wpt/webauthn/public-key-credential-create-success-hid.https.html >diff --git a/LayoutTests/imported/w3c/ChangeLog b/LayoutTests/imported/w3c/ChangeLog >index 7e0e47bbd614647712d2979b98782f63f1943ecb..11f2114d1093c17e0f1b1c9615899e70977ac309 100644 >--- a/LayoutTests/imported/w3c/ChangeLog >+++ b/LayoutTests/imported/w3c/ChangeLog >@@ -1,3 +1,47 @@ >+2019-05-15 Javier Fernandez <jfernandez@igalia.com> >+ >+ Update the CSS Text WPT test suite >+ https://bugs.webkit.org/show_bug.cgi?id=197929 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ 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-05-14 Oriol Brufau <obrufau@igalia.com> > > [css-grid] Update grid when changing auto repeat type >diff --git a/LayoutTests/TestExpectations b/LayoutTests/TestExpectations >index 2a348f7ba90607c85ccefd52d5725a988951798c..2ee582a38cc61bd1f666fe515eac90f4592d2cb4 100644 >--- a/LayoutTests/TestExpectations >+++ b/LayoutTests/TestExpectations >@@ -1933,7 +1933,6 @@ webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/text-transform/ > 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 ] >@@ -1947,7 +1946,6 @@ webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/white-space/whi > 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 ] >@@ -1963,15 +1961,6 @@ webkit.org/b/186045 imported/w3c/web-platform-tests/css/css-animations/animation > 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 ] >@@ -1993,6 +1982,7 @@ webkit.org/b/195345 imported/w3c/web-platform-tests/css/css-text/white-space/bre > 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 ] >@@ -2001,6 +1991,8 @@ webkit.org/b/197411 imported/w3c/web-platform-tests/css/css-text/word-break/word > 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 >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001-expected.html >index ff74b3bce2d5ece698b404ecd30b53538c0eb420..daf17c9c0aa310ec26ea0d2510add74675f6216c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001-expected.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001-expected.html >@@ -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> > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001.html >index a031765b3245aa8b4efe303b5d4cd6019b6aa4a0..576ebc864c3d9a603b07c36fa274449810122f1a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-001.html >@@ -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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-002.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-002.html >index ddbf554730740798b119e3e34e321c094be2742f..6be0010ffba3b6fcf9a4ab54680abe494813ba0d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-002.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-002.html >@@ -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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-013-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-013-expected.html >new file mode 100644 >index 0000000000000000000000000000000000000000..0e0300a72dc920a5ffb54cda6fbe84a2f517d010 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-013-expected.html >@@ -0,0 +1,16 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Text Reference File</title> >+<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-013.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-013.html >new file mode 100644 >index 0000000000000000000000000000000000000000..6b0a1bde2110bd50225387af6b16099c023c8d7f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-013.html >@@ -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="mailto:jfernandez@igalia.com"> >+<link rel="help" title="5.3. Line Breaking Strictness: the line-break property" href="https://www.w3.org/TR/css-text-3/#propdef-line-break"> >+<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-line-break-anywhere"> >+<meta name="flags" content=""> >+<link rel="match" href="reference/line-break-anywhere-004-ref.html"> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-014-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-014-expected.html >new file mode 100644 >index 0000000000000000000000000000000000000000..0e0300a72dc920a5ffb54cda6fbe84a2f517d010 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-014-expected.html >@@ -0,0 +1,16 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Text Reference File</title> >+<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-014.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-014.html >new file mode 100644 >index 0000000000000000000000000000000000000000..bfe72e6aeaab46e37f50751a64fc732112bf9835 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-014.html >@@ -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="mailto:jfernandez@igalia.com"> >+<link rel="help" title="5.3. Line Breaking Strictness: the line-break property" href="https://www.w3.org/TR/css-text-3/#propdef-line-break"> >+<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-line-break-anywhere"> >+<meta name="flags" content=""> >+<link rel="match" href="reference/line-break-anywhere-004-ref.html"> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-015-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-015-expected.html >new file mode 100644 >index 0000000000000000000000000000000000000000..0e0300a72dc920a5ffb54cda6fbe84a2f517d010 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-015-expected.html >@@ -0,0 +1,16 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Text Reference File</title> >+<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-015.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-015.html >new file mode 100644 >index 0000000000000000000000000000000000000000..9fe998d8ae8eabd1d235f237af9509d580c3c90f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-015.html >@@ -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="mailto:jfernandez@igalia.com"> >+<link rel="help" title="5.3. Line Breaking Strictness: the line-break property" href="https://www.w3.org/TR/css-text-3/#propdef-line-break"> >+<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-line-break-anywhere"> >+<meta name="flags" content=""> >+<link rel="match" href="reference/line-break-anywhere-004-ref.html"> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-016-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-016-expected.html >new file mode 100644 >index 0000000000000000000000000000000000000000..0e0300a72dc920a5ffb54cda6fbe84a2f517d010 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-016-expected.html >@@ -0,0 +1,16 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Text Reference File</title> >+<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-016.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-016.html >new file mode 100644 >index 0000000000000000000000000000000000000000..923a6c318226a6bdd0feddd5f643823e2bcd6398 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/line-break-anywhere-016.html >@@ -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="mailto:jfernandez@igalia.com"> >+<link rel="help" title="5.3. Line Breaking Strictness: the line-break property" href="https://www.w3.org/TR/css-text-3/#propdef-line-break"> >+<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-line-break-anywhere"> >+<meta name="flags" content=""> >+<link rel="match" href="reference/line-break-anywhere-004-ref.html"> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/w3c-import.log b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/w3c-import.log >index 624b8b821495f70a7dc1ecb2ff50a3b248d6121b..11610c4af86b02f2a1ceba3b0c6d3cf022519beb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/w3c-import.log >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/line-break/w3c-import.log >@@ -18,6 +18,34 @@ List of files: > /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 >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-008.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-008.html >index 9a3a95ba382e770eb6506102a64771caaf4f00af..d3c0f491ee78df226585f0f2b3f2043752faeafd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-008.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-008.html >@@ -18,7 +18,7 @@ div { > font-size: 25px; > line-height: 1em; > } >-.red { >+.expected { > position: absolute; > color: green; > width: 100px; >@@ -36,5 +36,5 @@ div { > </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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-009.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-009.html >index 36aa9dafd6e588c292f598179465233be653ab54..128aeaf5ed151807092b083ed765082f0482c8e0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-009.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-009.html >@@ -15,7 +15,7 @@ if there are no other wrapping opportunities earlier in the line"> > div { > font: 25px/1 Ahem; > } >-.red { >+.expected { > position: absolute; > color: green; > width: 100px; >@@ -32,5 +32,5 @@ div { > </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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-010-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-010-expected.html >new file mode 100644 >index 0000000000000000000000000000000000000000..dece5f7394470d5bbc393c4318fa412ea25f9b4e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-010-expected.html >@@ -0,0 +1,15 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Text Reference File</title> >+<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" /> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-010.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-010.html >new file mode 100644 >index 0000000000000000000000000000000000000000..ec7904f5046376a1a654cc6f76763a49ba10b351 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-010.html >@@ -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="mailto:jfernandez@igalia.com" /> >+<link rel="help" title="3. White Space and Wrapping: the white-space property" href="https://drafts.csswg.org/css-text-3/#white-space-property"> >+<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-white-space-break-spaces"> >+<meta name="flags" content="ahem"> >+<link rel="match" href="reference/white-space-break-spaces-005-ref.html"> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/w3c-import.log b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/w3c-import.log >index 8d297271228e8fa505613193ae0c36030627e874..94c54771e4eacb13da8c410b3b47e860dab3a7f2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/w3c-import.log >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/w3c-import.log >@@ -32,6 +32,34 @@ List of files: > /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 >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004-expected.html >index 34757067b15b6a30e8273a93df7f68a7cfb4a686..490d61be712d2878ab76bf40ca025e5334e50d7c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004-expected.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004-expected.html >@@ -3,20 +3,16 @@ > <title>test reference</title> > <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/"> > <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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004.html >index 510a5c5d14188e9dc042ee061f6cb91bb169b73c..42b94a72a5ce6e70ad6b888603efcd8466bb8a95 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004.html >@@ -6,25 +6,25 @@ > <link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2"> > <meta name="flags" content=""> > <link rel="match" href="reference/white-space-intrinsic-size-004-ref.html"> >-<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-002-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-002-expected.html >index 53cb2a083b0825a749d178d5093c1a105958143d..5f94d076e840080f8cc855e013039ef16f1d993c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-002-expected.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-002-expected.html >@@ -3,6 +3,6 @@ > <title>CSS test Reference</title> > <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/"> > >-<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-002.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-002.html >index d8e7c8278a917c00bc99a60511137b52a935f215..76ca5ef77dbb5ab32c9da92c7a2c4f181a1f98ff 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-002.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-002.html >@@ -4,7 +4,7 @@ > <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/"> > <link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2"> > <link rel="match" href="reference/white-space-pre-wrap-trailing-spaces-002-ref.html"> >-<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 @@ span { > #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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003-expected.html >index 53cb2a083b0825a749d178d5093c1a105958143d..736a2d5607b92e47fd2e927892a2b6d4cc6f2a9e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003-expected.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003-expected.html >@@ -3,6 +3,13 @@ > <title>CSS test Reference</title> > <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/"> > >-<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003.html >index 6b21df62c5cbdfa2cce9e52d91c7a792d94354e8..4b6df8e93e009933090e29c98149971a2ccc52eb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-003.html >@@ -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="https://florian.rivoal.net/"> > <link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2"> >-<link rel="match" href="reference/white-space-pre-wrap-trailing-spaces-002-ref.html"> >+<link rel="match" href="reference/white-space-pre-wrap-trailing-spaces-003-ref.html"> > <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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/w3c-import.log b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/w3c-import.log >index cd6fa2bd43e2a31fc185311de88b42766eec4588..7b617e78b9eb621e42d7e1b835c39872749d14aa 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/w3c-import.log >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/w3c-import.log >@@ -44,8 +44,32 @@ List of files: > /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 >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-017.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-017.html >index 6cf3be6b90f8a7bf617aa46472d0d291031d9e55..88d7c6d0d595baf20d2eded02ba28178320989fc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-017.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-017.html >@@ -30,5 +30,5 @@ div { > } > </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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-023.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-023.html >index 7ade96eda212a487f0951d7536431bd8237326d3..3e9791f81138ba60d7ef9eaeda8c3beba9c76595 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-023.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-023.html >@@ -6,7 +6,7 @@ > <link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-word-break-break-all"> > <meta name="flags" content=""> > <link rel="match" href="reference/word-break-break-all-010-ref.html"> >-<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 @@ div { > } > .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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html >index f114d9428f4b2200b3bba842d2aff8e47a193e25..0f6bb5b7333302a1e9ab0a485eda657a1b03fa65 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-024.html >@@ -6,7 +6,7 @@ > <link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-word-break-break-all"> > <meta name="flags" content=""> > <link rel="match" href="reference/word-break-break-all-010-ref.html"> >-<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 @@ div { > } > .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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-025-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-025-expected.html >new file mode 100644 >index 0000000000000000000000000000000000000000..0e0300a72dc920a5ffb54cda6fbe84a2f517d010 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-025-expected.html >@@ -0,0 +1,16 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Text Reference File</title> >+<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-025.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-025.html >new file mode 100644 >index 0000000000000000000000000000000000000000..eedd49a59d0da7ad4b9d365c2e5ea92ede199f1f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-025.html >@@ -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="mailto:jfernandez@igalia.com"> >+<link rel="help" title="5.2. Breaking Rules for Letters: the word-break property" href="https://drafts.csswg.org/css-text-3/#word-break-property"> >+<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-word-break-break-all"> >+<meta name="flags" content=""> >+<link rel="match" href="reference/word-break-break-all-010-ref.html"> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-026-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-026-expected.html >new file mode 100644 >index 0000000000000000000000000000000000000000..0e0300a72dc920a5ffb54cda6fbe84a2f517d010 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-026-expected.html >@@ -0,0 +1,16 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Text Reference File</title> >+<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-026.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-026.html >new file mode 100644 >index 0000000000000000000000000000000000000000..001d83f3a01e2fa15fc7554e730b5c769bb75671 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-026.html >@@ -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="mailto:jfernandez@igalia.com"> >+<link rel="help" title="5.2. Breaking Rules for Letters: the word-break property" href="https://drafts.csswg.org/css-text-3/#word-break-property"> >+<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-word-break-break-all"> >+<meta name="flags" content=""> >+<link rel="match" href="reference/word-break-break-all-010-ref.html"> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-027-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-027-expected.html >new file mode 100644 >index 0000000000000000000000000000000000000000..0e0300a72dc920a5ffb54cda6fbe84a2f517d010 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-027-expected.html >@@ -0,0 +1,16 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Text Reference File</title> >+<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-027.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-027.html >new file mode 100644 >index 0000000000000000000000000000000000000000..4d34872951738ff34d1e0b8c3bdd6e174f6e71b2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-027.html >@@ -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="mailto:jfernandez@igalia.com"> >+<link rel="help" title="5.2. Breaking Rules for Letters: the word-break property" href="https://drafts.csswg.org/css-text-3/#word-break-property"> >+<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-word-break-break-all"> >+<meta name="flags" content=""> >+<link rel="match" href="reference/word-break-break-all-010-ref.html"> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-028-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-028-expected.html >new file mode 100644 >index 0000000000000000000000000000000000000000..0e0300a72dc920a5ffb54cda6fbe84a2f517d010 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-028-expected.html >@@ -0,0 +1,16 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Text Reference File</title> >+<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> >+<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> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-028.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-028.html >new file mode 100644 >index 0000000000000000000000000000000000000000..dd0d2949ceb17edfdb602b944faf5593caf8f9c8 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-028.html >@@ -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="mailto:jfernandez@igalia.com"> >+<link rel="help" title="5.2. Breaking Rules for Letters: the word-break property" href="https://drafts.csswg.org/css-text-3/#word-break-property"> >+<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-word-break-break-all"> >+<meta name="flags" content=""> >+<link rel="match" href="reference/word-break-break-all-010-ref.html"> >+<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> >diff --git a/LayoutTests/platform/ios/TestExpectations b/LayoutTests/platform/ios/TestExpectations >index f1480b1e5d7e7ac549747a670bf23a56a8ff9468..0630ac263c6286022c9cd645f2c55a51ce537a4e 100644 >--- a/LayoutTests/platform/ios/TestExpectations >+++ b/LayoutTests/platform/ios/TestExpectations >@@ -3072,6 +3072,8 @@ webkit.org/b/183258 imported/w3c/web-platform-tests/css/css-text/word-break/word > 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 ] >diff --git a/LayoutTests/platform/mac/TestExpectations b/LayoutTests/platform/mac/TestExpectations >index f273f6d3d8e2c2a6a60453728d5b8e88e06f1b7b..6db08876dbde401b524267badacbe3b62466a282 100644 >--- a/LayoutTests/platform/mac/TestExpectations >+++ b/LayoutTests/platform/mac/TestExpectations >@@ -1689,6 +1689,10 @@ webkit.org/b/183258 imported/w3c/web-platform-tests/css/css-text/i18n/css3-text- > 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 ]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 197929
:
369997
|
370007
|
370008
|
370009
|
370010
| 371337