Canvas animation can't be zoomed in
Categories
(Core :: DOM: Bindings (WebIDL), defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox119 | --- | unaffected |
firefox120 | --- | disabled |
firefox121 | --- | disabled |
firefox122 | --- | verified |
People
(Reporter: sbadau, Assigned: emilio)
References
(Depends on 1 open bug, Regressed 3 open bugs, Regression)
Details
(Keywords: regression)
Attachments
(2 files)
Found in
- Nightly 121.0a1
Affected versions
- Nightly 121.01
Tested platforms
- Affected platforms: macOS 11.7, Windows 10, Ubuntu 22.04
Steps to reproduce
- Navigate to: http://www.effectgames.com/demos/canvascycle/?sound=0
- Click on Show Option -> Max (from the ZOOM section).
Expected result
- The Canvas animation should be zoomed in.
Actual result
- The canvas animation remains unchanged in size. For additional details, please see the attached screen recording.
Regression range
Found commit message:
Bug 1855763 - Disable -moz-transform and enable zoom on Nightly. r=zcorpan
Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=afe375a5bb0a870f7283fc330c2dc8c8bd2ee965&tochange=793a305aa0628613e6681be3a57c4b089fdecf4c
Comment 2•7 months ago
|
||
:emilio, since you are the author of the regressor, bug 1855763, could you take a look?
For more information, please visit BugBot documentation.
Assignee | ||
Comment 3•7 months ago
|
||
Why tho :'(
if (ua.webkit) sty.webkitTransform = 'translate3d(0px, 0px, 0px) scale('+this.contentSize.scale+')';
else if (ua.ff) sty.MozTransform = 'scale('+this.contentSize.scale+')';
else if (ua.op) sty.OTransform = 'scale('+this.contentSize.scale+')';
else sty.transform = 'scale('+this.contentSize.scale+')';
More -moz-transform fallout...
Assignee | ||
Comment 4•7 months ago
|
||
Shipping CSS zoom requires to remove -moz-transform from stylesheets.
That's generally fine, however we've seen a bunch of regressions due to
sites doing broken feature detection in JS (see bugs mentioned in the
patch).
It seems like exposing MozTransform in CSSStyleDeclaration is a
requirement, for some pages.
We could expose it conditionally with some sort of reverse origin trial
or what not, but given the amount of regressions only on Nightly, and
that this is harmless if you do proper feature detection, I think I'd
rather expose it unconditionally, rather than playing whack-a-mole
fixing pages after the fact.
Note that this change currently only affects behavior on Nightly,
because on other release channels -moz-transform is enabled right now.
Updated•7 months ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d92146952904 Expose MozTransform in CSSStyleDeclaration unconditionally. r=jwatt
Comment 6•7 months ago
|
||
Backed out for causing wpt failures in CSS-supports-CSSStyleDeclaration.html
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | /css/css-conditional/js/CSS-supports-CSSStyleDeclaration.html | -moz-transform: _camel_cased_attribute v. CSS.supports - assert_equals: expected true but got false
TEST-UNEXPECTED-FAIL | /css/css-conditional/js/CSS-supports-CSSStyleDeclaration.html | -moz-transform: _dashed_attribute v. CSS.supports - assert_equals: expected true but got false
Assignee | ||
Updated•7 months ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/de35cb5de975 Expose MozTransform in CSSStyleDeclaration unconditionally. r=jwatt
Comment 8•7 months ago
|
||
bugherder |
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/43289 for changes under testing/web-platform/tests
Reporter | ||
Comment 10•7 months ago
|
||
Verified as fixed on the latest Nightly 122.oa1 on Ubuntu 22.04 x64, macOS 11.7, and Windows 10.
Upstream PR merged by moz-wptsync-bot
Reporter | ||
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Description
•