Re: [csswg-drafts] [scroll-animations-1] Do we need container-name references? (#7046)

I feel the other way about css-naming vs the `selector()` function. I like the fact that I can create names _in CSS_ that I want to be able to reference in CSS, without needing those names to exactly match something in the DOM. I don't like digging through HTML to find and apply new selectors in various places, just for the sake of a presentational naming that is really specific to the current styles. 

I do get the point about a proliferation of `*-name` properties, and in some ways those could all be merged into a single CSS naming property. The advantage of having distinct ones is that they can cascade in parallel, instead of overriding each other? That's been a big discussion in relation to Container Queries recently. But it sure would feel _neater_ if we didn't need a whole list of similar properties. 

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 16 June 2022 16:08:27 UTC