Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 11632dcce8d13985cf29c0f7cbb5506c3f6db2f6
      
https://github.com/WebKit/WebKit/commit/11632dcce8d13985cf29c0f7cbb5506c3f6db2f6
  Author: Alice Boxhall <aboxh...@chromium.org>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M Source/WebCore/html/FormAssociatedElement.cpp
    M Source/WebCore/html/FormAssociatedElement.h
    M Source/WebCore/html/HTMLButtonElement.idl
    M Source/WebCore/html/HTMLFieldSetElement.idl
    M Source/WebCore/html/HTMLInputElement.idl
    M Source/WebCore/html/HTMLLabelElement.cpp
    M Source/WebCore/html/HTMLLabelElement.h
    M Source/WebCore/html/HTMLLabelElement.idl
    M Source/WebCore/html/HTMLLegendElement.cpp
    M Source/WebCore/html/HTMLLegendElement.h
    M Source/WebCore/html/HTMLLegendElement.idl
    M Source/WebCore/html/HTMLObjectElement.idl
    M Source/WebCore/html/HTMLOptionElement.cpp
    M Source/WebCore/html/HTMLOptionElement.h
    M Source/WebCore/html/HTMLOptionElement.idl
    M Source/WebCore/html/HTMLOutputElement.idl
    M Source/WebCore/html/HTMLSelectElement.idl
    M Source/WebCore/html/HTMLTextAreaElement.idl

  Log Message:
  -----------
  Add formForBindings() and controlForBindings() methods.
https://bugs.webkit.org/show_bug.cgi?id=287536

Reviewed by Ryosuke Niwa.

These methods currently delegate directly to form() and control() respectively,
but will later be modified to ensure that nodes don't leak out of shadow roots
once referenceTarget is supported.

* Source/WebCore/html/FormAssociatedElement.cpp:
(WebCore::FormAssociatedElement::formForBindings const):
* Source/WebCore/html/FormAssociatedElement.h:
* Source/WebCore/html/HTMLButtonElement.idl:
* Source/WebCore/html/HTMLFieldSetElement.idl:
* Source/WebCore/html/HTMLInputElement.idl:
* Source/WebCore/html/HTMLLabelElement.cpp:
(WebCore::HTMLLabelElement::controlForBindings const):
(WebCore::HTMLLabelElement::formForBindings const):
* Source/WebCore/html/HTMLLabelElement.h:
* Source/WebCore/html/HTMLLabelElement.idl:
* Source/WebCore/html/HTMLLegendElement.cpp:
(WebCore::HTMLLegendElement::formForBindings const):
* Source/WebCore/html/HTMLLegendElement.h:
* Source/WebCore/html/HTMLLegendElement.idl:
* Source/WebCore/html/HTMLObjectElement.idl:
* Source/WebCore/html/HTMLOptionElement.cpp:
(WebCore::HTMLOptionElement::formForBindings const):
* Source/WebCore/html/HTMLOptionElement.h:
* Source/WebCore/html/HTMLOptionElement.idl:
* Source/WebCore/html/HTMLOutputElement.idl:
* Source/WebCore/html/HTMLSelectElement.idl:
* Source/WebCore/html/HTMLTextAreaElement.idl:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to