Bug 140193
| Summary: | Web Inspector: Cursor & scroll view jump when editing in style sidebar for the first time | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Bailey <bugzilla> |
| Component: | Web Inspector | Assignee: | Jonathan Wells <jonowells> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Michael Bailey
Screen recording of this issue in WebKit r178028: http://roguewhaler.net/files/web-inspector-jumping.mov
When editing in the style sidebar for the first time after opening an Inspector, several things may happen:
- The cursor may jump to the beginning of the line.
- The scroll view may jump so that the line being edited is at the top.
- Characters typed may be skipped.
The linked video shows the first two issues occurring. The above may occur when typing or when clicking the checkbox next to a style declaration. Subsequent edits behave correctly.
As far as I can tell, my symptoms are the same as reported in #137467. (However, that bug report mentioned ensuring the Inspector is docked — I can reproduce this issue reliably regardless of whether the Inspector is docked, bottom or right, or in a separate window.)
I can reproduce this consistently in Safari 8.0.2 (10600.2.5) and WebKit r178028, both on OS X 10.10.1 (14B25).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/19402097>
Jonathan Wells
I'm having trouble reproducing this. Is anyone else able to?
Timothy Hatcher
Please check the latest nightly build.
Michael Bailey
I actually can still reproduce it in r181893, but only on certain sites. I’ll see if I can narrow it down into a proper testcase.