Francis Dominic Fajardo
226a443c96
Issue #2828 - Follow-up: Simplify rule node tracking and ensure rule walker state isn't reset for the first child processor
...
Styles contained in NAC shouldn't be tracked with their own rule node (as opposed to what was done in https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2859 ) because it causes precedence issues. This should now more closely imitate the original behavior where NAC and regular document styles (at least, the "unlayered" layer) are grouped together.
This also gets rid of the manual last rule node checks against null, since they are now consistently handled by the separate function.
2026-01-27 10:18:53 +08:00
Francis Dominic Fajardo
cc331e8e01
Issue #2855 - Fix rule node tracking for NAC
...
This refactors rule node tracking code into an inline function and uses that for rules from NAC.
2025-10-16 07:16:15 +08:00
Francis Dominic Fajardo
ec57be653a
Issue #2828 - Part 7: Walk child rule processors separately and ensure inverted cascade layer order is enforced for important rules
...
Excluding @layers declared in scoped styles because those aren't specced and are in an entirely separate cascade origin.
2025-07-25 20:51:30 +08:00
Francis Dominic Fajardo
03f29e75ec
Issue #2828 - Part 3: Refactor selector matching and rule cascade data into separate files/classes
2025-07-25 20:47:06 +08:00
FranklinDM
f0116f51db
Issue #2488 - Part 6: Define and declare CSSStyleSheet cast functions directly in StyleSheet
...
This renames AsGecko calls to AsConcrete and removes the header containing leftover Stylo macros.
2024-04-02 22:52:28 +08:00
FranklinDM
6803c1f710
Issue #2488 - Part 4: Remove the RestyleManagerHandle smart pointer class
2024-04-02 22:50:07 +08:00
FranklinDM
d6852b3170
Issue #2112 - Part 10: Remove remaining Stylo/Servo includes and code
...
Some classes have been marked for removal/merging, macros used for forwarding/casting were moved to DeprecatedUtils.h.
2024-04-02 22:44:24 +08:00
FranklinDM
a93a7bed47
Issue #2112 - Part 5: Remove Servo from forwarding code used by magic pointer classes
2024-04-02 22:41:34 +08:00
Jeremy Andrews
7472bc02be
Issue #1593 - Part 1: Import William Chen's patches w/o selector implementation, fixed up.
2022-04-21 21:52:40 +08:00
roytam1
ecdf4bfb29
Revert "Issue #3024 - First pass support for :host and :host-context"
...
This reverts commit 4cc56c2cb6 .
2022-04-21 21:51:52 +08:00
Matt A. Tobin
4cc56c2cb6
Issue #3024 - First pass support for :host and :host-context
2022-03-22 22:57:05 +08:00
Matt A. Tobin
b8260c664a
Bug 1425769 - Base class for ShadowRoot and Document to manage style state
...
Tag #1375
2020-04-18 07:06:51 +08:00
roytam1
dcd9973243
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
2018-01-19 03:59:58 +08:00