Closed Bug 794748 Opened 11 years ago Closed 10 years ago
Add mochitest for "min-width:auto" computed-value in a horizontal vs
. vertical flexbox
Per end of bug 666041 comment 113, we should add a mochitest to assert that "min-width:auto" produces a getComputedStyle value of "-moz-min-content", on a flex item in a horizontal flex container. (and similar for min-height in a vertical flex container, except we don't support -moz-min-content for min-height yet, so that computes to 0 for the moment, and we should assert that with a TODO comment.)
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Comment on attachment 673493 [details] [diff] [review] patch (the mochitest) Could you cite the relevant bit of the specification in the test? (I think that's the " It is intended that this will compute to the ‘min-content’ keyword when the specification defining it (Writing Modes Appendix D) is sufficiently mature." but I'm not sure.)
Attachment #673493 - Flags: review?(dbaron) → review+
Ah yes, I meant to include more documentation. Thanks for catching that. Added that -- here's the new patch, which I'll land shortly. Carrying forward r+.
Attachment #679331 - Flags: review+
Attachment #673493 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in before you can comment on or make changes to this bug.