Open Bug 1254696 Opened 9 years ago Updated 2 years ago

give inIDOMUtils a method for finding types accepted by functions

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

People

(Reporter: tromey, Unassigned)

Details

In bug 1250835, we realized that cssPropertySupportsType reports that some properties do not take angles; but a function passed to the property can accept an angle as an argument. We'd like to be able to programmatically find this out for devtools. We already have a whitelist in place for colors: https://dxr.mozilla.org/mozilla-central/source/devtools/client/shared/output-parser.js#17 ... and we'll probably be adding another for angles. It would be more future-proof if this information were exposed to devtools from platform.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.