| Summary: | [LFC][IFC] Incorrect word-spacing gaps between RTL runs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> | ||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
zalan
2021-12-31 14:11:35 PST
Created attachment 448134 [details]
Patch
Comment on attachment 448134 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=448134&action=review > Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayBox.h:81 > - bool isText() const { return m_type == Type::Text; } > + bool isText() const { return m_type == Type::Text || isWordSeparator(); } > + bool isWordSeparator() const { return m_type == Type::WordSeparator; } Why do we need display boxes for these? What should we do with them during painting/hit testing? Oh I see, isText() still return true so they get treated as text boxes. Committed r287500 (245635@main): <https://commits.webkit.org/245635@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 448134 [details]. |