Skip to content

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

Open

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

Activity

  1. added
    needs triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.
    on Dec 2, 2024
  2. added
    idleIssues and pull requests with no activity for three months.
    on Jan 3, 2025
  3. bsmth commented on Jan 10, 2025

    @bsmth
    Member

    I'm curious why we have this duplication; it would be good to investigate if it's possible to mirror or reference another member in future

  4. removed
    idleIssues and pull requests with no activity for three months.
    on Jan 17, 2025
  5. changed the title [-]Repetitive CSS function data between functions.json and syntaxes.json[/-] [+]Proposal: Repetitive CSS function data between functions.json and syntaxes.json[/+] on Jan 25, 2025
  6. added
    idleIssues and pull requests with no activity for three months.
    on Feb 28, 2025
  7. added
    p3We don't have visibility when this will be addressed.
    and removed
    needs triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.
    on Apr 2, 2025
  8. removed
    idleIssues and pull requests with no activity for three months.
    on Apr 4, 2025
  9. added
    idleIssues and pull requests with no activity for three months.
    on May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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