- From: fergald <notifications@github.com>
- Date: Tue, 15 Oct 2019 18:00:29 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 16 October 2019 01:00:31 UTC
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