Bug 267190
| Summary: | Sync 'SVGTransform.idl' with WebIDL Specification | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | sabouhallawa, webkit-bug-importer, zimmermann |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ahmad Saleem
Hi Team,
While looking into bug 267182 and bug 267186, I noticed that we are out of sync for 'SVGTransform' as well.
Web-Spec: https://svgwg.org/svg2-draft/coords.html#InterfaceSVGTransform
Our current:
readonly attribute SVGMatrix matrix;
readonly attribute unrestricted float angle;
undefined setMatrix(optional DOMMatrix2DInit matrix);
undefined setTranslate(unrestricted float tx, unrestricted float ty);
undefined setScale(unrestricted float sx, unrestricted float sy);
undefined setRotate(unrestricted float angle, unrestricted float cx, unrestricted float cy);
undefined setSkewX(unrestricted float angle);
undefined setSkewY(unrestricted float angle);
Expected:
[SameObject] readonly attribute SVGMatrix matrix;
readonly attribute float angle;
undefined setMatrix(optional DOMMatrix2DInit matrix = {});
undefined setTranslate(float tx, float ty);
undefined setScale(float sx, float sy);
undefined setRotate(float angle, float cx, float cy);
undefined setSkewX(float angle);
undefined setSkewY(float angle);
__
Just wanted to raise to fix it.
Thanks
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
EWS
Committed 272751@main (be98f63ecae4): <https://commits.webkit.org/272751@main>
Reviewed commits have been landed. Closing PR #22473 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/120619501>