Bug 119348 - RenderEmbeddedObject::isReplacementObscured is wrong if an obscuring element has pointer-events: none set
Summary: RenderEmbeddedObject::isReplacementObscured is wrong if an obscuring element ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-31 12:19 PDT by Tim Horton
Modified: 2013-07-31 12:26 PDT (History)
3 users (show)

See Also:


Attachments
patch to change the test expectations (4.05 KB, patch)
2013-07-31 12:22 PDT, Tim Horton
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.