[Webkit-unassigned] [Bug 177347] New: Web Inspector: Autocompletion suggestions for CSS variables shouldn't show outside definitions and var()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 22 00:27:11 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=177347

            Bug ID: 177347
           Summary: Web Inspector: Autocompletion suggestions for CSS
                    variables shouldn't show outside definitions and var()
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: webkit at devinrousso.com
                CC: inspector-bugzilla-changes at group.apple.com

Currently, we always add any variable completions to the overall list, so long as they start with the same prefix as the current token.

    margin: --|[text-color-gray-medium];

We should only be adding variable completions in two cases:

1) inside `var()` functions

    margin: var(|[--text-color-gray-medium]);

2) when we are defining a variable

   --|[text-color-gray-medium]: ...;


NOTES:
| is the cursor
[...] represents the completion hint

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170922/84e77217/attachment.html>


More information about the webkit-unassigned mailing list