Re: [csswg-drafts] [css-sizing] Adding a 'size' shorthand for 'width'/'height' (#820)

I don't think it was mentioned yet, but the css-writing-mode module uses the word "size" in `block-size` and `inline-size` as a length in a single dimension. This was a really unfortunate choice as "size" refers to "a thing's overall dimensions or magnitude" [source](https://www.lexico.com/en/definition/size), which for 2-dimensional boxes, would mean 2 dimensions. It definitely should have been named "block/inline-length" or similar, but I guess it's too late now.

This however means that, while entirely reasonable on its own, using `size` as a shorthand for both `width` and `height` would conflict with the one-dimensional notion used in the css-writing-mode module.

I guess nobody cares though. There are already tons of conflicting naming choices in CSS, so yet another one won't be that bad.

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

Received on Friday, 29 May 2020 15:36:17 UTC