stylo: Cache media query results and only flush and restyle if they changed.

NEW
Assigned to

Status

()

Core
CSS Parsing and Computation
P1
normal
a month ago
a month ago

People

(Reporter: emilio, Assigned: emilio)

Tracking

(Blocks: 2 bugs)

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

a month ago
I thought we had a bug on file on this, but we don't, so let's do it.

Right now we post a full restyle every time anything that may change media query evaluation results changes. We should definitely get that fixed before shipping, since I'm pretty sure it'll make window resizes unacceptably slow.
Priority: -- → P1
You need to log in before you can comment on or make changes to this bug.