Summary: | Web Inspector: CSS: there should be a way to inline-replace a variable with it's value | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Devin Rousso <hi> | ||||||
Component: | Web Inspector | Assignee: | Devin Rousso <hi> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, hi, inspector-bugzilla-changes, joepeck, nvasilyev, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Devin Rousso
2019-03-05 12:05:04 PST
Created attachment 363688 [details]
Patch
Comment on attachment 363688 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=363688&action=review > Source/WebInspectorUI/UserInterface/Views/SpreadsheetTextField.js:199 > + if (event.target.closest("." + WI.InlineSwatch.className)) > + return; I don't think SpreadsheetTextField should know about WI.InlineSwatch. Can we call `event.stopPropagation()` in WI.InlineSwatch.prototype._swatchElementClicked? Comment on attachment 363688 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=363688&action=review r=me. The Shift+Click is hard to discover, even with a tooltip, but this is quite good for now. >> Source/WebInspectorUI/UserInterface/Views/SpreadsheetTextField.js:199 >> + return; > > I don't think SpreadsheetTextField should know about WI.InlineSwatch. > Can we call `event.stopPropagation()` in WI.InlineSwatch.prototype._swatchElementClicked? I like this idea as well, it makes sense for the InlineSwatch to consume the click. Created attachment 363893 [details]
Patch
Comment on attachment 363893 [details] Patch Clearing flags on attachment: 363893 Committed r242602: <https://trac.webkit.org/changeset/242602> All reviewed patches have been landed. Closing bug. |