Diff
Modified: trunk/LayoutTests/TestExpectations (243663 => 243664)
--- trunk/LayoutTests/TestExpectations 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/TestExpectations 2019-03-29 21:52:53 UTC (rev 243664)
@@ -1904,14 +1904,7 @@
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/line-break/line-break-loose-017a.xht [ ImageOnlyFailure ]
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/line-break/line-break-loose-014.xht [ ImageOnlyFailure ]
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/line-break/line-break-loose-015.xht [ ImageOnlyFailure ]
-webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-001.html [ ImageOnlyFailure ]
-webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-003.html [ ImageOnlyFailure ]
-webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-min-content-size-003.html [ ImageOnlyFailure ]
-webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-005.html [ ImageOnlyFailure ]
-webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-span-001.html [ ImageOnlyFailure ]
-webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-min-content-size-002.html [ ImageOnlyFailure ]
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-006.html [ ImageOnlyFailure ]
-webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-002.html [ ImageOnlyFailure ]
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/tab-size/tab-size-spacing-001.html [ ImageOnlyFailure ]
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/tab-size/tab-min-rendered-width-1.html [ ImageOnlyFailure ]
webkit.org/b/195275 imported/w3c/web-platform-tests/css/css-text/tab-size/tab-size-inheritance-001.html [ ImageOnlyFailure ]
@@ -1970,6 +1963,22 @@
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 ]
+# 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 ]
+webkit.org/b/195345 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-003.html [ Skip ]
+webkit.org/b/195345 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-004.html [ Skip ]
+webkit.org/b/195345 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-005.html [ Skip ]
+webkit.org/b/195345 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-span-001.html [ Skip ]
+webkit.org/b/195345 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-span-002.html [ Skip ]
+webkit.org/b/195345 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-fit-content-001.html [ Skip ]
+webkit.org/b/195345 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-min-content-size-001.html [ Skip ]
+webkit.org/b/195345 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-min-content-size-002.html [ Skip ]
+webkit.org/b/195345 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-min-content-size-003.html [ Skip ]
+webkit.org/b/195345 imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-min-content-size-004.html [ Skip ]
+webkit.org/b/195345 imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-word-overflow-wrap-interactions.html [ Skip ]
+
+
########################################
### START OF display: contents failures
@@ -2959,7 +2968,6 @@
imported/w3c/web-platform-tests/css/css-pseudo/placeholder-input-number.html [ ImageOnlyFailure ]
imported/w3c/web-platform-tests/css/css-text-decor/text-emphasis-position-below-right-002.xht [ ImageOnlyFailure ]
imported/w3c/web-platform-tests/css/css-display/run-in/quotes-applies-to-011.xht [ ImageOnlyFailure ]
-imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-min-content-size-001.html [ ImageOnlyFailure ]
imported/w3c/web-platform-tests/css/css-display/run-in/run-in-basic-012.xht [ ImageOnlyFailure ]
imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-smooth.html [ Skip ]
imported/w3c/web-platform-tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-linear-gradient-006.html [ ImageOnlyFailure ]
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2019-03-29 21:52:53 UTC (rev 243664)
@@ -1,3 +1,41 @@
+2019-03-29 Javier Fernandez <jfernan...@igalia.com>
+
+ Update the CSS Text WPT test suite
+ https://bugs.webkit.org/show_bug.cgi?id=196397
+
+ Reviewed by Manuel Rego Casasnovas.
+
+ Updated several tests from the CSS Text test suite.
+
+ * resources/resource-files.json:
+ * web-platform-tests/css/css-text/META.yml:
+ * web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-006.html:
+ * web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-007.html:
+ * web-platform-tests/css/css-text/white-space/break-spaces-004.html:
+ * web-platform-tests/css/css-text/white-space/break-spaces-005.html:
+ * web-platform-tests/css/css-text/white-space/break-spaces-006.html:
+ * web-platform-tests/css/css-text/white-space/break-spaces-007.html:
+ * web-platform-tests/css/css-text/white-space/break-spaces-008.html:
+ * web-platform-tests/css/css-text/white-space/pre-wrap-008.html:
+ * web-platform-tests/css/css-text/white-space/pre-wrap-015.html:
+ * web-platform-tests/css/css-text/white-space/pre-wrap-016.html:
+ * web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-001-expected.html:
+ * web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-001.html:
+ * web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-002-expected.html:
+ * web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-002.html:
+ * web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-003-expected.html:
+ * web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-003.html:
+ * 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/word-break/w3c-import.log:
+ * web-platform-tests/css/css-text/word-break/word-break-break-all-010.html:
+ * web-platform-tests/css/css-text/word-break/word-break-break-all-011.html:
+ * web-platform-tests/css/css-text/word-break/word-break-break-all-012.html:
+ * web-platform-tests/css/css-text/word-break/word-break-break-all-013.html:
+ * web-platform-tests/css/css-text/word-break/word-break-break-all-015.html:
+ * web-platform-tests/css/css-text/word-break/word-break-break-word-overflow-wrap-interactions-expected.html: Added.
+ * web-platform-tests/css/css-text/word-break/word-break-break-word-overflow-wrap-interactions.html: Added.
+
2019-03-29 Chris Dumez <cdu...@apple.com>
Set window.closed immediately when close() is invoked
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/META.yml (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/META.yml 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/META.yml 2019-03-29 21:52:53 UTC (rev 243664)
@@ -5,5 +5,4 @@
- frivoal
- r12a
- nox
- - hakatashi
- fantasai
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-006.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-006.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-006.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -9,9 +9,10 @@
<meta name="assert" content="A Single leading white-space constitutes a soft breaking opportunity, honoring the 'white-space: break-spaces' property, that must prevent the word to be broken.">
<style>
div {
- position: relative;
- font-size: 20px;
- font-family: Ahem;
+ position: relative;
+ font-size: 20px;
+ font-family: Ahem;
+ line-height: 1em;
}
.red {
position: absolute;
@@ -23,8 +24,8 @@
}
.test {
color: green;
- line-height: 1em;
width: 5ch;
+
white-space: break-spaces;
overflow-wrap: break-word;
}
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-007.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-007.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-007.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -9,10 +9,9 @@
<meta name="assert" content="A Single leading white-space constitutes a soft breaking opportunity, honoring the 'white-space: break-spaces' property, that must prevent the word to be broken.">
<style>
div {
- position: relative;
- font-size: 20px;
- font-family: Ahem;
- line-height: 1em;
+ position: relative;
+ font-size: 20px;
+ font-family: Ahem;
}
.red {
position: absolute;
@@ -25,6 +24,7 @@
}
.test {
color: green;
+ line-height: 1em;
width: 5ch;
white-space: pre-wrap;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-004.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-004.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-004.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -11,8 +11,8 @@
<meta name="assert" content="The word is not broken if there are previous breaking opportunities, honoring the 'white-space: break-spaces' value.">
<style>
div {
- position: relative;
- font: 20px/1 Ahem;
+ position: relative;
+ font: 20px/1 Ahem;
}
.fail {
position: absolute;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-005.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-005.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-005.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -9,8 +9,8 @@
<meta name="assert" content="If 'white-space' is set to 'break-spaces', collapsing preserved white-spaces' advance width is not allowed, so that they can be wrapped honoring the 'white-space' propery.">
<style>
div {
- position: relative;
- font: 10px/1 Ahem;
+ position: relative;
+ font: 10px/1 Ahem;
}
.fail {
position: absolute;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-006.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-006.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-006.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -11,8 +11,8 @@
<meta name="assert" content="White spaces are preserved, honoring the 'white-space: break-spaces', but the words are broken, honring the 'word-beak: break-all' even though there are previous breaking opportunities in the white-spaces.">
<style>
div {
- position: relative;
- font: 25px/1 Ahem;
+ position: relative;
+ font: 25px/1 Ahem;
}
.fail {
position: absolute;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-007.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-007.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-007.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -11,8 +11,8 @@
<meta name="assert" content="A single leading white-space should be used, honoring white-space: break-spaces, to avoid overflow; however, a single preserved white-space at the end of the line cannot be wrapped, hence it hangs when breaking after it to move the rest of the text to the next line.">
<style>
div {
- position: relative;
- font: 25px/1 Ahem;
+ position: relative;
+ font: 25px/1 Ahem;
}
.fail {
position: absolute;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-008.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-008.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/break-spaces-008.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -11,8 +11,8 @@
<meta name="assert" content="White spaces are preserved, honoring the 'white-space: break-spaces', which may lead to overfow. However, we can break before the first white-space after the word honoring the 'break-all' value.">
<style>
div {
- position: relative;
- font: 25px/1 Ahem;
+ position: relative;
+ font: 25px/1 Ahem;
}
.fail {
position: absolute;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-008.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-008.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-008.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -9,10 +9,9 @@
<meta name="assert" content="The word is not broken despite the 'word-break: break-word' if there are previous breaking opportunities, honoring the white-space: pre-wrap value.">
<style>
div {
- position: relative;
- font-size: 20px;
- font-family: Ahem;
- line-height: 1em;
+ position: relative;
+ font-size: 20px;
+ font-family: Ahem;
}
.red {
position: absolute;
@@ -25,6 +24,7 @@
}
.test {
color: green;
+ line-height: 1em;
width: 5ch;
white-space: pre-wrap;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-015.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-015.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-015.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -9,8 +9,8 @@
<meta name="assert" content="The text is broken at the end of the space between the two words, never before, so it hangs and cause an overflow">
<style>
div {
- position: relative;
- font: 20px/1 Ahem;
+ position: relative;
+ font: 20px/1 Ahem;
}
.ref {
position: absolute;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-016.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-016.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-016.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -12,6 +12,7 @@
position: relative;
font-size: 20px;
font-family: Ahem;
+ line-height: 1em;
}
.red {
position: absolute;
@@ -24,7 +25,6 @@
}
.test {
color: green;
- line-height: 1em;
width: 2ch;
white-space: pre-wrap;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-001-expected.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-001-expected.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-001-expected.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -4,7 +4,7 @@
<link rel="author" title="Florian Rivoal" href=""
<style>
div {
- font-family: monospace;
+ font-family: Ahem;
color: transparent;
font-size: 50px;
background: green;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-001.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-001.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-001.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -15,7 +15,7 @@
}
aside:last-of-type { overflow-wrap: break-word; }
div {
- font-family: monospace;
+ font-family: Ahem;
color: transparent;
font-size: 50px;
width: 0ch;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-002-expected.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-002-expected.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-002-expected.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -6,7 +6,7 @@
div {
color: transparent;
background: blue;
- font-family: monospace;
+ font-family: Ahem;
font-size: 50px;
width: 3ch;
}
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-002.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-002.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-002.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -19,7 +19,7 @@
}
div {
color: transparent;
- font-family: monospace;
+ font-family: Ahem;
font-size: 50px;
width: 3ch;
/* both floats should take the full 3ch,
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-003-expected.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-003-expected.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-003-expected.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -4,6 +4,7 @@
<link rel="author" title="Florian Rivoal" href=""
<style>
div {
+ font-family: Ahem;
color: transparent;
font-size: 50px;
background: green;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-003.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-003.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-003.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -15,6 +15,7 @@
}
div {
color: transparent;
+ font-family: Ahem;
font-size: 50px;
width: 0ch;
}
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004-expected.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004-expected.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004-expected.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -9,7 +9,7 @@
}
div {
color: transparent;
- font-family: monospace;
+ font-family: Ahem;
font-size: 50px;
width: 5ch;
}
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/white-space/white-space-intrinsic-size-004.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -17,7 +17,7 @@
aside:last-of-type { overflow-wrap: break-word; }
div {
color: transparent;
- font-family: monospace;
+ 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. */
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/w3c-import.log (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/w3c-import.log 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/w3c-import.log 2019-03-29 21:52:53 UTC (rev 243664)
@@ -46,6 +46,8 @@
/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-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-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
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-keep-all-000.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-keep-all-001-expected.html
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-010.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-010.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-010.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -26,6 +26,7 @@
.test {
color: green;
width: 5ch;
+
white-space: pre-wrap;
word-break: break-all;
}
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-011.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-011.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-011.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -21,10 +21,11 @@
width: 100px;
height: 100px;
z-index: -1;
+ white-space: pre;
}
+span { color: green; }
.test {
color: green;
- background: green;
width: 1ch;
white-space: pre-wrap;
word-break: break-all;
@@ -32,6 +33,6 @@
</style>
<body>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
- <div class="red">X<br>X<br>X</div>
+ <div class="red"> <br>X<br>X</div>
<div class="test"> XX</div>
</body>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-012.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-012.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-012.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<meta charset="utf-8">
-<title>CSS Text Test: overflow-wrap: break-word</title>
+<title>CSS Text Test: word-break: break-all</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href=""
<link rel="help" href=""
<link rel="help" href=""
@@ -9,22 +9,22 @@
<meta name="assert" content="The word is broken even if white-space: break-spaces provides a former breaking opportunity in leading white-space.">
<style>
div {
- position: relative;
- font-size: 20px;
- font-family: Ahem;
+ position: relative;
+ font-size: 20px;
+ font-family: Ahem;
+ line-height: 1em;
}
.red {
position: absolute;
- white-space: pre;
background: green;
color: red;
width: 100px;
height: 100px;
z-index: -1;
+ white-space: pre;
}
.test {
color: green;
- line-height: 1em;
width: 5ch;
white-space: break-spaces;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-013.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-013.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-013.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -9,9 +9,10 @@
<meta name="assert" content="A single leading white-space should account as soft breaking opportunity, honoring the 'white-space: break-spaces', on top to the ones provided by 'word-break: break-all'.">
<style>
div {
- position: relative;
- font-size: 20px;
- font-family: Ahem;
+ position: relative;
+ font-size: 20px;
+ font-family: Ahem;
+ line-height: 1em;
}
.red {
position: absolute;
@@ -20,11 +21,10 @@
width: 100px;
height: 100px;
z-index: -1;
+ white-space: pre;
}
.test {
color: green;
- background: green;
- line-height: 1em;
width: 1ch;
white-space: break-spaces;
word-break: break-all;
@@ -32,6 +32,6 @@
</style>
<body>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
- <div class="red">X<br>X<br>X</div>
+ <div class="red"> <br>X<br>X</div>
<div class="test"> XX</div>
</body>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-015.html (243663 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-015.html 2019-03-29 21:49:53 UTC (rev 243663)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-all-015.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -9,10 +9,9 @@
<meta name="assert" content="The word is broken even if white-space: pre-wrap provides a former breaking opportunity in leading white-space.">
<style>
div {
- position: relative;
- font-size: 20px;
- font-family: Ahem;
- line-height: 1em;
+ position: relative;
+ font-size: 20px;
+ font-family: Ahem;
}
.red {
position: absolute;
@@ -25,6 +24,7 @@
}
.test {
color: green;
+ line-height: 1em;
width: 5ch;
white-space: pre-wrap;
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-word-overflow-wrap-interactions-expected.html (0 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-word-overflow-wrap-interactions-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-word-overflow-wrap-interactions-expected.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<title>CSS Test: word-break: break-word and overflow-wrap interaction</title>
+<link rel="help" href=""
+<link rel="author" href="" title="Emilio Cobos Álvarez">
+<style>
+ div {
+ float: left;
+ width: 100px;
+ height: 100px;
+ border: 1px solid black;
+ margin: 10px;
+ overflow-wrap: anywhere;
+ }
+</style>
+<p>The boxes below should look the same.</p>
+<div>FillerFillerFillerFiller</div>
+<div>FillerFillerFillerFiller</div>
+<div>FillerFillerFillerFiller</div>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-word-overflow-wrap-interactions.html (0 => 243664)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-word-overflow-wrap-interactions.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/word-break/word-break-break-word-overflow-wrap-interactions.html 2019-03-29 21:52:53 UTC (rev 243664)
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<title>CSS Test: word-break: break-word and overflow-wrap interaction</title>
+<link rel="help" href=""
+<link rel="help" href=""
+<link rel="help" href=""
+<link rel="help" href=""
+<link rel="author" href="" title="Emilio Cobos Álvarez">
+<link rel="match" href=""
+<style>
+ div {
+ float: left;
+ width: 100px;
+ height: 100px;
+ border: 1px solid black;
+ margin: 10px;
+ }
+</style>
+<p>The boxes below should look the same.</p>
+<div style="word-break: break-word; overflow-wrap: anywhere;">FillerFillerFillerFiller</div>
+<div style="word-break: break-word; overflow-wrap: break-word;">FillerFillerFillerFiller</div>
+<div style="word-break: break-word; overflow-wrap: normal;">FillerFillerFillerFiller</div>