Open Bug 1323004 Opened 9 years ago Updated 4 years ago

[css22] 300px x 150px default intrinsic size should be smaller if it doesn't fit the device

Categories

(Core :: Layout: Block and Inline, defect)

defect

Tracking

()

People

(Reporter: MatsPalmgren_bugz, Unassigned)

Details

https://www.w3.org/TR/CSS22/visudet.html#inline-replaced-width "If 300px is too wide to fit the device, UAs should use the width of the largest rectangle that has a 2:1 ratio and fits the device instead." I see we use a hardcoded 300 x 150 size in a few places. We should probably compute these upfront in nsPresContext(?) and add DefaultIntrinsic[B|I]Size methods there.
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.