[Webkit-unassigned] [Bug 13332] List marker not displayed on items with overflow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 7 13:41:02 PDT 2011


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





--- Comment #26 from Konstantin Shcheglov <scheglov at google.com>  2011-10-07 13:41:02 PST ---
(In reply to comment #25)

It seems that we should go deeper.

1. For LI with clipped DIV we don't get PaintPhaseBlockBackground. I've tried to use PaintPhaseChildBlockBackground instead, but... next item.

2. For LI with layer such way of painting does not help. I get PaintPhaseBlockBackground, but at this time paintInfo.rect (and I suspect that clip too) is set to paint only item itself. I think that this may be related to "list-style-position" property. By default marker is outside of item. So, it seems correct that layer does not allow us paint marker on item. We may want to paint marker _for_ item, but not _on_ item.

I see following description about markers and "overflow:hidden".
---
In CSS 2.1, a UA may hide the marker if the element's 'overflow' is other than 'visible'. (This is expected to change in the future.)
---


So, I see two possible solutions:

1. Follow "may hide" and ignore this case, rollback to PaintPhaseForeground.

2. Go deeper and initiate marker painting from RenderList. It sounds odd for me, but keeping in mind "list-style-position" property this may be logical step.

-- 
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