Closed Bug 1782589 Opened 2 years ago Closed 2 years ago

Obey contain-intrinsic-size in canvas

Categories

(Core :: Layout, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
105 Branch
Tracking Status
firefox105 --- fixed

People

(Reporter: Oriol, Assigned: Oriol)

References

Details

Attachments

(1 file)

nsHTMLCanvasFrame.cpp assumes a 0x0 intrinsic size when there is size containment in both axes.
Instead it should use the size resulting from contain-intrinsic-size.
Single-axis size containment works well due to bug 1780475.

Pushed by oriol-bugzilla@hotmail.com:
https://hg.mozilla.org/integration/autoland/rev/96118a1bd781
Obey contain-intrinsic-size in canvas. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/35303 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: