RESOLVED FIXED 141064
Web Inspector: Extend CSS.getSupportedCSSProperties to provide values for properties for CSS Augmented JSContext
https://bugs.webkit.org/show_bug.cgi?id=141064
Summary Web Inspector: Extend CSS.getSupportedCSSProperties to provide values for pro...
Joseph Pecoraro
Reported 2015-01-29 18:36:46 PST
* SUMMARY For a CSS Augmented JSContext it can provide custom CSS properties via CSS.getSupportedCSSProperties. If that is the case, they can provide custom autocompletion values.
Attachments
[PATCH] Proposed Fix (5.04 KB, patch)
2015-01-29 18:51 PST, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2015-01-29 18:37:10 PST
Joseph Pecoraro
Comment 2 2015-01-29 18:51:54 PST
Created attachment 245682 [details] [PATCH] Proposed Fix
Timothy Hatcher
Comment 3 2015-01-30 04:51:49 PST
Comment on attachment 245682 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=245682&action=review > Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js:94 > + WebInspector.CSSKeywordCompletions._propertyKeywordMap[propertyName] = [...union.values()]; [...existingValues, ...newValues]?
Joseph Pecoraro
Comment 4 2015-02-02 11:21:58 PST
(In reply to comment #3) > Comment on attachment 245682 [details] > [PATCH] Proposed Fix > > View in context: > https://bugs.webkit.org/attachment.cgi?id=245682&action=review > > > Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js:94 > > + WebInspector.CSSKeywordCompletions._propertyKeywordMap[propertyName] = [...union.values()]; > > [...existingValues, ...newValues]? I wanted to avoid duplicates in the list if possible.
WebKit Commit Bot
Comment 5 2015-02-02 12:06:58 PST
Comment on attachment 245682 [details] [PATCH] Proposed Fix Clearing flags on attachment: 245682 Committed r179483: <http://trac.webkit.org/changeset/179483>
WebKit Commit Bot
Comment 6 2015-02-02 12:07:01 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.