Skip to content

Commit 663efdf

Browse files
authored
Make css-forms-1 supersede css-pseudo-4 (#1499)
CSS Forms, still flagged as unofficial but now considered as a spec in good standing because some parts already ship in Chrome, took over the `::file-selector-button` pseudo-element from CSS Pseudo-Elements, creating a temporary duplicate.
1 parent ea00cb7 commit 663efdf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tools/drop-css-property-duplicates.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ const supersededBy = {
6868
// specification in the css-backgrounds series.
6969
'css-backgrounds': 'css-borders',
7070

71+
// css-forms-1 took over the `::file-selector-button`` pseudo-element from
72+
// css-pseudo-4, see initial commit at:
73+
// https://github.com/w3c/csswg-drafts/commit/7460e21886a7d7d3ee8b1b5c2dd6dd35973c578a
74+
// The CSS Forms spec still says it's an unofficial draft as of March 2025,
75+
// but spec is in good standing in browser-specs because some parts already
76+
// ship in Chrome.
77+
'css-pseudo': 'css-forms',
78+
7179
// The Selectors spec defines the ":fullscreen" selector, which is refined in
7280
// Fullscreen. The Fullscreen definition should probably be flagged as non
7381
// exported. Or turned into a reference to the Selectors spec.

0 commit comments

Comments
 (0)