DOMMatrix: rotateAxisAngleSelf(0, 0, z, alpha) should result in 2D matrix
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox142 | --- | fixed |
People
(Reporter: danburzo, Assigned: saschanaz)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:140.0) Gecko/20100101 Firefox/140.0
Steps to reproduce:
Evaluate: new DOMMatrix().rotateAxisAngleSelf(0,0,3,30).is2D
Actual results:
The resulting matrix should be 2D.
Expected results:
is2D = false
Oops, I mixed up the expected and actual fields. What I meant is that according to spec, rotateAxisAngleSelf() produces a 2D matrix (is2D = true
) when both x
and y
are zero. Currently, Firefox 140/macOS returns is2D = false
.
Updated•2 months ago
|
Comment 2•2 months ago
|
||
Kagami, looks like you worked on DOMMatrix.cpp
, could you check this bug report? Thanks!
Assignee | ||
Comment 3•2 months ago
|
||
I wonder it's worth keeping the current implementation deviation that we don't have is2D check but instead have mMatrix2D/3D. Seems that only complicates the implementation without a clear win.
Updated•2 months ago
|
Assignee | ||
Updated•2 months ago
|
Backed out for causing mochitest failures @ test_WebKitCSSMatrix.html
Assignee | ||
Updated•2 months ago
|
Comment 11•2 months ago
|
||
bugherder |
Updated•1 month ago
|
Description
•