Re: [w3c/webcomponents] Provide a lightweight mechanism to add styles to a custom element (#468)

> > But then the author of a component can't specify !important rules for things like display without which the component may not function. This is a deal break for us.
>
> Could you clarify the use case for a component author overriding `display` and other rules?  It is unthinkable to me that a component consumer should be blocked from using `display: none`.

For example, some components may not function when `display` is `inline` because it assumes the block layout to be happening in its shadow tree. As another example, certain component may not support vertical writing mode. e.g. input, textarea, etc... don't automatically inherit its parent writing mode; in that case, being able to force a horizontal writing mode on the component's shadow tree is crucial.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/468#issuecomment-442610037

Received on Wednesday, 28 November 2018 21:25:24 UTC