Closed Bug 1075632 Opened 10 years ago Closed 4 months ago

Line numbers in style editor have no relation to the line numbers errors are reported at for inline stylesheets

Categories

(DevTools :: Style Editor, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bzbarsky, Unassigned)

References

Details

(Whiteboard: [btpp-fix-later])

Attachments

(1 file)

Attached file Testcase
STEPS TO REPRODUCE: 1) Open the Web Console. 2) Enable CSS Warnings in the Web Console. 3) Load the attached testcase. 4) Click the "test.html:14" link. ACTUAL RESULTS: Get a list of stylesheets, with numbered lines in them. None of these lines are numbered "14", and there is no indication of which of those lines "test.html line 14" would be. EXPECTED RESULTS: Have the line numbers match the actual line numbers those lines are on. Or something. Right now finding the line you care about in this case is basically impossible.
>>> My Info: Win7_64, Nightly 47, 32bit, ID 20160212030242 This bug is still reproducible. It looks similar to bug 1202293, but bug 984880 had zero impact on this one.
Depends on: 984880
OS: Mac OS X → All
Hardware: x86 → All
Priority: -- → P2
Whiteboard: [btpp-fix-later]
See Also: → 1244731
Product: Firefox → DevTools
Severity: normal → S3

The filename of the original report doesn't match, and I'm not seeing CSS warnings with a line number of 14 in the attached page.
I created a new page with a warning (https://ffx-devtools-inline-style-css-error-line-number.glitch.me/), and I can see that the error line number (3), points to the line inside the stylesheet, not relatively to the HTML page.
So it does look like this is fixed.

Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: