servo/components
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
..
allocator Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
atoms Further changes required by Servo 2023-11-06 09:35:57 +01:00
background_hang_monitor Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
bluetooth Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
canvas Further changes required by Servo 2023-11-21 15:36:35 +01:00
compositing constellation: clean up logging of pipelines and browsing contexts (#30657) 2023-11-14 04:53:31 +00:00
config Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
config_plugins Remove use of proc_macro_diagnostics feature (#30745) 2023-11-17 10:36:09 +00:00
constellation constellation: clean up logging of pipelines and browsing contexts (#30657) 2023-11-14 04:53:31 +00:00
deny_public_fields Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
derive_common style: Fix clippy warnings 2023-11-21 15:36:35 +01:00
devtools Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
dom_struct remove extern crate (#30311) 2023-09-08 12:11:31 +00:00
domobject_derive Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
geometry Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
gfx Further changes required by Servo 2023-11-04 08:17:09 +01:00
jstraceable_derive Update to syn 2 where possible (#30387) 2023-09-19 15:57:37 +00:00
layout Further changes required by Servo 2023-11-21 15:36:35 +01:00
layout_2020 Further changes required by Servo 2023-11-21 15:36:35 +01:00
layout_thread Further changes required by Servo 2023-11-21 15:36:35 +01:00
layout_thread_2020 Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
malloc_size_of style: :has relative selector matching, with no caching/filtering 2023-11-21 15:36:35 +01:00
media Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
metrics Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
net Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
pixels Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
profile Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
rand Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
range Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
remutex Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
script Further changes required by Servo 2023-11-21 15:36:35 +01:00
script_plugins Update rust version to "nightly-2023-03-18" (#30630) 2023-11-01 13:28:26 +00:00
selectors style: Fix some spec links 2023-11-21 15:36:35 +01:00
servo Fix Servo taking a long time to start on MacOS after a recompile (#30726) 2023-11-14 10:15:02 +00:00
servo_arc style: Fix clippy warnings 2023-11-21 15:36:35 +01:00
shared constellation: clean up logging of pipelines and browsing contexts (#30657) 2023-11-14 04:53:31 +00:00
size_of_test Further changes required by Servo 2023-08-16 17:46:41 +02:00
style style: Simplify NAC setup 2023-11-21 15:36:35 +01:00
style_derive style: Make vertical writing mode (left/right) in text-emphasis-position optional 2023-11-03 08:59:49 +01:00
style_traits style: Convert RGBA to AbsoluteColor for computed/animated/resolved CSS colors 2023-11-21 15:36:35 +01:00
to_shmem style: Convert RGBA to AbsoluteColor for computed/animated/resolved CSS colors 2023-11-21 15:36:35 +01:00
to_shmem_derive Update to syn 2 where possible (#30387) 2023-09-19 15:57:37 +00:00
url Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
webdriver_server Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
webgpu Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
webrender_surfman Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00