Skip to content

[css-navigation-1] Rename urlpattern() to url-pattern() #13122

@valtlai

Description

@valtlai

Spec: https://drafts.csswg.org/css-navigation-1/#urlpattern-function

CSS usually separates multiple words in idents with a hyphen. The name of the URLPattern() constructor consists of two words, so the corresponding CSS function should too. Therefore, I propose renaming urlpattern() to url-pattern().

(This is similar to #12483.)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions