Clamp perspective() values to 1px for interpolation
Categories
(Core :: Web Painting, defect)
Tracking
()
People
(Reporter: mattwoodrow, Assigned: mattwoodrow)
References
Details
Attachments
(1 obsolete file)
As resolved in https://github.com/w3c/csswg-drafts/issues/6320 perspective() values less than 1px should be clamped to 1px, for rendering and for interpolation.
dbaron added a bunch of new WPTs for this, landed into gecko in bug 1713961.
Assignee | ||
Comment 1•3 years ago
|
||
Comment 3•3 years ago
|
||
Backed out for causing failures at perspective-zero-2.html.
Backout link: https://hg.mozilla.org/integration/autoland/rev/dd1fb02e6ff3236d605665f37479b56a247c4ec1
Failure log: https://treeherder.mozilla.org/logviewer?job_id=343449315&repo=autoland&lineNumber=2327
Assignee | ||
Comment 4•3 years ago
|
||
As discussed with dbaron over email, I've made a change to transform-perspective-composition.html to reflect that perspective now gets clamped to 1px.
Comment 8•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a1cbf18d246a
https://hg.mozilla.org/mozilla-central/rev/c6f25f745d82
Comment 10•3 years ago
|
||
Given the regressions would it make sense to back this out of 91 so we can address the issues before shipping this change?
Assignee | ||
Comment 11•3 years ago
|
||
(In reply to Julien Cristau [:jcristau] from comment #10)
Given the regressions would it make sense to back this out of 91 so we can address the issues before shipping this change?
Yeah I think we should back it out and hold it back a cycle while Chrome ships it and we get the spec issue resolved.
Comment 12•3 years ago
|
||
backout |
Backed out from 91.0/91.0esr:
https://hg.mozilla.org/releases/mozilla-release/rev/21117c65bd6e
https://hg.mozilla.org/releases/mozilla-esr91/rev/e282d2755c53
Comment 13•3 years ago
|
||
Matt, is there some way we can limit the scope of these changes to Nightly only while the various issues get sorted out?
Assignee | ||
Comment 14•3 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #13)
Matt, is there some way we can limit the scope of these changes to Nightly only while the various issues get sorted out?
Not super easily unfortunately.
We should probably just back out of beta since the fix hasn't yet landed on Nightly.
Comment 15•3 years ago
|
||
Backed out for 92.0b5.
https://hg.mozilla.org/releases/mozilla-beta/rev/3985a744b1c431ab84b8c43b7edcaab1ca202c39
Updated•3 years ago
|
Comment 16•3 years ago
|
||
Matt, there is still a dependency on a testcase that crashes Firefox (I just tried, it does crash without a crash report). Given that no crash report is sent, I have no idea if this is likely to happen in the wild or if it is limited to this testcase. Do you think that we can let the feature ride to release in 93 or should I back it out as we did in beta 91 and 92? Thanks
Assignee | ||
Comment 17•3 years ago
|
||
(In reply to Pascal Chevrel:pascalc from comment #16)
Matt, there is still a dependency on a testcase that crashes Firefox (I just tried, it does crash without a crash report). Given that no crash report is sent, I have no idea if this is likely to happen in the wild or if it is limited to this testcase. Do you think that we can let the feature ride to release in 93 or should I back it out as we did in beta 91 and 92? Thanks
I don't think this is really a regression, it's an issue with tiny perspective values and exists already on release.
The change here just clamps perspective(0) to perspective(1px), which affects this test case and makes it exhibit the problematic behaviour. Editing this testcase to have perspective(1px) makes the same problem happen on older releases.
It's possible that this change makes more websites run into this existing issue, but I wouldn't expect it to be very common.
Updated•3 years ago
|
Description
•