| Summary: | [LFC] Introduce containingBlockChain iterator | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 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-05-26 07:58:01 PDT
Created attachment 429758 [details]
Patch
Comment on attachment 429758 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=429758&action=review > Source/WebCore/layout/formattingContexts/table/TableFormattingQuirks.cpp:70 > + for (auto& ancestor : containingBlockChainOf(layoutBox)) { Not sure if the "Of" adds anything. > Source/WebCore/layout/layouttree/LayoutContainingBlockChainIterator.h:54 > + LayoutContainingBlockChainIterator begin() { return LayoutContainingBlockChainIterator(m_containingBlock); } > + LayoutContainingBlockChainIterator end() { return LayoutContainingBlockChainIterator(); } could be auto begin() auto end() Created attachment 429760 [details]
Patch
Created attachment 429761 [details]
Patch
Committed r278086 (238163@main): <https://commits.webkit.org/238163@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 429761 [details]. |