Closed Bug 1582374 Opened 3 months ago Closed 3 months ago

Add a warning when CSS zoom is used in stylesheets.

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

No description provided.

Now that we count them, I think we should do this.

This property is pretty painful for various reasons:

  • It's a pretty awkward non-standard property.
  • Has a pretty short name, so people use it instead of the standard
    alternatives.
  • We cannot really even implement it easily anyhow, without breaking a whole
    bunch of stuff, because pages do things like:
myelement {
  zoom: 0.5;
  -moz-transform: scale(0.5);
  transform-origin: 0 0;
}

For now this is only recorded when CSS use counters are enabled (Nightly for
now), but I want to change it once bug 1578661 is in central.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ce568f14a3d0
Add a warning when we find usage of the CSS zoom property. r=smaug,flod
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.