Re: [csswg-drafts] [css-page] Consider making 'size' a legacy alias of a new descriptor ('page-size')? (#11925)

The CSS Working Group just discussed `[css-page] Consider making 'size' a legacy alias of a new descriptor ('page-size')?`, and agreed to the following:

* `RESOLVED: make @page/size a legacy alias of @page/page-size, will get feedback from print formatters on this issue`

<details><summary>The full IRC log of that discussion</summary>
&lt;TabAtkins> florian: so we've decided we wanted 'size' as a shorthand for width/height. but we already have 'size' descriptor in @page.<br>
&lt;TabAtkins> florian: so to limit confusion, might make sense to make @page/size a legacy alias of a new better name. possible @page/page-size.<br>
&lt;TabAtkins> florian: tho it's not really the size of the page, PDF calls it the trim box. so naming is hard.<br>
&lt;TabAtkins> florian: but putting the name to the side, should we make it an alias?<br>
&lt;TabAtkins> astearns: in favor of the alias, but don't have better ideas on the naming<br>
&lt;TabAtkins> fantasai: i think page-size is fine, it's what the user is gonna think of. if you're printing on continuous paper it's interesting, but this is what the user will think of as "the page szie"<br>
&lt;TabAtkins> fantasai: my main concern is if this is compatible with css-to-pdf renderers<br>
&lt;TabAtkins> fantasai: if we're not gonna break anything, then sure, let's make the alias happen<br>
&lt;TabAtkins> fantasai: but that's not a question i know how to answer<br>
&lt;TabAtkins> florian: i'm not under the impression we'd break anything, we're not renaming anything. keepign the old name and makign it an alias to the new one.<br>
&lt;TabAtkins> florian: so just pages written with the new name and used on legacy tools would fail<br>
&lt;TabAtkins> florian: tho mike bemford was in the issue, he didn't have objections to the concept of an alias<br>
&lt;TabAtkins> astearns: i suggest we resolve on making it a legacy alias of page-size, and if people disagree they can weigh in<br>
&lt;TabAtkins> florian: we can prod people<br>
&lt;TabAtkins> florian: but can move ahead unless/until complains<br>
&lt;TabAtkins> PROPOSED: make @page/size a legacy alias of @page/page-size, will get feedback from print formatters on this issue<br>
&lt;TabAtkins> RESOLVED: make @page/size a legacy alias of @page/page-size, will get feedback from print formatters on this issue<br>
&lt;TabAtkins> (I also think "page size" is fine, I think "@page { size: ...;  }" is colloquially "page size" already<br>
&lt;florian> s|@page/size|@page-size<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11925#issuecomment-3005365055 using your GitHub account


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

Received on Wednesday, 25 June 2025 16:15:31 UTC