CSS/Style Authoring provides no way to view lines/numbers for inline <style>-supplied declarations
Reported by
nmschu...@gmail.com,
Feb 9 2017
|
|||||
Issue descriptionUserAgent: 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)
,
Feb 10 2017
,
Feb 15 2017
,
Feb 17 2017
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?
,
Feb 17 2017
,
Apr 10 2017
,
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 |
|||||
Comment 1 by nyerramilli@chromium.org
, Feb 10 2017