Bug 163613 - Web Inspector: Styles Sidebar highlights "translate" but not "translateX"
Summary: Web Inspector: Styles Sidebar highlights "translate" but not "translateX"
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:51 PDT by Joseph Pecoraro
Modified: 2016-10-18 14:10 PDT (History)
8 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (1.70 KB, patch)
2016-10-18 13:24 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: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.