[Webkit-unassigned] [Bug 273122] Content Script CSS overriding style attributes inconsistent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 2 06:46:24 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=273122

--- Comment #3 from Carlos J. <carlosj-webkit-bugzilla at jeurissen.co> ---
If !important from the content script wins over style attributes with !important. How come styles without !important do not override style attributes without !important? Is this expected behaviour for user stylesheets?

No-matter if it is expected for user stylesheets or not, the behaviour is different compared to Safari 17 and other browsers and at least for an extension I have been working on was problematic. It is fixable yet it might be overseen by other developers.

In general this new behaviour could be a feature for extension developers if properly documented.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240502/21f31795/attachment-0001.htm>


More information about the webkit-unassigned mailing list