Bug 163612 - Web Inspector: CSS Autocompletion sometimes adds extra unexpected characters
Summary: Web Inspector: CSS Autocompletion sometimes adds extra unexpected characters
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-10-18 12:48 PDT by Joseph Pecoraro
Modified: 2016-10-18 13:23 PDT (History)
8 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (3.14 KB, patch)
2016-10-18 12:50 PDT, Joseph Pecoraro
no flags Details | Formatted Diff | Diff
[PATCH] Proposed Fix (3.18 KB, patch)
2016-10-18 12:52 PDT, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2016-10-18 12:48:40 PDT
Summary:
CSS Autocompletion sometimes adds extra unexpected characters

Steps to Reproduce:
1. Inspect <body> on about:blank
2. Show Styles - Rules sidebar
3. Type "transform: translate(10px)"
4. Place cursor at "translate|(" and push Esc to force completions
  => Expected suggestions like: "transform: translateX(10px)"
  => Actual suggestions like: "transform: translateX() (10px)"
5. Type: "color: blue;"
6. Place cursor at "bl|ue" and push Esc to force completions
  => Expected no completions, or fancy suggestions for "bl" that account for the "ue" in a reasonable way
  => Actual result: "color: black ue;"

Notes:
This makes working in the style sidebar pretty frustrating for me.
Comment 1 Radar WebKit Bug Importer 2016-10-18 12:49:05 PDT
<rdar://problem/28829557>
Comment 2 Joseph Pecoraro 2016-10-18 12:50:00 PDT
Created attachment 291972 [details]
[PATCH] Proposed Fix
Comment 3 Joseph Pecoraro 2016-10-18 12:52:35 PDT
Created attachment 291974 [details]
[PATCH] Proposed Fix
Comment 4 Timothy Hatcher 2016-10-18 13:00:35 PDT
Comment on attachment 291974 [details]
[PATCH] Proposed Fix

Nice!
Comment 5 WebKit Commit Bot 2016-10-18 13:23:44 PDT
Comment on attachment 291974 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 291974

Committed r207481: <http://trac.webkit.org/changeset/207481>
Comment 6 WebKit Commit Bot 2016-10-18 13:23:48 PDT
All reviewed patches have been landed.  Closing bug.