[Webkit-unassigned] [Bug 263748] [GeometryInterface] Add `scaleNonUniform` in DOMMatrixReadOnly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 18 06:33:55 PST 2023


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

--- Comment #2 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
>> Source/WebCore/css/DOMMatrixReadOnly.cpp

Ref<DOMMatrix> DOMMatrixReadOnly::scaleNonUniform(double scaleX, double scaleY)
{
    auto matrix = cloneAsDOMMatrix();
    return matrix->scaleSelf(scaleX, scaleY, 1, 0, 0, 0);
}

>> Source/WebCore/css/DOMMatrixReadOnly.h:

Ref<DOMMatrix> scaleNonUniform(double scaleX = 1, double scaleY = 1);

>> Source/WebCore/css/DOMMatrixReadOnly.idl:

[NewObject] DOMMatrix scaleNonUniform(optional unrestricted double scaleX = 1,
                                      optional unrestricted double scaleY = 1);

___

This compiles and progress few tests cases.

I can sync 'WPT' and do above to at least progress few tests cases and as for remaining, I am happy to create separate bugs.

-- 
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/20231118/5af31348/attachment.htm>


More information about the webkit-unassigned mailing list