Re: [csswg-drafts] [css-anchor-position] anchor-size() argument should be optional (#10318)

The CSS Working Group just discussed `[css-anchor-position] anchor-size() argument should be optional`, and agreed to the following:

* `RESOLVED: Make anchor-size() default to the keyword matching the axis of the property it's used in`

<details><summary>The full IRC log of that discussion</summary>
&lt;TabAtkins> q+<br>
&lt;emilio> q+<br>
&lt;keithamus> fantasai: often allow dropping args with obvious default. anchor-size has obvoious default of dimension in same axis as the one you're using it on, so height is top, width is other axis. Straightforward to do automatically. Proposal to make it optional<br>
&lt;Rossen4> ack TabAtkins<br>
&lt;keithamus> TabAtkins: only objection is that anchor-size has reasonable extension points in future. eg referring to size of tracks of inset areas.<br>
&lt;keithamus> ... might be less clear what the appropriate defaults are for those<br>
&lt;keithamus> ... right now very clear with width/height. In the future it might be somewhat less.<br>
&lt;keithamus> ... don't object necessarily as it's quite clear for reasonable defaults.<br>
&lt;keithamus> ... but wanted to make sure we felt decent about that.<br>
&lt;Rossen4> ack emilio<br>
&lt;keithamus> emilio: can this be used in min/max properties?<br>
&lt;keithamus> ... should it use regular size?<br>
&lt;keithamus> fantasai: this is just to drop the axis keyword. Doesn't change what you're referencing in terms of size<br>
&lt;keithamus> emilio: Right but it makes it more confusing? Also what happens if anchor is orthogonal to the thing you're using it on?<br>
&lt;keithamus> TabAtkins: That's in the spec it makes the function invalid, resolves to fallback size<br>
&lt;keithamus> emilio: That's not what's expected but okay<br>
&lt;keithamus> fantasai: this is literally just a default keyword<br>
&lt;TabAtkins> https://drafts.csswg.org/css-anchor-position/#anchor-size-valid<br>
&lt;keithamus> Rossen4: any other points or objections?<br>
&lt;fantasai> PROPOSED: Make anchor-size() default to the keyword matching the axis of the property it's used in<br>
&lt;keithamus> Rossen4: I'm calling this resolved.<br>
&lt;fantasai> RESOLVED: Make anchor-size() default to the keyword matching the axis of the property it's used in<br>
</details>


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


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

Received on Wednesday, 29 May 2024 16:41:22 UTC