WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
218301
Web Inspector: Sources: creating a local override when viewing a resource should automatically place the cursor where it was before
https://bugs.webkit.org/show_bug.cgi?id=218301
Summary
Web Inspector: Sources: creating a local override when viewing a resource sho...
Devin Rousso
Reported
2020-10-28 11:39:20 PDT
I often create local overrides once I notice that there's something I want to change in a resource. This often happens far down in the resource, so it's annoying to have to re-find the code that I wanted to change after creating the local override. It'd be ideal to copy/propagate my current selection/scroll to the new content view shown for the local override so that after hitting the button I can instantly start editing. # STEPS TO REPRODUCE 1. inspect any page 2. select a text-based resource (i.e. not an image) in the Sources Tab 3. scroll down and place the cursor somewhere near the end of the resource 4. click the Create Local Override navigation item # EXPECTED a new local override is created for the selected resource with my cursor/selection being exactly where it was before # ACTUAL a new local override is created and the newly shown content view is scrolled to the top
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-10-28 11:39:38 PDT
<
rdar://problem/70773143
>
Devin Rousso
Comment 2
2022-05-27 16:21:01 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/1129
EWS
Comment 3
2022-06-03 13:30:22 PDT
Committed
r295224
(
251279@main
): <
https://commits.webkit.org/251279@main
> Reviewed commits have been landed. Closing PR #1129 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug