New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 690540 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner:
Last visit 29 days ago
Closed: Apr 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

CSS/Style Authoring provides no way to view lines/numbers for inline <style>-supplied declarations

Reported by nmschu...@gmail.com, Feb 9 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36

Steps to reproduce the problem:
1. View an HTML page with inline <style> declarations and open the developer tools.
2. View the style authoring tab for an element matching declarations from #1.
3. Notice that the UX doesn't indicate a line number for the declarations, and viewing the lines themselves is impossible if the <style> declarations are "long" (Chromium truncates the view of many-lined inline <style> elements).

What is the expected behavior?
I expect to be able to determine the line number of the declaration within inline <style>-supplied declarations, if not be able to view the declarations directly.

What went wrong?
I cannot see the line number nor view the declarations directly.

Did this work before? No 

Chrome version: 56.0.2924.76  Channel: stable
OS Version: 
Flash Version:


(component:Platform>DevTools>Authoring,Platform>DevTools,Platform>DevTools>UX)
 
2017_02_09-12_05_08-650x319.png
37.0 KB View Download
2017_02_09-12_07_52-650x319.png
25.7 KB View Download
Labels: Needs-Triage-M56
Owner: lushnikov@chromium.org
Status: Assigned (was: Unconfirmed)
Labels: -Needs-Triage-M56 M-58
If you add a /*# sourceURL=.. */ comment in the end of your inline stylesheets, they will appear in sources and they will have a meaningful names in styles sidebar pane. 

Will it solve your issues?
Labels: Needs-Feedback
Status: WontFix (was: Assigned)

Comment 7 by nmschu...@gmail.com, Apr 10 2017

Yes, I can make this happen in my use-case, though the cases where one can't, such a feature as this requests is still useful.

Thank you for the information.

Sign in to add a comment