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

BTW, it looks that CSS cascading doesn't mention anything about "user agent important rules".
https://drafts.csswg.org/css2/cascade.html#cascading-order

1. user agent declarations
2. user normal declarations
3. author normal declarations
4. author important declarations
5. user important declarations

Hmm, but I believe that is:

1. user agent normal declarations
2. user normal declarations
3. author normal declarations
4. author important declarations
5. user important declarations
6. user agent important declarations

in most browsers.

Assuming that, our remaining concern is:

Is it okay or not to give component developers a power of defining *user agent important rules*? It is too powerful, and the end users can't override it.


-- 
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-378859299

Received on Thursday, 5 April 2018 08:29:28 UTC