mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Prefer aspect-ratio to the tentative BSize if we have both tentative ISize and BSize. Also make auto aspect-ratio handling a bit more explicit. To prevent some regressions, we need to: * Fix size-containment aspect ratio for <embed> (nsSubDocumentFrame). * Fix RasterImage::GetIntrinsicRatio with uneven ratios. * Avoid SVG root from using the aspect ratio from the viewbox, see bug 2035918. Differential Revision: https://phabricator.services.mozilla.com/D296982