Closed Bug 1036698 Opened 10 years ago Closed 10 years ago

style editor scrolls to wrong line with minimized files

Categories

(DevTools :: Inspector, defect, P2)

30 Branch
x86
macOS
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 724505

People

(Reporter: canuckistani, Unassigned)

References

Details

(Whiteboard: [polish-backlog][difficulty=medium])

STR: 1. got to http://devtools-dash.paas.canuckistani.ca/ 2. open the inspector, inspect the #container div 3. click on a rule eg nav:after Expected: * should switch to the style editor and land on the line where this css is defined in the prettified source Actual: * opens the style editor with the line on line 9 Aside: wasn't clear to me how to tell if the pretty version of bootstrap.min.css was being prettified or loadeding original sources from a sourcemap - I'll log a bug about having some sort of visual indicator of that generally.
Setting devedition-40 bugs to P2, filter on C17C996C-A0BE-4153-8057-FAB642D0746D
Priority: -- → P2
Line 9 is the correct line in the minified css, so the problem probably comes from the fact that the rule-view code that gets the file name and line number has no idea if the file has been/will be prettified in the style-editor.
Whiteboard: [devedition-40] → [devedition-40][difficulty=medium]
This is actually a duplicate of bug 724505.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Whiteboard: [devedition-40][difficulty=medium] → [polish-backlog][difficulty=medium]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.