[Webkit-unassigned] [Bug 159261] New: Element with inline style with '!important' cannot be updated via JavaScript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 29 07:12:25 PDT 2016


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

            Bug ID: 159261
           Summary: Element with inline style with '!important' cannot be
                    updated via JavaScript
    Classification: Unclassified
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcdado at gmail.com

Created attachment 282344
  --> https://bugs.webkit.org/attachment.cgi?id=282344&action=review
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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160629/45f46d2f/attachment.html>


More information about the webkit-unassigned mailing list