Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 25738effd8eeca9b8d15e492048bdc61c44dd91a
      
https://github.com/WebKit/WebKit/commit/25738effd8eeca9b8d15e492048bdc61c44dd91a
  Author: Lily Spiniolas <[email protected]>
  Date:   2026-05-13 (Wed, 13 May 2026)

  Changed paths:
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h
    M Source/WebCore/page/QuirksData.h

  Log Message:
  -----------
  [iOS] Swiping between pictures in instagram embed may trigger gesture 
recognizers
https://bugs.webkit.org/show_bug.cgi?id=314681
rdar://174936655

Reviewed by Abrar Rahman Protyasha and Wenson Hsieh.

In the News app, when trying to swipe between pictures in an instagram embed,
the gesture for swiping between articles activates. This is because Instagram
does not call preventDefault for touchstart or touchmove, so external gestures
are not prevented when the user swipes as a result.

However, Instagram DOES call preventDefault for touchforcechange. Before
rdar://159705821, the event did not fire in this case. Afterwards, it began to 
fire
due to a bug in the change which caused touch event attributes to be mismatched.
This new bug was fixed with rdar://171567543, after which `touchforcechange` 
stopped
firing, causing Instagram to again behave incorrectly.

Fix this bug by quirking Instagram so that a `touchforcechange` event fires 
once for
each `Touch` even if the force did not actually change.

* Source/WebCore/page/Quirks.cpp:
* Source/WebCore/page/Quirks.h:
* Source/WebCore/page/QuirksData.h:

Canonical link: https://commits.webkit.org/313144@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to