RESOLVED FIXED Bug 235010
[LFC][IFC] Introduce a dedicated structure for Line::Run's trailing whitespace information
https://bugs.webkit.org/show_bug.cgi?id=235010
Summary [LFC][IFC] Introduce a dedicated structure for Line::Run's trailing whitespac...
zalan
Reported 2022-01-08 17:39:29 PST
- TrailingWhitespace m_trailingWhitespaceType { TrailingWhitespace::None }; - InlineLayoutUnit m_trailingWhitespaceWidth { 0 }; + TrailingWhitespace m_trailingWhitespace { };
Attachments
Patch (9.11 KB, patch)
2022-01-08 17:40 PST, zalan
no flags
Patch (9.58 KB, patch)
2022-01-09 07:07 PST, zalan
no flags
zalan
Comment 1 2022-01-08 17:40:54 PST
Antti Koivisto
Comment 2 2022-01-08 23:03:09 PST
Comment on attachment 448689 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=448689&action=review > Source/WebCore/layout/formattingContexts/inline/InlineLine.h:160 > + TrailingWhitespace m_trailingWhitespace { }; I suppose std::optional<TrailingWhitespace> without the None value would be an alternative.
zalan
Comment 3 2022-01-09 06:16:25 PST
(In reply to Antti Koivisto from comment #2) > Comment on attachment 448689 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=448689&action=review > > > Source/WebCore/layout/formattingContexts/inline/InlineLine.h:160 > > + TrailingWhitespace m_trailingWhitespace { }; > > I suppose std::optional<TrailingWhitespace> without the None value would be > an alternative. Good point!
zalan
Comment 4 2022-01-09 07:07:09 PST
EWS
Comment 5 2022-01-09 10:24:00 PST
Committed r287824 (245876@main): <https://commits.webkit.org/245876@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 448701 [details].
Radar WebKit Bug Importer
Comment 6 2022-01-09 10:25:19 PST
Note You need to log in before you can comment on or make changes to this bug.