<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Element with inline style with '!important' cannot be updated via JavaScript"
   href="https://bugs.webkit.org/show_bug.cgi?id=159261">159261</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Element with inline style with '!important' cannot be updated via JavaScript
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Safari Technology Preview
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>CSS
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mcdado&#64;gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=282344" name="attach_282344" title="Test case">attachment 282344</a> <a href="attachment.cgi?id=282344&amp;action=edit" title="Test case">[details]</a></span>
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 &quot;!important&quot; 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).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>