Closed Bug 1583980 Opened 5 years ago Closed 5 years ago

Restrict aspect ratio mapping to images for now.

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(1 file)

See this: https://searchfox.org/mozilla-central/rev/f43ae7e1c43a4a940b658381157a6ea6c5a185c1/dom/html/nsGenericHTMLElement.cpp#1232

Basically, this also happens to make it apply to a bunch of stuff like <object> and <embed> which may not be particularly desirable.

This is an easier thing to implement interoperably than what we implement now,
which is basically "whatever goes through this function".

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/59801043fb29
Restrict mapping of width and height to aspect-ratio for <img> for now. r=bzbarsky
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: