[Webkit-unassigned] [Bug 18289] extra bullet showing up due to display:block

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 1 13:37:00 PDT 2022


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

Ryan Reno <rreno at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rreno at apple.com

--- Comment #6 from Ryan Reno <rreno at apple.com> ---
The problem appears to be due to the RenderListMarker being a child of the <a> element's renderer as opposed to a sibling. Additionally, the <a> element is given a RenderBlock renderer in the buggy case vs a RenderInline renderer (which may itself not be a problem).

I don't yet understand the mechanism for why the tree is being built the way it is but I suspect that might be where the fix can be found.

Here's a simplified render tree of the repro case containing only one list element with (1) and without (2) display:block;

(1):
- DIV RenderBlock
  - UL RenderBlock
    - LI RenderListItem
      - A RenderBlock
        - RenderListMarker

(2):
- DIV RenderBlock
  - UL RenderBlock
    - LI RenderListItem
      - RenderListMarker
      - A RenderInline

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220801/86210485/attachment-0001.htm>


More information about the webkit-unassigned mailing list