Closed Bug 1032225 Opened 11 years ago Closed 11 years ago

inDOMUtils.CssPropertySupportsType returns false for box-shadow for TYPE_COLOR

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: pbro, Assigned: miker)

References

Details

DOMUtils.CssPropertySupportsType("box-shadow", DOMUtils.TYPE_COLOR) returns false.
Mike, as discussed, I assign this bug to you.
Assignee: nobody → mratcliffe
It seems that the only flags that are set for box-shadow VARIANT_NUMBER and VARIANT_INTEGER. We are obviously missing something here.
Assignee: mratcliffe → nobody
Component: Developer Tools: Inspector → CSS Parsing and Computation
Product: Firefox → Core
box-shadow uses a custom parser. This is a limitation of this API, unfortunately, that I thought was pretty clearly documented. The only way to handle this is to hardcode the various exceptions somewhere... Note that getCSSValuesForProperty has similar issues, for similar reasons.
We will need to create workarounds for these limitations as we come across them.
Assignee: nobody → mratcliffe
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.