Closed Bug 1122573 Opened 10 years ago Closed 10 years ago

DevTools: font-family is wrongly parsed as color

Categories

(DevTools :: Inspector, defect)

35 Branch
x86_64
Linux
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 977063

People

(Reporter: bugzilla, Assigned: miker)

Details

Attachments

(1 file)

Attached image Screenshot of the bug
When I inspect an element on this page: http://boldewyn.github.io/ebooks/At_the_Mountains_of_Madness.html the CSS `font` property of the body is mis-interpreted in the Inspector. Concretely, the first font in the font-family list of <body> is for some reason interpreted as the color #DC143C. The stylesheet in question: http://boldewyn.github.io/ebooks/static/ebook.css Sass source of the stylesheet: https://github.com/Boldewyn/ebooks/blob/master/src/sass/_reset.scss#L21 CSS declaration, that is misinterpreted: body{font:100%/1.5 crimson,Georgia,serif;color:#222;background:#FBFBFA;margin:0} Result: See attached screenshot, lower right. There is a color picker appearing amidst the `font:` CSS property. Expected: The Inspector should show `font: 100%/1.5 crimson,Georgia,serif;`.
Severity: normal → minor
Mike, my memory isn't so fresh on this topic anymore, didn't you fix this already?
(In reply to Patrick Brosset [:pbrosset] [:patrick] from comment #1) > Mike, my memory isn't so fresh on this topic anymore, didn't you fix this > already? I fixed this for CSS variables but I guess font family is still an issue. Rather than wait for me to get time for the output parser rewrite. It is a fairly easy fix so I will take a look.
Assignee: nobody → mratcliffe
Status: UNCONFIRMED → NEW
Ever confirmed: true
Filter on 1ff0543e-b501-4893-a72b-e4773c01e655
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: