WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
141916
Web Inspector: source location for <link> and <style> media types in Styles details sidebar is wrong
https://bugs.webkit.org/show_bug.cgi?id=141916
Summary
Web Inspector: source location for <link> and <style> media types in Styles d...
Brian Burg
Reported
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?
Attachments
Example output
(18.75 KB, image/png)
2015-02-23 11:01 PST
,
Brian Burg
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-02-23 11:01:52 PST
<
rdar://problem/19923827
>
Timothy Hatcher
Comment 2
2015-02-23 12:50:49 PST
yes, it should be the location of the media query in the source.
Timothy Hatcher
Comment 3
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.
Nikita Vasilyev
Comment 4
2018-03-10 17:23:07 PST
The new styles sidebar no longer displayed the location of the media query.
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