Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 382cf5bb5c29fe1fe9737e3bfd114ff03a040d95
      
https://github.com/WebKit/WebKit/commit/382cf5bb5c29fe1fe9737e3bfd114ff03a040d95
  Author: Ryosuke Niwa <[email protected]>
  Date:   2026-02-25 (Wed, 25 Feb 2026)

  Changed paths:
    M Source/WebCore/Modules/model-element/HTMLModelElement.h
    M Source/WebCore/dom/Element.h
    M Source/WebCore/html/HTMLAnchorElement.h
    M Source/WebCore/html/HTMLBaseElement.h
    M Source/WebCore/html/HTMLBodyElement.h
    M Source/WebCore/html/HTMLButtonElement.h
    M Source/WebCore/html/HTMLEmbedElement.h
    M Source/WebCore/html/HTMLFormElement.h
    M Source/WebCore/html/HTMLFrameElementBase.h
    M Source/WebCore/html/HTMLImageElement.h
    M Source/WebCore/html/HTMLInputElement.h
    M Source/WebCore/html/HTMLLinkElement.h
    M Source/WebCore/html/HTMLMediaElement.h
    M Source/WebCore/html/HTMLModElement.h
    M Source/WebCore/html/HTMLObjectElement.h
    M Source/WebCore/html/HTMLQuoteElement.h
    M Source/WebCore/html/HTMLScriptElement.h
    M Source/WebCore/html/HTMLSourceElement.h
    M Source/WebCore/html/HTMLTableCellElement.h
    M Source/WebCore/html/HTMLTableElement.h
    M Source/WebCore/html/HTMLTrackElement.h
    M Source/WebCore/html/HTMLVideoElement.h
    M Source/WebCore/mathml/MathMLElement.h
    M Source/WebCore/svg/SVGAElement.h
    M Source/WebCore/svg/SVGScriptElement.cpp
    M Source/WebCore/svg/SVGScriptElement.h
    M Source/WebCore/svg/SVGURIReference.cpp
    M Source/WebCore/svg/SVGURIReference.h

  Log Message:
  -----------
  Mark isURLAttribute, attributeContainsURL, and isHTMLContentAttribute as 
NODELETE
https://bugs.webkit.org/show_bug.cgi?id=308505

Reviewed by Chris Dumez.

Added NODELETE annotations on these functions since they're all trivial.

Also fix a bug in SVGScriptElement that we were comparing attribute's name
with attribute's value, which doesn't make much sense.

* Source/WebCore/Modules/model-element/HTMLModelElement.h:
* Source/WebCore/dom/Element.h:
(WebCore::Element::isURLAttribute const):
(WebCore::Element::attributeContainsURL const):
(WebCore::Element::isHTMLContentAttribute const):
* Source/WebCore/html/HTMLAnchorElement.h:
* Source/WebCore/html/HTMLBaseElement.h:
* Source/WebCore/html/HTMLBodyElement.h:
* Source/WebCore/html/HTMLButtonElement.h:
* Source/WebCore/html/HTMLEmbedElement.h:
* Source/WebCore/html/HTMLFormElement.h:
* Source/WebCore/html/HTMLFrameElementBase.h:
* Source/WebCore/html/HTMLImageElement.h:
* Source/WebCore/html/HTMLInputElement.h:
* Source/WebCore/html/HTMLLinkElement.h:
* Source/WebCore/html/HTMLMediaElement.h:
* Source/WebCore/html/HTMLModElement.h:
* Source/WebCore/html/HTMLObjectElement.h:
* Source/WebCore/html/HTMLQuoteElement.h:
* Source/WebCore/html/HTMLScriptElement.h:
* Source/WebCore/html/HTMLSourceElement.h:
* Source/WebCore/html/HTMLTableCellElement.h:
* Source/WebCore/html/HTMLTableElement.h:
* Source/WebCore/html/HTMLTrackElement.h:
* Source/WebCore/html/HTMLVideoElement.h:
* Source/WebCore/mathml/MathMLElement.h:
* Source/WebCore/svg/SVGAElement.h:
* Source/WebCore/svg/SVGScriptElement.cpp:
(WebCore::SVGScriptElement::isURLAttribute const):
* Source/WebCore/svg/SVGScriptElement.h:
* Source/WebCore/svg/SVGURIReference.cpp:
(WebCore::SVGURIReference::isKnownAttribute):
* Source/WebCore/svg/SVGURIReference.h:

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



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

Reply via email to