Bug 163613

Summary: Web Inspector: Styles Sidebar highlights "translate" but not "translateX"
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, joepeck, mattbaker, nvasilyev, timothy, vicki, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Description Joseph Pecoraro 2016-10-18 12:51:41 PDT
Summary:
Styles Sidebar highlights "translate" but not "translateX".

Steps to Reproduce:
1. Inspect <body> on about:blank
2. Show Styles - Rules sidebar
3. Type: "transform: translateX(10px)"
4. Compare to: "transform: translate(10px)"
  => Expected same highlighting colors
Comment 1 Radar WebKit Bug Importer 2016-10-18 12:51:56 PDT
<rdar://problem/28829610>
Comment 2 Joseph Pecoraro 2016-10-18 13:09:12 PDT
This is a general issue in CodeMirror's css mode:
<https://github.com/codemirror/CodeMirror/issues/4325>

However we could work around this. I just need to check the impact of the workaround I have.
Comment 3 Joseph Pecoraro 2016-10-18 13:16:08 PDT
Based on marijnh's change our change should be identical!
Comment 4 Joseph Pecoraro 2016-10-18 13:24:23 PDT
Created attachment 291977 [details]
[PATCH] Proposed Fix
Comment 5 WebKit Commit Bot 2016-10-18 14:10:34 PDT
Comment on attachment 291977 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 291977

Committed r207489: <http://trac.webkit.org/changeset/207489>
Comment 6 WebKit Commit Bot 2016-10-18 14:10:38 PDT
All reviewed patches have been landed.  Closing bug.