Re: [csswg-drafts] [css-scoping] Please bring back scoped styles (#3547)

> That `font-size` and `color` you provide in that rule will only apply to direct text children of the element; if you use anything else (even an inline like `em`) the text inside will revert to the UA defaults.

Wouldn't this occur only if UA styles have these properties defined directly for these elements (as it occurs for e.g. the `mark` element)? AFAIK, most UA's internal stylesheets don't specify color and size for elements like `em`, expecting them to inherit these properties anyway, so _in most cases_ the inheritance would still work...

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

Received on Wednesday, 13 March 2019 14:56:40 UTC