Re: [csswg-drafts] [css-sizing] percentage [max-]width|height and intrinsic sizes

@dbaron / @MatsPalmgren Would you mind reviewing the edits to ensure they are correct? The section is https://drafts.csswg.org/css-sizing-3/#intrinsic-contribution and the proposed edits are:

> However, in the case of a replaced box with a percentage-based width/max-width/height/max-height, the percentage is resolved to zero when calculating the min-content contribution in the corresponding axis.
> For example, an input assigned `width: calc(50% + 50px)` has a min-content contribution of 50px plus any horizontal margin/border/padding. 

However, I think it wasn't clearly discussed whether the calc() case should resolve to 50px vs. zero. The alternate set of edits would be 

> However, in the case of a replaced box with a percentage-based width/max-width/height/max-height, the percentage-based size is treated as zero when calculating the min-content contribution in the corresponding axis.
> For example, an input assigned `width: calc(50% + 50px)` has a min-content contribution of zero plus any horizontal margin/border/padding. 


-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/765#issuecomment-321341299 using your GitHub account

Received on Wednesday, 9 August 2017 18:27:12 UTC