[Webkit-unassigned] [Bug 256422] New: [SameObject] missing from few SVG IDL files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 6 18:34:52 PDT 2023


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

            Bug ID: 256422
           Summary: [SameObject] missing from few SVG IDL files
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: cdumez at apple.com, rniwa at webkit.org,
                    sabouhallawa at apple.com

Hi Team,

While going through few files, I noticed that the [SameObject] is missing from following:

* Source/WebCore/svg/SVGAnimatedLengthList.idl:

It should be:

[SameObject] readonly attribute SVGLengthList baseVal;
[SameObject] readonly attribute SVGLengthList animVal;

As per spec: https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedLengthList

* Source/WebCore/svg/SVGAnimatedNumberList.idl:

[SameObject] readonly attribute SVGNumberList baseVal;
[SameObject] readonly attribute SVGNumberList animVal;

As per spec: https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedNumberList

* Source/WebCore/svg/SVGAnimatedRect.idl:

[SameObject] readonly attribute SVGRect baseVal;
[SameObject] readonly attribute SVGRect animVal;

https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedRect

^ As per spec, it should be DOMRec and DOMRectReadOnly as well.

* Source/WebCore/svg/SVGImageElement.idl:

[SameObject] readonly attribute SVGAnimatedLength x;
[SameObject] readonly attribute SVGAnimatedLength y;
[SameObject] readonly attribute SVGAnimatedLength width;
[SameObject] readonly attribute SVGAnimatedLength height;
[SameObject] readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;

As per spec - https://svgwg.org/svg2-draft/embedded.html#InterfaceSVGImageElement

_______

There might be more cases but just highlighting few examples.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230507/861b03c1/attachment.htm>


More information about the webkit-unassigned mailing list