Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-gaps-1] Duplicate definition of repeat() #11385

Open
tidoust opened this issue Dec 17, 2024 · 2 comments
Open

[css-gaps-1] Duplicate definition of repeat() #11385

tidoust opened this issue Dec 17, 2024 · 2 comments
Labels
css-gaps-1 css-grid-2 Subgrid; Current Work

Comments

@tidoust
Copy link
Member

tidoust commented Dec 17, 2024

CSS Gaps defines a repeat() function already defined in CSS Grid Layout. Both definitions are global, so that creates a duplicate, see for example the cross-referencing database.

Is the definition in CSS Gaps meant to supersede the one in CSS Grid Layout?
If not, it needs to be namespaced somehow.

@cdoublev
Copy link
Collaborator

I think it would make sense to namespace both definitions: the one from CSS Grid for="<track-repeat>,<auto-repeat>,<fixed-repeat>,<name-repeat>" and the one from CSS Gap for="<repeat-line-color>,<auto-repeat-line-color>".

kbabbitt added a commit to kbabbitt/csswg-drafts that referenced this issue Dec 17, 2024
@kbabbitt kbabbitt added css-grid-2 Subgrid; Current Work css-gaps-1 labels Dec 17, 2024
@kbabbitt
Copy link
Collaborator

Thanks for pointing this out. Created #11388 to namespace in both specs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-gaps-1 css-grid-2 Subgrid; Current Work
Projects
None yet
Development

No branches or pull requests

3 participants