<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: visual style editor fields should restore previous value when invalid inputs are entered"
   href="https://bugs.webkit.org/show_bug.cgi?id=148678#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: visual style editor fields should restore previous value when invalid inputs are entered"
   href="https://bugs.webkit.org/show_bug.cgi?id=148678">bug 148678</a>
              from <span class="vcard"><a class="email" href="mailto:dcrousso+webkit&#64;gmail.com" title="Devin Rousso &lt;dcrousso+webkit&#64;gmail.com&gt;"> <span class="fn">Devin Rousso</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=148678#c0">comment #0</a>)
<span class="quote">&gt; We shouldn't be storing the input state in the DOM, it should be kept in the
&gt; widget class separately and synced when valid values are committed.</span >

I agree with you that we should have member variables for the current value, but I am not sure about &quot;restore previous value when invalid inputs are entered&quot;.  What exactly do you mean by that?  Would it be something like &quot;display: foo;&quot;?  If so, I don't think we should just revert to the previous value because that would remove any support for other browsers/custom css.  Maybe something like a warning saying &quot;this won't work&quot;...</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>