Bug 163789
Summary: | RenderListItem's marker is not at the right insertion point. | ||
---|---|---|---|
Product: | WebKit | Reporter: | zalan <zalan> |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | hyatt, simon.fraser |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
zalan
First of all, RenderListItem mutates the render tree during layout (which should be avoided)
While finding the right insertion point for its marker, we construct/destroy (block/inline) wrappers (RenderListItem::insertOrMoveMarkerRendererIfNeeded).
We do all this before laying out the descendants. However since the the insertion point depends on the linebox context, we can't really be sure that the insertion point we found is still valid after we finished with the descendants. So the marker (RenderTree) position does not necessarily reflect the current layout but the previous one. For certain type of style changes, it could always be one layout behind.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |