Re: [w3c/webcomponents] Need consensus on relative priority of ::part styles and inline styles (#847)

I hadn't thought about the fact that you can't signal `!important` with inline (and therefore calculated styles). You could work around this by applying a style from the style sheet and using CSSOM to update that but that's painful if you have a dynamic list of items and you're tweaking styles on them individually.

There was also a call for a way to prevent overriding certain things

https://github.com/w3c/csswg-drafts/issues/3506

`!important` actually seems like a more elegant way of doing this if it didn't have this problem.

-- 
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/847#issuecomment-542464993

Received on Wednesday, 16 October 2019 01:00:31 UTC