- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Mon, 13 May 2024 01:24:48 +0000
- To: public-css-archive@w3.org
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-anchor-position] anchor-size() argument should be optional == The `anchor-size()` function, which is defined as a function of the sizing properties (width/height/etc.) has the following syntax: ``` anchor-size() = anchor-size( <anchor-element>? <anchor-size>, <length-percentage>? ) <anchor-size> = width | height | block | inline | self-block | self-inline ``` That means in most cases, authors will be writing something like `height: anchor-size(height)`. This seems silly. Shouldn't the `<anchor-size>` argument be optional, defaulting to the dimension matching the sizing property's effect? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10318 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 13 May 2024 01:24:48 UTC