Open Bug 1602057 Opened 5 years ago Updated 2 years ago

Add an API for determining if a CSS property is applied to an element

Categories

(Core :: Layout, enhancement)

enhancement

Tracking

()

People

(Reporter: mtigley, Unassigned)

Details

From Bug 1601083 comment 2:

Alternatively, the API could just answer the original question directly: "does this property apply to this element"?
E.g. element.isPropertyApplied('grid-column-start')

It would be useful to have this sort of API available to not only DevTools, but to other areas of layout. It needs more discussion around what changes need to be made though. So let's do it here.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.