Closed
Bug 1241727
Opened 9 years ago
Closed 9 years ago
WebKitCSSMatrix inverse() should throw NotSupportedError
Categories
(Core :: DOM: CSS Object Model, defect)
Core
DOM: CSS Object Model
Tracking
()
RESOLVED
FIXED
mozilla47
People
(Reporter: miketaylr, Assigned: wchen)
References
()
Details
Attachments
(1 file)
(deleted),
patch
|
baku
:
review+
lizzard
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
DOMMatrixReadyOnly.invertSelf() says to return a pile of NaNs, but WebKitCSSMatrix should actually throw a NotSupportedError DOMException to be compatible with Blink and WebKit.
I've updated the spec to match their behavior in https://github.com/whatwg/compat/commit/b649853f2c35cd9def15fbef6c35eac2a6e43aa9.
Reporter | ||
Comment 1•9 years ago
|
||
Note: we don't know if this is actually needed for webcompat -- but it matches the behavior of Safari, Chrome and Edge (and is required to pass WebKit layout tests).
Assignee | ||
Comment 2•9 years ago
|
||
Assignee: nobody → wchen
Attachment #8711250 -
Flags: review?(amarchesini)
Updated•9 years ago
|
Attachment #8711250 -
Flags: review?(amarchesini) → review+
Comment 4•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Comment 5•9 years ago
|
||
bugherder |
Reporter | ||
Comment 6•9 years ago
|
||
Comment on attachment 8711250 [details] [diff] [review]
Inverting non-invertable WebKitCSSMatrix should throw NotSupportedError.
Approval Request Comment
[Feature/regressing bug #]:
Bug 717722 for WebKitCSSMatrix support.
[User impact if declined]:
Unknown. It makes us less compatible with Chrome, Safari and Edge in theory. In practice we don't know if sites are broken as a result -- but it would be ideal to ship WebKitCSSMatrix and its related bug fixes in the same release (even if it won't ship past Aurora for the time being).
[Describe test coverage new/current, TreeHerder]:
Tests in patch.
[Risks and why]:
For web content, there's low risk. No web content is depending on the previous (spec-bug) behavior. Web content may be depending on the behavior this fix provides.
[String/UUID change made/needed]:
None (UUID changes are not for webidl, right?)
Attachment #8711250 -
Flags: approval-mozilla-aurora?
Comment on attachment 8711250 [details] [diff] [review]
Inverting non-invertable WebKitCSSMatrix should throw NotSupportedError.
Improves web compat, includes tests. SGTM! Please uplift to aurora.
Attachment #8711250 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 8•9 years ago
|
||
bugherder uplift |
status-firefox46:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•