Bug 146577

Summary: Web Inspector: Wrong cursor position in styles panel when deleting a line break
Product: WebKit Reporter: Nikita Vasilyev <nvasilyev>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Description Nikita Vasilyev 2015-07-02 23:33:41 PDT
Animated GIF worth thousands of words: https://cloudup.com/iiha76VfAIh. Note how the cursor is lagging.

Originally reported by https://twitter.com/toolmantim.
Comment 1 Radar WebKit Bug Importer 2015-07-02 23:34:01 PDT
<rdar://problem/21666399>
Comment 2 Radar WebKit Bug Importer 2015-07-03 00:04:30 PDT
<rdar://problem/21666642>
Comment 3 Timothy Hatcher 2015-07-03 16:14:23 PDT
This is caused by the beginning of line checkbox placeholder marker we add to lines. We are either slow at removing it, or CodeMirror is slow at honoring our removal request.
Comment 4 Devin Rousso 2015-07-04 11:30:51 PDT
Created attachment 256155 [details]
Patch
Comment 5 WebKit Commit Bot 2015-07-04 14:52:33 PDT
Comment on attachment 256155 [details]
Patch

Clearing flags on attachment: 256155

Committed r186286: <http://trac.webkit.org/changeset/186286>
Comment 6 WebKit Commit Bot 2015-07-04 14:52:37 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Nikita Vasilyev 2015-07-06 22:59:06 PDT
Finally tested this — works like a charm!