Open
Bug 1075627
Opened 10 years ago
Updated 2 years ago
When a CSS error in an inline style sheet is clicked in the console, the right stylesheet is not selected in the style editor
Categories
(DevTools :: Style Editor, defect, P2)
DevTools
Style Editor
Tracking
(Not tracked)
NEW
People
(Reporter: bzbarsky, Unassigned)
Details
(Keywords: regression)
Attachments
(1 file)
122 bytes,
text/html
|
Details |
STEPS TO REPRODUCE: 1) Open the Web Console. 1) Enable CSS Warnings in the Web Console. 2) Load the attached testcase. 3) Click the "test.html:15" link. EXPECTED RESULTS: Style editor opens, shows the relevant stylesheet selected (and ideally the line selected). ACTUAL RESULTS: Style editor opens, no sheet is selected. RELATED ISSUE: If I select the second sheet in the style editor, go back to the console, and click the "test.html:12" link, I get switched to the style editor, still showing the second sheet as selected, which is extremely unhelpful.
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Comment 2•10 years ago
|
||
By the way, this seems to work for external stylesheets. It just fails for inline stylesheets.
Summary: When a CSS error is clicked in the console, the right stylesheet is not selected in the style editor → When a CSS error in an inline style sheet is clicked in the console, the right stylesheet is not selected in the style editor
Reporter | ||
Comment 3•10 years ago
|
||
Note that this is a serious regression over the old "console opens view source" behavior, which selected the right line and everything.
Keywords: regression
Comment 4•10 years ago
|
||
As far as I know, this is not a regression, but a limitation since very beginning.
Reporter | ||
Comment 5•10 years ago
|
||
It's a regresion from when clicking the links stopped opening "view source" an started opening the style editor. For example, Firefox 22 does not have this bug. It was introduced during the Firefox 23 cycle, after which dealing with CSS errors has been a huge PITA.
Updated•10 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•