Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bf33722504a316a171dc877cdf2ff726ba2939f1
      
https://github.com/WebKit/WebKit/commit/bf33722504a316a171dc877cdf2ff726ba2939f1
  Author: Karl Dubost <[email protected]>
  Date:   2026-06-29 (Mon, 29 Jun 2026)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/types/SameObject-identity-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/svg/types/SameObject-identity.html

  Log Message:
  -----------
  WPT: add runtime [SameObject] identity coverage across the SVG2 DOM
https://bugs.webkit.org/show_bug.cgi?id=318060
rdar://180852743

Reviewed by Brent Fulgham.

The SVG 2 IDL applies the WebIDL [SameObject] extended attribute
to ~80 readonly attributes

* every SVGAnimated* wrapper (x, y, width, cx, transform, gradientUnits,
  href, …),
* their baseVal/animVal sub-objects,
* the live lists (points, requiredExtensions, systemLanguage),
* viewBox, preserveAspectRatio, SVGTransform.matrix, currentTranslate,
  and relList.

[SameObject] requires the getter to return the same object on every
access. This adds a WPT test to verify that the rule is respected for
all properties, and avoid any regressions in the future.

* 
LayoutTests/imported/w3c/web-platform-tests/svg/types/SameObject-identity-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/svg/types/SameObject-identity.html: 
Added.

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



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

Reply via email to