WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
159261
Element with inline style with '!important' cannot be updated via JavaScript
https://bugs.webkit.org/show_bug.cgi?id=159261
Summary
Element with inline style with '!important' cannot be updated via JavaScript
David Gasperoni
Reported
2016-06-29 07:12:25 PDT
Created
attachment 282344
[details]
Test case Elements that have an inline style with an important rule cannot be updated via JavaScript. See attachment: by clicking on the button, the element on the page should change background-color AND width, but since the width inline style has the "!important" rule, it does not happen. I checked other main browsers, Chrome and Firefox change the style, while IE (and Edge) don't change it, just like Safari (and WebKit).
Attachments
Test case
(936 bytes, text/html)
2016-06-29 07:12 PDT
,
David Gasperoni
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
David Gasperoni
Comment 1
2016-08-01 16:11:38 PDT
I'm happy to report that
Bug 159959
(
https://bugs.webkit.org/show_bug.cgi?id=159959
) resolves the issue. Found this out in WebKit Nightly
r203480
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug