stylo: improve the setup for deciding whether a selector with an id in it is a revalidation selector

NEW
Assigned to

Status

()

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

People

(Reporter: bz, Assigned: bz)

Tracking

(Depends on: 1 bug, Blocks: 2 bugs)

53 Branch
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

2 months ago
Right now (with bug 1369584 fixed) we just put all selectors with an id in the revalidation selector list.  We can do better.  As https://github.com/servo/servo/pull/17055#issuecomment-304436932 points out, it's enough to insert the ones which contain an id which is not present in the relevant rulehash (selectormap).

I'm deferring this for now in the interests of getting bug 1369584 landed, but we should really do it.  Though it might make sense to wait until after bug 1362538.
Assignee: nobody → bzbarsky
Priority: -- → P1
(Assignee)

Updated

a month ago
Blocks: 1373362
You need to log in before you can comment on or make changes to this bug.