Slide 50
Slide 50 text
• W3C: “A collection of interesting ideas”
• Currently, styling must be specified in each shadow DOM
• As we know, current web pages have hundreds and thousands CSS styles
• Long parsing time and memory costs!
• But most Web Components (or at least within a component library) will use
the same/shared stylings
• However, component libraries may update CSS during runtime, which may
thwart style sheet sharing
• API allows to create, remove, update, replace style sheet rules
Constructable Stylesheets - Motivation