servo/components/style/gecko
Emilio Cobos Álvarez 5dd35ac6cd style: Simplify NAC setup
Make all UA widgets also NAC.

Keep the UA widget flag but break at anonymous subtree boundaries, so
that only nodes inside the UA widget directly (and not NAC from those)
get the flag.

This is important because two callers depend on this difference:

  * The style system, since we still want to match content rules from
    stylesheets in the UA widget. We also match user rules, which is a
    bit sketchy, but that was the previous behavior, will file a
    follow-up for that.

  * The reflector code, since we want the scope for UA widgets to not
    include the NAC nodes inside that UA widget. nsINode::IsInUAWidget
    got it wrong.

After this patch, ChromeOnlyAccess is equivalent to
IsInNativeAnonymousSubtree, so we should probably unify the naming.
That's left for a follow-up patch because I don't have a strong
preference.

Differential Revision: https://phabricator.services.mozilla.com/D174310
2023-11-21 15:36:35 +01:00
..
arc_types.rs style: Implement CSS parsing for the @font-palette-values rule 2023-11-03 08:59:49 +01:00
boxed_types.rs Implement Animation.commitStyles. 2019-05-29 16:14:16 +02:00
conversions.rs style: Reformat recent changes. 2020-04-16 17:50:17 +02:00
data.rs style: Cache computed styles objects display: none subtrees 2023-08-16 17:46:41 +02:00
media_features.rs style: Implement scripting media feature 2023-11-21 15:36:35 +01:00
media_queries.rs style: Be consistent for which URIs we expose chrome rules 2023-11-21 15:36:35 +01:00
mod.rs style: Remove the old profiler label frames code in the servo codebase and replace it with the new API 2023-05-24 18:32:40 +02:00
non_ts_pseudo_class_list.rs style: Update UA stylesheet for popover 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: Basic implementation of Custom Highlight API 2023-11-06 09:35:57 +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: Add popover attribute and part of basic popover functionality 2023-11-21 15:36:35 +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: Simplify NAC setup 2023-11-21 15:36:35 +01:00