[webkit-changes] [WebKit/WebKit] 45eab1: Don't allow text selection to start on a HTMLMedia...

Ahmad Saleem noreply at github.com
Wed Dec 14 14:22:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 45eab14f59252dde66d9a3bf9bffedada1ecfd34
      https://github.com/WebKit/WebKit/commit/45eab14f59252dde66d9a3bf9bffedada1ecfd34
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

  Changed paths:
    A LayoutTests/media/video-controls-start-selection-expected.txt
    A LayoutTests/media/video-controls-start-selection.html
    M Source/WebCore/html/HTMLMediaElement.h

  Log Message:
  -----------
  Don't allow text selection to start on a HTMLMediaElement

Don't allow text selection to start on a HTMLMediaElement
https://bugs.webkit.org/show_bug.cgi?id=249249

Reviewed by Ryosuke Niwa.

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

Merge - https://src.chromium.org/viewvc/blink?revision=196741&view=revision

This patch introduces a bool function with the return value of 'false' to disable text selection on media element controls.

* Source/WebCore/html/HTMLMediaElement.h: Add 'bool' with return value of 'false'
* LayoutTests/media/video-controls-start-selection.html: Add Test Case
* LayoutTests/media/video-controls-start-selection-expected.txt: Add Test Case Expectation

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




More information about the webkit-changes mailing list