Re: [csswg-drafts] [css-selectors] Substring Matching of Individual Class Names

FWIW browsers can handle class and ID selectors in an efficient manner (by storing tables of classes and IDs that appear in style sheets), which is not really possible with substrings. If we had this feature I would expect selector matching for them to be slower, like it is for regular attribute substring matches.

If we want a mechanism for class inheritance in CSS I'd rather have an explicit feature for it.

-- 
GitHub Notification of comment by heycam
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2984#issuecomment-424557352 using your GitHub account

Received on Wednesday, 26 September 2018 01:48:25 UTC