Closed
Bug 1458927
Opened 7 years ago
Closed 7 years ago
Fix squared distance computation for Perspective.
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox-esr60 | --- | wontfix |
firefox60 | --- | wontfix |
firefox61 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
Followup to bug 1458715, which I couldn't land because it broke a test that relied on the specific value.
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8972908 [details]
Bug 1458927: Fix perspective squared distance computation.
https://reviewboard.mozilla.org/r/241464/#review247400
Thanks!
I believe this is the right thing to do, given that 'perspective' property is defined as animatable as length. (This is for perspective function in transform property though)
https://drafts.csswg.org/css-transforms-2/#propdef-perspective
Attachment #8972908 -
Flags: review?(hikezoe) → review+
Comment 3•7 years ago
|
||
Gosh. I wanted to leave NI to Boris since he can audit this change when we come back. But unfortunately he don't accept NI for now. I am leaving NI to myself instead.
Flags: needinfo?(hikezoe)
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/d42fb2ba68a4
Fix perspective squared distance computation. r=hiro
Comment 5•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Updated•7 years ago
|
status-firefox60:
--- → wontfix
status-firefox-esr52:
--- → unaffected
status-firefox-esr60:
--- → wontfix
Comment 6•7 years ago
|
||
Boris, I've heard you come back today on July 2nd.
I believe the change here is a proper fix, but I'd like you to check this too.
Thanks and welcome back!
Flags: needinfo?(hikezoe) → needinfo?(boris.chiou)
Comment 7•7 years ago
|
||
This should be fine. We don't have spec to define the distance between two perspective() functions. I used "1/x" for this only because I'd like to compute the distance as the perspective transformed matrix.
Flags: needinfo?(boris.chiou)
Comment 8•7 years ago
|
||
Thank you, Boris!
You need to log in
before you can comment on or make changes to this bug.
Description
•