Skip to content

Invalid initial value of some CSS descriptors #707

Open
@cdoublev

Description

@cdoublev

Some descriptors are defined with an initial field value that is not a valid CSS value. If I am not mistaken, for each of them, the value should be internally resolved to undefined and should serialize to an empty string, eg. with CSSFontFaceRule.style.getPropertyValue(src) (yes, it is weird but already supported in Chrome at least).

Obviously, these initial values cannot be used, but I am not sure if you want to fix it on your side. I remove them, which is equivalent to defining them to undefined. But it may also be usefull to have a prose defining that the initial value is an undefined/invalid value instead of having an empty string. I am creating this issue to let you know about this, but feel free to close it.

  • @color-profile
    • components: n/a
    • src: n/a
  • @counter-style
    • additive-symbols: n/a
    • symbols: n/a
  • @font-face
    • font-family: N/A
    • src: N/A
  • @font-palette-values
    • base-palette: N/A
    • font-family: N/A
    • override-colors: N/A
  • @property
    • inherits: n/a (see prose)
    • initial-value: the guaranteed-invalid value (but see prose)
    • syntax: the guaranteed-invalid value (but see prose)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions