[csswg-drafts] Pull Request: [css-values-4] Math functions also match mixed types

cdoublev has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-values-4] Math functions also match mixed types ==
  > A math function resolves to `<number>`, `<length>`, `<angle>`, `<time>`, `<frequency>`, `<resolution>`, `<flex>`, or `<percentage>` [...] **If it can’t match any of these, the math function is invalid.**

From [CSS Typed OM](https://drafts.css-houdini.org/css-typed-om-1/#cssnumericvalue-match):

  > A type matches `<length-percentage>` if its only non-zero entry is either `«[ "length" → 1 ]»` or `«[ "percent" → 1 ]»`.

See https://github.com/w3c/csswg-drafts/pull/10727


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

Received on Monday, 12 August 2024 07:40:37 UTC