Bug 286311
| Summary: | Factor out hasSingleLine logic for inline box iterator | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | fantasai <fantasai.bugs> |
| Component: | Layout and Rendering | Assignee: | fantasai <fantasai.bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
fantasai
We have a lot of
bool hasSingleLine = !m_inlineBox.nextInlineBoxLineLeftward() && !m_inlineBox.nextInlineBoxLineRightward();
checks. It would make sense to factor this out into its own method on m_inlineBox.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/143332919>
fantasai
Pull request: https://github.com/WebKit/WebKit/pull/39329
EWS
Committed 289392@main (e2cc160e3d0d): <https://commits.webkit.org/289392@main>
Reviewed commits have been landed. Closing PR #39329 and removing active labels.