Closed Bug 1481731 Opened 6 years ago Closed 6 years ago

Source links for inline style sheets link to wrong source in Style Editor

Categories

(DevTools :: Inspector: Rules, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1499755

People

(Reporter: sebo, Unassigned)

References

()

Details

(Whiteboard: [dt-q])

The source links for inline style sheets within the CSS Rules Inspector only switch to the Style Editor but don't select the right file nor jump to the correct line number.

Test case:
1. Go to data:text/html,<div>foo</div><style>div{background:yellow;}</style><style>div{color:blue;}</style>
2. Inspect the <div>
3. In the Rules side panel click the source link for the rule defining the 'color' property

=> The DevTools switch to the Style Editor, though don't select the correct style sheet nor highlight the related line containing the rule.

I thought there was already a bug report for that, though I couldn't find it.

Sebastian
See Also: → 1244731
Priority: -- → P2
Maybe this is related to bug 880831.
I'd rather say, bug 880831 is more related to bug 1250026.

If I understand them correctly, they are enhancement requests to make it easer for the user to identify the inline style sheets, while this one here is a bug.

Sebastian
Whiteboard: [dt-q]
Sorry I missed this bug and filed a duplicate: bug 1499755.
I'm making a fix for this there, so I'll close this one.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.