[Webkit-unassigned] [Bug 45095] absolutely positioned list in inline element crashes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 2 02:25:40 PDT 2010


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





--- Comment #2 from mitz at webkit.org  2010-09-02 02:25:41 PST ---
(From update of attachment 66340)
View in context: https://bugs.webkit.org/attachment.cgi?id=66340&action=prettypatch

> WebCore/rendering/RenderListItem.cpp:100
>      // If there's no actual <ul> or <ol> list element, then the first found
>      // node acts as our list for purposes of determining what other list items
>      // should be numbered as part of the same list.
> -    return firstNode;
> +    return firstBlockNode;
The comment says the the first found node is used, but you changed it to be the first found node that is rendered as a block. Why is this the right thing to do? What if the document element itself is not a RenderBlock? Can this function return 0?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list