Open Bug 1077851 Opened 11 years ago Updated 1 year ago

audit style change hints to remove unnecessary bits and remove NS_STYLE_HINT_* constants

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

People

(Reporter: dbaron, Unassigned)

References

(Depends on 1 open bug)

Details

Many of the style change hints that we set in nsStyle*::CalcDifference and in content code use the NS_STYLE_HINT_* constants. In many cases these hints cause more work than we need, e.g., by forcing a repaint where the layout changes are sufficient to force a repaint, or similar. We should go through these hints and convert them to what is actually needed for the property changes in question, and while doing that, eliminate usage of NS_STYLE_HINT_* in favor of nsChangeHint_*.
Depends on: 1277128
Summary: audit style change hints to remove unnecessary bits → audit style change hints to remove unnecessary bits and remove NS_STYLE_HINT_* constants
Flags: needinfo?(emilio)
Severity: normal → S3
Flags: needinfo?(emilio)
You need to log in before you can comment on or make changes to this bug.