Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8fc96363d0830293233fb13fe8fc027c30c8a0c1
      
https://github.com/WebKit/WebKit/commit/8fc96363d0830293233fb13fe8fc027c30c8a0c1
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2026-02-26 (Thu, 26 Feb 2026)

  Changed paths:
    M Source/WebCore/Modules/model-element/HTMLModelElement.cpp
    M Source/WebCore/Modules/model-element/HTMLModelElement.h

  Log Message:
  -----------
  iOS <model> requires the registration of touch listeners to enable rotations
https://bugs.webkit.org/show_bug.cgi?id=308757
rdar://170737724

Reviewed by Etienne Segonzac.

Touch events weren't reaching HTMLModelElement on iOS unless the page
already registered a touch start/move/end listener on the document.

<model> is supposed to support rotations when stageMode is 'orbit' without
such event listeners being registered by the site, so add these on iOS
to support orbit stage mode without the addition of event listeners.

* Source/WebCore/Modules/model-element/HTMLModelElement.cpp:
(WebCore::HTMLModelElement::insertedIntoAncestor):
* Source/WebCore/Modules/model-element/HTMLModelElement.h:

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



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

Reply via email to