[webkit-changes] [WebKit/WebKit] 098993: Fix focus traversal for HTMLPluginElement

Ahmad Saleem noreply at github.com
Mon Nov 21 00:27:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0989933dce571efb250060e4cc47d5c952fbf917
      https://github.com/WebKit/WebKit/commit/0989933dce571efb250060e4cc47d5c952fbf917
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2022-11-21 (Mon, 21 Nov 2022)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/chrome-object-tab-focus-bug-expected.txt
    A LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/interaction/focus/chrome-object-tab-focus-bug-expected.txt
    M Source/WebCore/html/HTMLPlugInElement.cpp

  Log Message:
  -----------
  Fix focus traversal for HTMLPluginElement

Fix focus traversal for HTMLPluginElement
https://bugs.webkit.org/show_bug.cgi?id=248138

Reviewed by Ryosuke Niwa.

This patch is to align Webkit behavior with Blink / Chrome and Gecko / Firefox.

Merge - https://chromium.googlesource.com/chromium/src/+/2d8d2b205c31e236b1ff896cc5530402ce858212

It is to remove early return when the widget / plugin is not present.

* Source/WebCore/html/HTMLPlugInElement.cpp:
(HTMLPlugInElement::defaultEventHandler): Fix early return
* LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/chrome-object-tab-focus-bug-expected.txt: Rebaselined
* LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/interaction/focus/chrome-object-tab-focus-bug-expected.txt: Add platform specific expectation

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




More information about the webkit-changes mailing list