[webkit-changes] [WebKit/WebKit] 4aee4f: MIR Image replacement technique (negative letter-s...
Alan Baradlay
noreply at github.com
Thu Dec 29 12:41:01 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4aee4f4a4f9de2de3b6a0b546aa9d38cb27d5892
https://github.com/WebKit/WebKit/commit/4aee4f4a4f9de2de3b6a0b546aa9d38cb27d5892
Author: Alan Baradlay <zalan at apple.com>
Date: 2022-12-29 (Thu, 29 Dec 2022)
Changed paths:
A LayoutTests/fast/inline/negative-letter-spacing-on-inline-box-expected.html
A LayoutTests/fast/inline/negative-letter-spacing-on-inline-box.html
M Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLine.h
Log Message:
-----------
MIR Image replacement technique (negative letter-spacing) does not always work
https://bugs.webkit.org/show_bug.cgi?id=3676
<rdar://problem/96534455>
Reviewed by Antti Koivisto.
Do not let the negative letter-spacing pull content to the logical left direction from outside
of the inline box (or in other words, do not let (negative) letter spacing spill out of the inline box).
* LayoutTests/fast/inline/negative-letter-spacing-on-inline-box-expected.html: Added.
* LayoutTests/fast/inline/negative-letter-spacing-on-inline-box.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp:
(WebCore::Layout::Line::appendInlineBoxStart):
(WebCore::Layout::Line::appendInlineBoxEnd): Empty stack means line spanning inline box.
* Source/WebCore/layout/formattingContexts/inline/InlineLine.h:
Canonical link: https://commits.webkit.org/258356@main
More information about the webkit-changes
mailing list