4 ms·
In some ways, it still isn't great. You can't create font rules in CSS in shadow DOM; they are ignored. WC + Shadow DOM are great for using 'new' components in
by JMTQp8lwXL 5y ago
In some ways, it still isn't great. You can't create font rules in CSS in shadow DOM; they are ignored.
WC + Shadow DOM are great for using 'new' components in, say, a legacy web application that has leaky style rules (e.g., the main app has style selectors like `button`), which would bleed into your new component.