Closed Bug 1841265 Opened 1 year ago Closed 9 months ago

Add InspectorUtils.getCSSRegisteredProperties method

Categories

(DevTools :: Inspector, task, P3)

task

Tracking

(firefox120 fixed)

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This method would return an array of CSSPropertyRule, for all the registered properties of the page (via JS and CSS.registerProperty, or CSS and @property --XXX)


Alternatively, this could be a Chrome-only registeredProperties property on CSS, or even be folded into InspectorUtils.parseCSSDeclarations (see Bug 1840320), since we were thinking of also computing declarations properties in it (e.g. isValid, …)

Type: defect → task
Priority: -- → P3
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/85fff1757073
Add InspectorUtils.getCSSRegisteredProperties. r=emilio,zrhoffman.
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Blocks: 1905569
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: