[Webkit-unassigned] [Bug 113137] Test if non-immediate descendants obscure background

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 26 15:34:44 PDT 2013


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


Simon Fraser (smfr) <simon.fraser at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #194767|review?                     |review-
               Flag|                            |




--- Comment #13 from Simon Fraser (smfr) <simon.fraser at apple.com>  2013-03-26 15:37:11 PST ---
(From update of attachment 194767)
View in context: https://bugs.webkit.org/attachment.cgi?id=194767&action=review

> Source/WebCore/rendering/RenderBox.cpp:1220
> +        if (childLayer->zIndex() < 0)
> +            return false;

It's hard to me to know whether this test is reliable, without an explicit check for the childBox's stacking context being some specific ancestor. For example, what happens if the renderer we're checking for opaqueness is A here:

<div style="postion: absolute; z-index: 0"> <!-- stacking context -->
  <div style="postion: absolute; z-index: -2"> <!-- A -->
    <div style="postion: absolute; z-index: -1"></div>
  </div>
</div>

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