stylo: restyle elements when presentation attributes change

NEW
Unassigned

Status

()

Core
CSS Parsing and Computation
P2
normal
2 months ago
2 months ago

People

(Reporter: heycam, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 months ago
Created attachment 8848981 [details]
test

At the moment we don't post and restyles when a presentation attribute changes.  In Gecko, this is handled in GeckoRestyleManager::AttributeWillChange, which calls through (via nsStyleSet::HasAttributeDependentStyle) to nsHTMLStyleSheet::HasAttributeDependentStyle, which returns the restyle hint to use.
Priority: -- → P2
The patch in bug 1341647 is going to fix this.
Depends on: 1341647
You need to log in before you can comment on or make changes to this bug.