The flex item sizing property section sometimes says that an item couldn't grow because of sibling while it was actually clamped

RESOLVED FIXED in Firefox 65

Status

defect
P2
normal
RESOLVED FIXED
8 months ago
8 months ago

People

(Reporter: pbro, Assigned: pbro)

Tracking

unspecified
Firefox 65
Dependency tree / graph

Firefox Tracking Flags

(firefox65 fixed)

Details

Attachments

(1 attachment)

Assignee

Description

8 months ago
STR:
- open the following test case URL:
data:text/html,<div style="display:flex;width:500px;border:1px solid;"><span style="flex-grow:1;flex-basis:100px;max-width:50px;">item 1</span><span style="flex-grow:1">item 2</span></div>
- open the inspector
- select the first <span> flex item within the flex container

--> Among other things, the flex item sizing property section says:

> Item could not grow, siblings have likely used the extra space.

This is incorrect, the item could not grow because it was clamped by its max-width.
I think we should just remove this sentence.
Assignee

Updated

8 months ago
Summary: The flex item sizing property section sometimes says that an item was "Set to grow" and "Not set to grow" at the same time → The flex item sizing property section sometimes says that an item couldn't grow because of sibling while it was actually clamped

Comment 2

8 months ago
Pushed by pbrosset@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f2a0505d9f54
Dont say that siblings have used all the space when an item was clamped; r=mtigley

Comment 3

8 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/f2a0505d9f54
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in before you can comment on or make changes to this bug.