<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@gmail.com" title="Devin Rousso <dcrousso+webkit@gmail.com>"> <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">> We shouldn't be storing the input state in the DOM, it should be kept in the
> 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 "restore previous value when invalid inputs are entered". What exactly do you mean by that? Would it be something like "display: foo;"? 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 "this won't work"...</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>