Bug 141916 - Web Inspector: source location for <link> and <style> media types in Styles details sidebar is wrong
Summary: Web Inspector: source location for <link> and <style> media types in Styles d...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://webplatform.adobe.com/Demo-for...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-02-23 11:01 PST by Brian Burg
Modified: 2018-03-10 17:23 PST (History)
8 users (show)

See Also:


Attachments
Example output (18.75 KB, image/png)
2015-02-23 11:01 PST, Brian Burg
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Burg 2015-02-23 11:01:04 PST
Created attachment 247129 [details]
Example output

It correctly lists "Media: screen, projection" for a style rule, but then links to 'src:1' which is useless. I'm not sure what this source location is supposed to be- is it the location of the media query in the CSS file?
Comment 1 Radar WebKit Bug Importer 2015-02-23 11:01:52 PST
<rdar://problem/19923827>
Comment 2 Timothy Hatcher 2015-02-23 12:50:49 PST
yes, it should be the location of the media query in the source.
Comment 3 Timothy Hatcher 2015-02-23 12:54:55 PST
In this case it should be line src:42 where the link tag is in the HTML.

<link href="css/shaders.css" media="screen, projection" rel="stylesheet" type="text/css" />

Seems like this bug is specific to the <link> tag, and like the <style> tag too.
Comment 4 Nikita Vasilyev 2018-03-10 17:23:07 PST
The new styles sidebar no longer displayed the location of the media query.