[Webkit-unassigned] [Bug 237676] New: Web Inspector: Styles panel: Unwanted extra dash when autocompleting CSS variable names

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 9 14:28:39 PST 2022


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

            Bug ID: 237676
           Summary: Web Inspector: Styles panel: Unwanted extra dash when
                    autocompleting CSS variable names
           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: rcaliman at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

Created attachment 454288

  --> https://bugs.webkit.org/attachment.cgi?id=454288&action=review

Video recording of bug

# Steps to Reproduce:

- Ensure "Use fuzzy matching for completion suggestions" is enabled in Settings > Experimental
- Inspect any element on https://webkit.org 
- In the Styles panel, add a new CSS declaration: `color: var(-color` (notice the missing second dash)
- Pick any suggestion offered for a CSS variable name, ex `--link-color`

# Result

The applied CSS variable name includes an extra dash, ex: `var(---link-color)`

-- 
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/20220309/f43f35bc/attachment-0001.htm>


More information about the webkit-unassigned mailing list