fune/servo/components
Emilio Cobos Álvarez 641fa20731 Bug 1825825 - Simplify NAC setup. r=smaug
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-04-05 09:19:15 +00:00
..
derive_common
malloc_size_of Bug 1820835: :has relative selector matching, with no caching/filtering. r=emilio 2023-03-15 16:39:33 +00:00
selectors No bug - Fix some spec links. DONTBUILD 2023-04-03 13:45:57 +00:00
servo_arc Bug 1811205 - [css-nesting] Parse parent selector. r=zrhoffman 2023-01-24 10:02:18 +00:00
style Bug 1825825 - Simplify NAC setup. r=smaug 2023-04-05 09:19:15 +00:00
style_derive
style_traits Bug 1817641 - Convert RGBA to AbsoluteColor for computed/animated/resolved CSS colors r=emilio 2023-03-07 11:28:15 +00:00
to_shmem Bug 1817641 - Convert RGBA to AbsoluteColor for computed/animated/resolved CSS colors r=emilio 2023-03-07 11:28:15 +00:00
to_shmem_derive