Skip to content

Proposal: Repetitive CSS function data between functions.json and syntaxes.json #811

@skyclouds2001

Description

@skyclouds2001

What information was incorrect, unhelpful, or incomplete?

many CSS function data are repetitive represented the functions.json file and syntaxes.json file, this may cause inconsistent and hard to maintain

for example:

data/css/functions.json

Lines 18 to 25 in d572bcb

"attr()": {
"syntax": "attr( <attr-name> <type-or-unit>? [, <attr-fallback> ]? )",
"groups": [
"CSS Generated Content"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/attr"
},

and

data/css/syntaxes.json

Lines 44 to 46 in d572bcb

"attr()": {
"syntax": "attr( <attr-name> <type-or-unit>? [, <attr-fallback> ]? )"
},

What did you expect to see?

only keep CSS function data in functions.json

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

note the change may cause break change though

maybe should listen to other's opinions

Metadata

Metadata

Assignees

No one assigned

    Labels

    idleIssues and pull requests with no activity for three months.p3We don't have visibility when this will be addressed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions