[Webkit-unassigned] [Bug 163789] New: RenderListItem's marker is not at the right insertion point.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 21 09:35:10 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=163789

            Bug ID: 163789
           Summary: RenderListItem's marker is not at the right insertion
                    point.
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zalan at apple.com
                CC: simon.fraser at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161021/2f99863b/attachment.html>


More information about the webkit-unassigned mailing list