Bug 159027 - Web Inspector: Editing source links is inconsistent
Summary: Web Inspector: Editing source links is inconsistent
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-06-22 11:00 PDT by Chris Chiera
Modified: 2017-07-10 14:12 PDT (History)
3 users (show)

See Also:


Attachments
Showing casing the html and styles boxes in the web inspector. (212.54 KB, image/png)
2016-06-22 14:09 PDT, Chris Chiera
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Chiera 2016-06-22 11:00:46 PDT
In Chrome/Chromium (all versions), when in Web Inspector HTML box clicking on a src="" url lets you edit the text and by default selects all the text. The same functionality occurs when editing a src"" int he style box.

In Webkit/Safari (all versions), when in the Web Inspection HTML box clicking on a src="" url opens the file in the resource center. Clicking on a src="" in the style side box lets you edit the text but does not select the all the text. 

Clicking on a source link in the html box or style box of safari should both have a consistent result such as allowing you to edit or opening in the resource center. I believe Chrome's decisions of allowing to edit (and selecting the text by default) makes the most sense, and the context menu then should have an option for opening the resource in the resource center like Chrome. But the most important part is that it's consistent.
Comment 1 Radar WebKit Bug Importer 2016-06-22 11:01:18 PDT
<rdar://problem/26947447>
Comment 2 Brian Burg 2016-06-22 13:53:52 PDT
It is unclear what UI and views you are referring to. Please include some screenshots.
Comment 3 Chris Chiera 2016-06-22 14:09:56 PDT
Created attachment 281868 [details]
Showing casing the html and styles boxes in the web inspector.
Comment 4 Chris Chiera 2016-06-22 14:10:56 PDT
Sure thing! So when you open web inspector in Chrome, Chromnium, Safari, Webkit or Safari Preview by default there are two boxes, one on the left for html and one on the right for styles.

I've included a screenshot with arrows pointing to both. Let me know if I can clarify further.