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

NEW
Unassigned

Status

()

Core
CSS Parsing and Computation
4 years ago
2 years ago

People

(Reporter: dbaron, Unassigned)

Tracking

(Depends on: 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
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_*.
(Reporter)

Updated

2 years ago
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
You need to log in before you can comment on or make changes to this bug.