| Summary: | Web Inspector: visual style editor fields should restore previous value when invalid inputs are entered | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | BJ Burg <bburg> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | hi, inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=148580 | ||
| Bug Depends on: | |||
| Bug Blocks: | 147563 | ||
|
Description
BJ Burg
2015-09-01 08:47:49 PDT
(In reply to comment #0) > 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. 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"... The Visual styles sidebar was removed in r236298 <https://webkit.org/b/189807>. |