csswg-drafts icon indicating copy to clipboard operation
csswg-drafts copied to clipboard

[css-scoping-module]: host-selector specificity replication removal

Open bougwal opened this issue 3 years ago • 4 comments

I updated the CSS Scoping Module host selector specification after I noticed a replication in the definition

bougwal avatar Aug 16 '22 09:08 bougwal

svgeesus marked as non substantive for IPR from ash-nazg.

w3cbot avatar Aug 16 '22 10:08 w3cbot

thanks @svgeesus !

bougwal avatar Aug 16 '22 12:08 bougwal

This isn't duplication; :host and :host() are different. I think it was intentionally written this way.

dbaron avatar Aug 16 '22 14:08 dbaron

I think that @dbaron point is valid. But the selector's specificity description as it stands is confusing. I think it can be rewritten for a better readability to include :host in the same sentence instead of duplicating it, i.e it is hard to realize that the difference between the two identical sentences is just the () in :host.

bougwal avatar Aug 17 '22 02:08 bougwal