Closed Bug 1560480 Opened 5 years ago Closed 5 years ago

DOMMatrix.prototype.rotate() doesn't align with the spec

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

69 Branch
enhancement

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: saschanaz, Assigned: saschanaz)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

https://github.com/w3c/fxtf-drafts/commit/430bc88c806091a93aa51a4a3f6c04be7639aa2e

The spec changed in 2016 to support 3D rotation without translation but the Firefox implementation only supports 2D rotation+translation.

Example:

new DOMMatrix([1,2,3,4,5,6]).rotate(6,6,6).is2D // expected `false`, actual `true`
Type: defect → enhancement
Priority: -- → P3

Supports 3D rotation as the spec does.

Assignee: nobody → saschanaz
Keywords: checkin-needed

Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/bb9f7df3f736
Align DOMMatrix rotate*() with the spec r=bzbarsky

Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/17698 for changes under testing/web-platform/tests
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: