Closed Bug 1078431 Opened 10 years ago Closed 10 years ago

flex item shrinks below minimum content size

Categories

(Core :: Layout, defect)

32 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 984711

People

(Reporter: bugzzilla, Unassigned)

Details

Attachments

(1 file)

Attached file Test case
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0 Build ID: 20140923175406 Steps to reproduce: The W3C spec says: "By default, flex items won’t shrink below their minimum content size (the length of the longest word or fixed-size element)." But this is not the case with Firefox. The flex item can shrink below the minimum content size even when no overriding "min-width" property is specified. See attached test case. Make the window narrow enough, and the content of the flex items will overlap.
Component: Untriaged → Layout
Product: Firefox → Core
(In reply to Michael Hohner from comment #0) > The W3C spec says: > > "By default, flex items won’t shrink below their minimum content size (the > length of the longest word or fixed-size element)." This was a relatively recent spec-change. I added this feature[1] in bug 984711. It looks like that's scheduled to ship in Firefox 34. I'm duping this to that bug. In the meantime, you can test a current Aurora build if you want to give it a try. [1] (Added this feature *again*, really -- it was in the spec, and then it was removed, and then added back maybe a year later.)
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: