A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/w3c/csswg-drafts/issues/8556 below:

[css-values-4] Allow omitting `<declaration-value>` in `mix()` · Issue #8556 · w3c/csswg-drafts · GitHub

If I am not mistaken, mix() is valid for custom properties, whose initial value is the guaranteed-invalid value, ie. an omitted value.

A mix() notation is invalid if either of its <declaration-value>s are invalid when interpreted as a whole value for the property the function is used in, or if the property using it is not animatable.

Should mix() syntax allow omitting <declaration-value> ...

- <mix()> = mix( <percentage> ';' <declaration-value> ';' <declaration-value> )
+ <mix()> = mix( <percentage> ';' <declaration-value>? ';' <declaration-value>? )

... to accept inputs like --custom: mix(50%; ; on)?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3