servo/components/style/gecko
David Shin ff8100d396 style: Correct style sharing handling for any element that considered :has() in selector matching
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
2023-11-24 08:57:14 +01:00
..
arc_types.rs style: [css-properties-values-api] Implement parsing and serialization for @property at-rule 2023-11-24 08:57:14 +01:00
conversions.rs style: Reformat recent changes. 2020-04-16 17:50:17 +02:00
data.rs style: Finish removing HasArcFFI 2023-11-24 08:57:14 +01:00
media_features.rs style: Flush parent document layout if needed for viewport dependent media queries 2023-11-24 08:57:14 +01:00
media_queries.rs style: Disable NSCAP_FEATURE_USE_BASE 2023-11-24 08:57:14 +01:00
mod.rs style: Remove HasBoxFFI 2023-11-21 15:36:35 +01:00
non_ts_pseudo_class_list.rs style: Replace popover's ':open' and ':closed' pseudo-classes with ':popover-open' 2023-11-21 15:36:35 +01:00
pseudo_element.rs style: Basic implementation of Custom Highlight API 2023-11-06 09:35:57 +01:00
pseudo_element_definition.mako.rs style: Allow to use ThinVec/nsTArray in the style crate 2023-11-21 15:36:35 +01:00
regen_atoms.py style: Basic implementation of Custom Highlight API 2023-11-06 09:35:57 +01:00
restyle_damage.rs style: Speed up custom property diffing. 2021-02-26 16:44:05 +01:00
selector_parser.rs style: [css-nesting] Do a first pass at parsing nested rules mixed with declarations 2023-11-24 08:57:14 +01:00
snapshot.rs style: Unify Gecko and Servo EventState/ElementState bits 2023-10-02 14:37:19 +00:00
snapshot_helpers.rs style: Record attribute dependencies within the selector list of :nth-child(... of <selector list>) 2023-11-21 15:36:35 +01:00
traversal.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
url.rs Rustfmt. 2021-02-26 16:44:05 +01:00
values.rs style: Convert RGBA to AbsoluteColor for computed/animated/resolved CSS colors 2023-11-21 15:36:35 +01:00
wrapper.rs style: Correct style sharing handling for any element that considered :has() in selector matching 2023-11-24 08:57:14 +01:00