Bug 119348

Summary: RenderEmbeddedObject::isReplacementObscured is wrong if an obscuring element has pointer-events: none set
Product: WebKit Reporter: Tim Horton <thorton>
Component: Plug-insAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: gordon_sheridan, sfalken, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch to change the test expectations none

Description Tim Horton 2013-07-31 12:19:34 PDT
In this case from plugins/unavailable-plugin-indicator-obscurity.html:

<div class="container">
    <embed id="pointerEventsBlockedOnObscuringSibling" class="shouldNotBeObscured" type="application/x-webkit-test-netscape"></embed>
    <div class="cover" style="pointer-events: none;"></div>
</div>

div.cover completely obscures the embed, but because div.cover has pointer-events: none, the embed passes the hit-test in isReplacementObscured, and we claim that it isn't.

I'm going to post a patch to swap the expected behavior in the test, and leave this bug open to track fixing it (which I don't plan to nor know how to do).
Comment 1 Tim Horton 2013-07-31 12:22:22 PDT
Created attachment 207871 [details]
patch to change the test expectations
Comment 2 Tim Horton 2013-07-31 12:26:54 PDT
Changed the expected outcome of the test in http://trac.webkit.org/changeset/153536, but the bug still exists.