You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Low priority (would be nice to have, but we have other fish to fry in the meantime, so to speak)
Add rendering option to output color functions using "modern" syntax
Reject color functions with invalid length arguments, such as 10px, including rejecting percentage arguments where these are not permitted (e.g. in "legacy" syntax)
Parse color functions containing var() substitutions as Color rather than generic CSSFunction
Support additional color functions (these will currently be parsed as generic CSS functions, which may not work reliably):
The "legacy" syntax does not allow a mixture of `percentage`s and `number`s
for the red, green and blue components.
So if `rgb`/`rgba` functions that have such a mixture are rendered in the
"legacy" syntax, an invalid property value will result.
An `OutputFormat` option to use the "modern" syntax throughout will be added
later (see #801).
The "legacy" syntax does not allow a mixture of `percentage`s and `number`s
for the red, green and blue components.
So if `rgb`/`rgba` functions that have such a mixture are rendered in the
"legacy" syntax, an invalid property value will result.
An `OutputFormat` option to use the "modern" syntax throughout will be added
later (see #801).
This is a task list of enhancements required to fully support the above (strictly).
High priority (ideally included in next release)
rgb
andrgba
, andhsl
andhsla
([FEATURE] Support rgba and rgb (etc.) being aliases #797)none
keywod in the "modern" syntaxangle
are permitted forhue
([TASK] Add TestCase forValue\Color
#793)number
andpercentage
are permitted where allowed (i.e. in "modern"rgb
syntax) ([BUGFIX] Don't renderrgb
colors with%
values as hex #803)Low priority (would be nice to have, but we have other fish to fry in the meantime, so to speak)
length
arguments, such as10px
, including rejectingpercentage
arguments where these are not permitted (e.g. in "legacy" syntax)var()
substitutions asColor
rather than genericCSSFunction
hwb
lab
lch
oklab
oklch
color
function:The text was updated successfully, but these errors were encountered: