| Summary: | [LegacyLineLayout] Use the simplified text measuring in RenderText when applicable | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> | ||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | bfulgham, changseok, esprehn+autocc, ews-watchlist, glenn, koivisto, kondapallykalyan, mmaxfield, pdr, simon.fraser, webkit-bug-importer, zalan | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Other | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
zalan
2022-03-22 10:17:44 PDT
Created attachment 455389 [details]
Patch
Comment on attachment 455389 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=455389&action=review > Source/WebCore/rendering/RenderText.cpp:1568 > + width = widthFromCache(fontCascade, from, len, xPos, fallbackFonts, glyphOverflow, style); > + } else if (canUseSimplifiedTextMeasuring()) > + width = fontCascade.widthForSimpleText(StringView(text()).substring(from, len), style.direction()); no lambda😤 |