Closed Bug 1087242 Opened 11 years ago Closed 11 years ago

Rule view sees a color where there's none: --var(--abc)

Categories

(DevTools :: Inspector, defect)

x86_64
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1049436

People

(Reporter: paul, Unassigned)

Details

What ever the variable name is, if it looks like a color name, it's considered a color (adds the color widget). ~~ Alright - so we keep running into this kind of bug since we introduced a long time ago color recognition. We keep fixing the regex/algo we use, and we still get cases where we see the color where we should not. Isn't there a smarter way to find colors? The CSS parser knows when something is a color, why can't we?
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.