mirror of
https://github.com/servo/servo.git
synced 2025-10-15 16:00:28 +01:00
For any element that anchors a `:has()` selector (i.e. Matches a selector that contains a `:has()` on its rightmost side), we prevent style sharing altogether, as evaluation of the `:has()` selector is required in the first place to determine style sharing. On the other hand, any element matching a rule containing `:has()` without anchoring it can do style sharing for siblings, but not cousins. Differential Revision: https://phabricator.services.mozilla.com/D176836 |
||
---|---|---|
.. | ||
checks.rs | ||
mod.rs |