- From: L. David Baron via GitHub <sysbot+gh@w3.org>
- Date: Wed, 07 Mar 2018 22:58:35 +0000
- To: public-css-archive@w3.org
One thing that's ambiguous in the text is whether "containing a percentage" means syntactically containing a percentage or mathematically containing a percentage -- that is, whether expressions like `calc(50px + 0%)` contain a percentage. In Gecko I *think* they do, although I'm not 100% sure. I'd also note that the proposed text doesn't match Gecko behavior for margins and padding, where we currently account for percentages in a way that's not quite correct but pretty close, and the obvious change to stop doing that would causes us to treat only the percentage component of a `calc()` as `0`. So please do test that this matches the behavior of other implementations for `margin` and `padding` (i.e., that they don't use the non-percent components). If that's not the case, then we likely need different behavior for `width`/`height` (and `min-*` and `max-*`) versus `margin`/`padding`. -- GitHub Notification of comment by dbaron Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1132#issuecomment-371315894 using your GitHub account
Received on Wednesday, 7 March 2018 22:58:38 UTC