WebKit
WebKit copied to clipboard
text-spacing: text-spacing-trim: implement trim-all for complex path
918cd8a250b6df2f40f22e82429b9a47c97ff3c3
text-spacing: text-spacing-trim: implement trim-all for complex path https://bugs.webkit.org/show_bug.cgi?id=281761 rdar://137795771 Reviewed by NOBODY (OOPS!). Simple path (WidthIterator) already covers this behavior. We should now do the same for the Complex path (ComplexTextController). trim-all: Set fullwidth opening punctuation, fullwidth closing punctuation, and fullwidth middle dot punctuation with half-width glyphs, without regards for the position within the line nor for adjacent characters. * Source/WebCore/platform/graphics/ComplexTextController.cpp: (WebCore::ComplexTextController::collectComplexTextRuns): * Source/WebCore/platform/graphics/Font.cpp: (WebCore::Font::halfWidthFont const):
https://github.com/WebKit/WebKit/commit/918cd8a250b6df2f40f22e82429b9a47c97ff3c3
EWS run on previous version of this PR (hash https://github.com/WebKit/WebKit/commit/918cd8a250b6df2f40f22e82429b9a47c97ff3c3)
EWS run on current version of this PR (hash https://github.com/WebKit/WebKit/commit/010d8905f09ac7a0d86baaf0bd9e485cf26eed18)
Committed 286983@main (85ed15ffe2c7): https://commits.webkit.org/286983@main
Reviewed commits have been landed. Closing PR #35439 and removing active labels.