[Webkit-unassigned] [Bug 13332] List marker not displayed on items with overflow
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 27 13:10:42 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=13332
Konstantin Shcheglov <scheglov at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |scheglov at google.com
--- Comment #9 from Konstantin Shcheglov <scheglov at google.com> 2011-09-27 13:10:42 PST ---
I'm working on this bug now.
Problem is caused by RenderBox::pushContentsClip().
If DIV has overflow clip, then it is applied before paintObject(), i.e. content.
However RenderListItem::updateMarkerLocation() adds marker to its child DIV (actually parent of first RenderLineBoxList), with negative X coordinate.
But RenderBox::overflowClipRect() includes only rectangle of DIV content, so excludes RenderListMarker painting rectangle. So, marker is not painted if first child has "overflow: hidden" specified.
I'm not sure how to solve this.
May be change RenderBox::overflowClipRect() to ask (recursively) children to update clip. Only RenderListMarker will do this. Drawbacks:
1. performance hit;
2. may be will cause some problems with leaking content outside of clip because clip will be bigger (on negative side, so probably fine, but still worth to keep in mind).
--
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