Page MenuHomePhabricator

Bug 2023334 - Don't re-selector match for @starting-style. r=#style!
ClosedPublic

Authored by emilio on Mar 14 2026, 10:32 AM.

Details

Summary

We're already matching all @starting-style rules during regular
matching, and we're just ignoring them and adding a flag.

Instead, keep them and filter them during the cascade. This is more
similar to what we'd need to do for an @appearance-base container rule,
and simplifies other things as well.

For that, introduce a RuleCascadeFlags (which for now is just a single
bit), and keep that in the CascadePriority (maybe we should call that
something else, RuleCascadeInfo or something?).

Diff Detail

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.
This revision is now accepted and ready to land.Mar 16 2026, 6:12 PM
This revision now requires review to proceed.Mar 16 2026, 6:12 PM

InspectorUtils change is removing code but preserving behavior.

This revision is now accepted and ready to land.Mar 16 2026, 6:17 PM