Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5938e574e91a1610d37b0e038b2cb4141ed76f11
      
https://github.com/WebKit/WebKit/commit/5938e574e91a1610d37b0e038b2cb4141ed76f11
  Author: Ahmad Saleem <ahmad.saleem792+git...@gmail.com>
  Date:   2025-09-08 (Mon, 08 Sep 2025)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/svg/interact/scripted/async-01-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/svg/interact/scripted/async-04-expected.txt
    R LayoutTests/svg/dom/SVGScriptElement/script-async-attr-expected.txt
    R LayoutTests/svg/dom/SVGScriptElement/script-async-attr.svg
    M Source/WebCore/svg/SVGScriptElement.cpp
    M Source/WebCore/svg/SVGScriptElement.h
    M Source/WebCore/svg/SVGScriptElement.idl
    M Source/WebCore/svg/svgattrs.in

  Log Message:
  -----------
  [SVG] Add `async` attribute support in `SVGScriptElement`
https://bugs.webkit.org/show_bug.cgi?id=292835
rdar://problem/151561361

Reviewed by Anne van Kesteren.

Thia patch aligns WebKit with Gecko / Firefox and Blink / Chromium.

This patch adds support for `async` attribute support in SVGScriptElement
similar to HTMLScriptElement as per web specification [1] & [2]:

[1] https://www.w3.org/2012/01/05-svg-irc#T21-07-03
[2] https://www.w3.org/TR/SVG2/interact.html#ScriptElement

Following issue [3] is open to add it to SVG 2.0 IDL interfaces.

[3] https://github.com/w3c/svgwg/issues/918

* Source/WebCore/svg/SVGScriptElement.cpp:
(WebCore::SVGScriptElement::attributeChanged):
(WebCore::SVGScriptElement::async const):
(WebCore::SVGScriptElement::hasAsyncAttribute const):
* Source/WebCore/svg/SVGScriptElement.h:
* Source/WebCore/svg/SVGScriptElement.idl:
* Source/WebCore/svg/svgattrs.in:
* 
LayoutTests/imported/w3c/web-platform-tests/svg/interact/scripted/async-01-expected.txt:
 Progression
* 
LayoutTests/imported/w3c/web-platform-tests/svg/interact/scripted/async-04-expected.txt:
 Ditto
* LayoutTests/svg/dom/SVGScriptElement/script-async-attr-expected.txt: Removed.
* LayoutTests/svg/dom/SVGScriptElement/script-async-attr.svg: Removed.

Canonical link: https://commits.webkit.org/299735@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