Repository navigation
Commit 4c89486
authored
build(css): name each pseudo once in the selector support table (#22153)
`selectors.json` states `::cue` and `::cue()` separately, and the spelling
the print looks up is derived from the syntax, so both reached the table
and the second shadowed the first in the `Map` it becomes. Deduped on the
derived spelling, which drops `::cue` and `:host` to one entry each; both
resolve to the same compat node, so the profiles were identical and the
generated output is otherwise unchanged.
The TODO above `_JOINABLE_SELECTOR_RE` goes with it. Its stated blocker is
gone — `SELECTOR_SUPPORTED_FROM` already says which engine reads which
spelling — but the widening it asks for measures as a loss: over Bootstrap
5 it saves 195 raw bytes and costs one gzip byte, and gzip decides.1 parent d7e0fd9 commit 4c89486
3 files changed
Lines changed: 13 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6762 | 6762 | | |
6763 | 6763 | | |
6764 | 6764 | | |
6765 | | - | |
6766 | 6765 | | |
6767 | 6766 | | |
6768 | 6767 | | |
| |||
6807 | 6806 | | |
6808 | 6807 | | |
6809 | 6808 | | |
6810 | | - | |
6811 | 6809 | | |
6812 | 6810 | | |
6813 | 6811 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14711 | 14711 | | |
14712 | 14712 | | |
14713 | 14713 | | |
14714 | | - | |
14715 | | - | |
14716 | | - | |
14717 | | - | |
| 14714 | + | |
| 14715 | + | |
| 14716 | + | |
| 14717 | + | |
14718 | 14718 | | |
14719 | 14719 | | |
14720 | 14720 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5405 | 5405 | | |
5406 | 5406 | | |
5407 | 5407 | | |
| 5408 | + | |
| 5409 | + | |
| 5410 | + | |
| 5411 | + | |
| 5412 | + | |
5408 | 5413 | | |
5409 | 5414 | | |
5410 | 5415 | | |
5411 | 5416 | | |
5412 | 5417 | | |
5413 | 5418 | | |
5414 | | - | |
5415 | | - | |
5416 | | - | |
5417 | | - | |
| 5419 | + | |
| 5420 | + | |
| 5421 | + | |
| 5422 | + | |
5418 | 5423 | | |
5419 | 5424 | | |
5420 | 5425 | | |
| |||
0 commit comments