[csswg-drafts] [css-anchor-position] Simplifying math functions for `<percentage>` in `anchor()`? (#12131)

dshin-moz has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-anchor-position] Simplifying math functions for `<percentage>` in `anchor()`? ==
`anchor()` allows specifying percentage values, which [interpolates between `start` and `end`](https://drafts.csswg.org/css-anchor-position-1/#valdef-anchor-percentage).

This seems like something that can be simplified, since I think the basis of that will always be positive, since it depends on the anchor element's size in that axis. OTOH, WPT test `anchor-parse-valid.html` expect the `min(50%, 100%)` value to round trip.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12131 using your GitHub account


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

Received on Monday, 28 April 2025 15:31:26 UTC