Bug 141064

Summary: Web Inspector: Extend CSS.getSupportedCSSProperties to provide values for properties for CSS Augmented JSContext
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: DoNotImportToRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

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.