[webkit-changes] [WebKit/WebKit] 3a15e7: Sync 'setSelectionRange' in 'HTMLTextAreaElement.i...

Ahmad Saleem noreply at github.com
Sat Nov 11 15:53:02 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a15e783eb813a35b1fe3c651a0c5fc0c131e05d
      https://github.com/WebKit/WebKit/commit/3a15e783eb813a35b1fe3c651a0c5fc0c131e05d
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-11-11 (Sat, 11 Nov 2023)

  Changed paths:
    M LayoutTests/fast/dom/non-numeric-values-numeric-parameters-expected.txt
    M LayoutTests/fast/dom/non-numeric-values-numeric-parameters.html
    M LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt
    M LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt
    M LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt
    M LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt
    M Source/WebCore/html/HTMLTextAreaElement.idl

  Log Message:
  -----------
  Sync 'setSelectionRange' in 'HTMLTextAreaElement.idl' with WebIDL Specification

https://bugs.webkit.org/show_bug.cgi?id=264673

Reviewed by Chris Dumez.

This patch aligns WebKit with Blink / Chromium, Gecko / Firefox and Web-Specification [1].

[1] https://html.spec.whatwg.org/multipage/form-elements.html#htmltextareaelement

This patch removes 'optional' and '=0' from 'setSelectionRange' arguments as stated.

* Source/WebCore/html/HTMLTextAreaElement.idl:
* LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt: Rebaselined
* LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt: Rebaselined
* LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt: Rebaselined
* LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt: Rebaselined
* LayoutTests/fast/dom/non-numeric-values-numeric-parameters.html: Rebaselined
* LayoutTests/fast/dom/non-numeric-values-numeric-parameters-expected.txt: Rebaselined

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




More information about the webkit-changes mailing list