[Webkit-unassigned] [Bug 116994] Setting overflow:hidden on position:absolute does not repaint hidden content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 2 02:53:20 PDT 2013


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





--- Comment #7 from Robert Hogan <robert at webkit.org>  2013-06-02 02:51:52 PST ---
(From update of attachment 203434)
View in context: https://bugs.webkit.org/attachment.cgi?id=203434&action=review

Seems like a nice catch!

> Source/WebCore/rendering/RenderBox.cpp:2036
> +    if (!hasSelfPaintingLayer() && o->hasOverflowClip()) {

This pattern pops up in a couple of other places too. Why not make a helper called shouldUseOverflowClip() or similar - that would also be a good place to add a comment about why we only need to worry about clipping on layers that aren't self-painting, something from the Changelog in r41203 for example. I say this because I had to dig around a bit to find out for myself.

You also need to fix this function in RenderObject.

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