Bug 84924
Summary: | Move the block flow layout (layoutBlockChildren/layoutInlineChildren) out of RenderBlock and into a subclass that is a peer of other layout systems like tables, grids, flexboxes | ||
---|---|---|---|
Product: | WebKit | Reporter: | Julien Chaffraix <jchaffraix> |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | eae, eric, esprehn, hyatt, leviw, tony, zoltan |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | 120777, 120897, 121036, 121049, 121052, 121456 | ||
Bug Blocks: |
Julien Chaffraix
Per Dave's suggestion, here is the context:
All block-level elements that can act as containing blocks are RenderBlocks. This includes flexbox, grid, tables, etc.
It would probably be less confusing if "block layout" was pulled into a subclass, e.g., RenderBlockFlow. Then the base class would only hold things common to all the subclasses instead of having the "block layout" system shoved in there as well.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |