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: RESOLVED WONTFIX    
Severity: Normal CC: ap, gordon_sheridan, sfalken, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=152178
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.
Comment 3 Alexey Proskuryakov 2022-07-01 11:35:08 PDT
Mass closing plug-in bugs, as plug-in support has been removed from WebKit.

Please comment and/or reopen if this still affects WebKit in some way.