Open Bug 2020819 Opened 4 months ago

Implement the ability to measure document use counters from the CSS cascade.

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: emilio, Unassigned)

References

(Blocks 1 open bug)

Details

The CSS cascade can run from multiple threads so it's not super easy to just grab the element and doing element.OwnerDoc()->SetUseCounter(foo). At the very least we'd need a lock around it which is unfortunate. But ideally we'd make SetUseCounter atomic. Seems it should be fairly doable.

You need to log in before you can comment on or make changes to this bug.