CSS "zoom: 0" behaves differently from other browsers
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox70 | --- | unaffected |
firefox71 | --- | unaffected |
firefox72 | --- | fixed |
People
(Reporter: nanto, Assigned: emilio)
References
(Regression, )
Details
(5 keywords)
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
Steps to reproduce:
Visit https://jsfiddle.net/h2eq385a/ .
Actual results:
No text is shown in Firefox 72.0a1.
This behavior causes a web compat issue https://github.com/webcompat/web-bugs/issues/43303 .
Expected results:
A text "Hello, world." is shown in IE, Edge and Chrome.
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Thanks for filing this. We're not going to ship bug 1589766 without fixing this.
Both of the regressions that have been reported from bug 1589766 are due to zoom: 0
, we may want to explicitly parse that as invalid, or something like that.
Assignee | ||
Comment 2•5 years ago
|
||
Seems like zoom: 0 does nothing at all, shrug.
Assignee | ||
Comment 3•5 years ago
|
||
This matches the WebKit implementation, and is clearly a violation of the rules
we generally use for ranges in CSS.
But it seems to be depended-on legacy behavior, see the linked WebKit bug, this
bug, and bug 1593317.
Updated•5 years ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/549a41d155a4 Make zoom: 0 mean the same as zoom: 1. r=heycam
Comment 6•5 years ago
|
||
bugherder |
Updated•4 years ago
|
Updated•2 years ago
|
Description
•