| Index: Source/core/events/EventPath.cpp
|
| diff --git a/Source/core/events/EventPath.cpp b/Source/core/events/EventPath.cpp
|
| index 0482f4253fdf6315ffa6e4f32b2c73ea2fb07b50..4a6207d970d20b22b6c2e32993233731bb64985d 100644
|
| --- a/Source/core/events/EventPath.cpp
|
| +++ b/Source/core/events/EventPath.cpp
|
| @@ -39,7 +39,6 @@
|
| #include "core/events/MouseEvent.h"
|
| #include "core/events/TouchEvent.h"
|
| #include "core/events/TouchEventContext.h"
|
| -#include "core/html/HTMLMediaElement.h"
|
| #include "core/svg/SVGElementInstance.h"
|
| #include "core/svg/SVGUseElement.h"
|
|
|
| @@ -82,15 +81,6 @@ static inline bool inTheSameScope(ShadowRoot* shadowRoot, EventTarget* target)
|
|
|
| static inline EventDispatchBehavior determineDispatchBehavior(Event* event, ShadowRoot* shadowRoot, EventTarget* target)
|
| {
|
| - // Video-only full screen is a mode where we use the shadow DOM as an implementation
|
| - // detail that should not be detectable by the web content.
|
| - if (Element* element = FullscreenElementStack::currentFullScreenElementFrom(target->toNode()->document())) {
|
| - // FIXME: We assume that if the full screen element is a media element that it's
|
| - // the video-only full screen. Both here and elsewhere. But that is probably wrong.
|
| - if (isHTMLMediaElement(*element) && shadowRoot && shadowRoot->host() == element)
|
| - return StayInsideShadowDOM;
|
| - }
|
| -
|
| // WebKit never allowed selectstart event to cross the the shadow DOM boundary.
|
| // Changing this breaks existing sites.
|
| // See https://bugs.webkit.org/show_bug.cgi?id=52195 for details.
|
|
|