Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r222605 - [REGRESSION] word-spacing property is incorrectly app…
…lied https://bugs.webkit.org/show_bug.cgi?id=142086 <rdar://problem/19985240> Patch by Fujii Hironori <Hironori.Fujii@sony.com> on 2017-09-27 Reviewed by Zalan Bujtas. Source/WebCore: word-spacing property isn't applied to text nodes with starting with '\n' if the kerning enabled. In Bug 165796, only ' ' and '\t' are treated for word-spacing, but '\n'. It should be treated as well. Test: fast/text/word-space-between-inlines.html * rendering/RenderBlockLineLayout.cpp: (WebCore::setLogicalWidthForTextRun): Use FontCascade::treatAsSpace() instead of checking explicitly by comparing with ' ' and '\t'. LayoutTests: * platform/gtk/TestExpectations: Unmark fast/text/word-space-between-inlines.html * platform/mac/TestExpectations: Unmark fast/css/word-spacing-between-blocks.html, fast/css/word-spacing-between-inlines.html, fast/css/word-spacing-characters.html and fast/text/word-space-between-inlines.html. * platform/gtk/fast/css/word-space-extra-expected.txt: Rebaselined. * platform/mac/fast/css/word-space-extra-expected.png: Ditto. * platform/mac/fast/css/word-space-extra-expected.txt: Ditto.
- Loading branch information
1 parent
e11fa84
commit a52de3e
Showing
6 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+15.1 KB
(120%)
LayoutTests/platform/mac/fast/css/word-space-extra-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters