WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
163789
RenderListItem's marker is not at the right insertion point.
https://bugs.webkit.org/show_bug.cgi?id=163789
Summary
RenderListItem's marker is not at the right insertion point.
zalan
Reported
2016-10-21 09:35:10 PDT
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug