• timothy_horton@apple.com's avatar
    isReplacementObscured is wrong when the indicator is clipped by an iframe · 2d405bad
    timothy_horton@apple.com authored
    Reviewed by Simon Fraser.
    Hit-test for plugin obscurity in the root document. To do this, we also need
    to convert the indicator rectangle into root view coordinates before
    hit testing its edges.
    This resolves the case where an iframe which clips its content was reporting
    the indicator as not obscured, despite the fact that it was obscured from the
    point of view of the user.
    Updated test plugins/unavailable-plugin-indicator-obscurity.html
    * rendering/RenderEmbeddedObject.cpp:
    Update the unavailable plugin indicator test to also ensure that plugins are
    correctly known to be obscured when contained within and clipped by an <iframe>.
    * plugins/unavailable-plugin-indicator-obscurity-expected.txt:
    * plugins/unavailable-plugin-indicator-obscurity.html:
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog 1.72 MB