Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: be13f86bc9486fe2d629ea46b67496da3e1057d2
      
https://github.com/WebKit/WebKit/commit/be13f86bc9486fe2d629ea46b67496da3e1057d2
  Author: Jessica Cheung <[email protected]>
  Date:   2026-08-20 (Thu, 20 Aug 2026)

  Changed paths:
    A 
LayoutTests/fast/visual-viewport/ios/interactive-widget/dynamic-meta-tag-mutation-expected.txt
    A 
LayoutTests/fast/visual-viewport/ios/interactive-widget/dynamic-meta-tag-mutation.html
    M Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm

  Log Message:
  -----------
  [interactive-widget] Viewport does not reflect dynamically changed value
https://bugs.webkit.org/show_bug.cgi?id=322197
rdar://185436571

Reviewed by Aditya Keerthi and Abrar Rahman Protyasha.

Currrently, when dynamically changing the interactive-widget
value after the keyboard is up, the value will change internally
but nothing acts upon the changed value. This is because only events
will trigger the update (e.g. bound changing, keyboard invoking).

So, if detected that the value has differed from the previous
interactive-widget value, re-dispatch the view layout size and
schedule a visible content rect update.

Add a layout test for this issue and verify it fails without the fix.
The test goes through these value changes:
1. Starts off initially with no value specified
2. Changes to resizes-content
3. Changes to overlays-content
4. Tries to change to resize-content but is invalid, thus falling back
to resizes-visual
5. Changes back to resizes-content

* 
LayoutTests/fast/visual-viewport/ios/interactive-widget/dynamic-meta-tag-mutation-expected.txt:
 Added.
* 
LayoutTests/fast/visual-viewport/ios/interactive-widget/dynamic-meta-tag-mutation.html:
 Added.
* Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:
(-[WKWebView _didCommitLayerTree:mainFrameData:pageData:transactionID:]):

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



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

Reply via email to