Closed Bug 952960 Opened 11 years ago Closed 10 years ago

color swatch does not show when property has !important declaration

Categories

(DevTools :: Inspector, defect)

29 Branch
x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 947733

People

(Reporter: terrychen1729, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:29.0) Gecko/20100101 Firefox/29.0
Build ID: 20131223030203

Problem: When there is an !important declaration in a CSS property that accepts color values (e.g. color, background-color), the color swatch in the Style Inspector will not show.

Reproducible: Always

Steps to reproduce:
1. Go to any website
2. Inspect any element with a non-default color (where the default color is the color specified for that element in the UA's stylesheet)
3. Add !important to the property that defines the color of the element in the Style Inspector if the declaration does not already exist in said property

Actual results: The color swatch disappears.

Expected results: The color swatch should not disappear.
Status: UNCONFIRMED → 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: