Closed
Bug 1498734
Opened 6 years ago
Closed 6 years ago
Always compute angle values to degrees.
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
Details
Attachments
(1 file)
This matches the spec, https://drafts.csswg.org/css-values/#angles, which says: > All <angle> units are compatible, and deg is their canonical unit. And also other implementations (Blink always serializes angles as degrees in computed style for example). Also allows us to get rid of quite a bit of code, and makes computed angle value representation just a number, which is nice.
Assignee | ||
Comment 1•6 years ago
|
||
This matches the spec, https://drafts.csswg.org/css-values/#angles, which says: > All <angle> units are compatible, and deg is their canonical unit. And also other implementations (Blink always serializes angles as degrees in computed style for example). Also allows us to get rid of quite a bit of code, and makes computed angle value representation just a number, which is nice.
Assignee | ||
Comment 2•6 years ago
|
||
It also removes one of my oldest FIXMEs in the codebase ;)
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/7584ce8674c2 Always compute angle values to degrees. r=xidorn
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/ebaf166c5731 remove unneeded cast. r=me
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7584ce8674c2 https://hg.mozilla.org/mozilla-central/rev/ebaf166c5731
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/13500 for changes under testing/web-platform/tests
Can't merge web-platform-tests PR due to failing upstream checks: Github PR https://github.com/web-platform-tests/wpt/pull/13500 * Taskcluster (pull_request) (https://tools.taskcluster.net/task-group-inspector/#/Tt_uM_-GSQiMLc4qX5upAQ)
Upstream PR merged
You need to log in
before you can comment on or make changes to this bug.
Description
•