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

> should `size` be a shorthand for `<width> <height>` or for `<inline-size> <block-size>` ?

That was asked in the call as well. It would need to be width and height, to follow the president set by other shorthands like `margin` and `padding`. There is a separate issue, #1282, to solve that problem.

> This means that this version of `size` can never be part of https://drafts.csswg.org/css-page-3/#page-property-list , which is a bit weird, given that its longhands `width` and `height` are on that list.

@emilio has filed #11925 to make a new property to replace `size` for `@page`.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 13 March 2025 15:01:11 UTC