kizu / ideas

Repo for some not-so-secret ideas for different things, more like todo-someday-in-the-future I guess
1 stars 0 forks source link

Declare shadow DOM in CSS #80

Open kizu opened 10 years ago

kizu commented 10 years ago

I'd say, if the shadow DOM is used for decoration only, like for extra wrappers and presentational markup, then it should be declared alongside the other CSS rules.

The different preprocessors seem to be the best choice there, as you could generate this way not only the needed CSS, but also the needed JS that then would enable the expected shadow DOM.