Bug 146577 - Web Inspector: Wrong cursor position in styles panel when deleting a line break
Summary: Web Inspector: Wrong cursor position in styles panel when deleting a line break
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-07-02 23:33 PDT by Nikita Vasilyev
Modified: 2015-07-06 22:59 PDT (History)
8 users (show)

See Also:


Attachments
Patch (2.59 KB, patch)
2015-07-04 11:30 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!