Title: [265067] trunk/Source/WebCore
Revision
265067
Author
[email protected]
Date
2020-07-29 16:34:55 -0700 (Wed, 29 Jul 2020)

Log Message

[iPadOS] Custom dropdown menu dismisses immediately on account.nhl.com
https://bugs.webkit.org/show_bug.cgi?id=214944
<rdar://problem/66248506>

Reviewed by Jer Noble.

Exempt account.nhl.com from site-specific "simulated mouse events" behavior, since it is incompatible with some
custom dropdown menus that appear on this website.

* page/Quirks.cpp:
(WebCore::Quirks::shouldDispatchSimulatedMouseEvents const):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (265066 => 265067)


--- trunk/Source/WebCore/ChangeLog	2020-07-29 23:29:48 UTC (rev 265066)
+++ trunk/Source/WebCore/ChangeLog	2020-07-29 23:34:55 UTC (rev 265067)
@@ -1,3 +1,17 @@
+2020-07-29  Wenson Hsieh  <[email protected]>
+
+        [iPadOS] Custom dropdown menu dismisses immediately on account.nhl.com
+        https://bugs.webkit.org/show_bug.cgi?id=214944
+        <rdar://problem/66248506>
+
+        Reviewed by Jer Noble.
+
+        Exempt account.nhl.com from site-specific "simulated mouse events" behavior, since it is incompatible with some
+        custom dropdown menus that appear on this website.
+
+        * page/Quirks.cpp:
+        (WebCore::Quirks::shouldDispatchSimulatedMouseEvents const):
+
 2020-07-29  Clark Wang  <[email protected]>
 
         Added constructor methods to ChannelMergerNode, ChannelSplitterNode

Modified: trunk/Source/WebCore/page/Quirks.cpp (265066 => 265067)


--- trunk/Source/WebCore/page/Quirks.cpp	2020-07-29 23:29:48 UTC (rev 265066)
+++ trunk/Source/WebCore/page/Quirks.cpp	2020-07-29 23:34:55 UTC (rev 265067)
@@ -366,7 +366,7 @@
             return true;
         if (host == "naver.com")
             return true;
-        if (host == "nhl.com" || host.endsWith(".nhl.com"))
+        if (host == "nhl.com" || (host.endsWith(".nhl.com") && !host.startsWith("account.")))
             return true;
         if (host == "nba.com" || host.endsWith(".nba.com"))
             return true;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to