Commit Graph

35 Commits

Author SHA1 Message Date
roytam1 05a146473d import from UXP: Issue #2835 - Follow-up: Guard against import rules with no attached style sheet (2026586c) 2025-08-04 21:52:21 +08:00
roytam1 0f81abbe64 import from custom branch of UXP: layout: CascadeSheet: check aSheet is non-null before use. 2025-08-04 00:42:09 +08:00
roytam1 c36257aad4 import from UXP: Issue #2835 - Part 2: Implement processing of import rules based on order of appearance (37230e7b) 2025-07-29 11:00:05 +08:00
roytam1 28c6452d78 import from UXP: Issue #2828 – Part 10: Clean up cascade layer constructor (a922ec08) 2025-07-26 00:59:25 +08:00
roytam1 cbf54b1f1c import from UXP: Issue #2828 - Part 9: Rename CascadeEnumData to CascadeLayer (1655a5a4) 2025-07-26 00:57:44 +08:00
roytam1 0a5d13c198 ported from UXP: Issue #2828 - Part 8: Extract RuleProcessorGroup (formerly ResolvedRuleCascades) into separate file (3605630f) 2025-07-26 00:55:50 +08:00
roytam1 595bed8204 ported from UXP: Issue #2828 - Part 5: Implement child rule processors (e05d4d83) 2025-07-26 00:46:59 +08:00
roytam1 f6755c8be0 import from UXP: Issue #2828 - Part 4: Move cache key storage to ResolvedRuleCascades (aab9cdf9) 2025-07-26 00:36:24 +08:00
roytam1 eb52d9cd22 ported from UXP: Issue #2828 - Part 3: Refactor selector matching and rule cascade data into separate files/classes (03f29e75) 2025-07-26 00:35:03 +08:00
roytam1 37d4465049 ported from UXP: Issue #2828 - Part 2: Collect and hold rule cascade data per cascade layer (7b51aa7c) 2025-07-25 23:34:36 +08:00
roytam1 a94d1a733b import from UXP: Issue #2078 - Follow-up: Don't try to resolve ancestor link elements when matching for Has*DependentStyle (77728935) 2025-01-23 09:52:42 +08:00
roytam1 aa2d49d1af ported from UXP: Issue #2486 - Part 2: Implement parser support for layer block and layer statements (9630698d) 2024-07-18 22:58:45 +08:00
roytam1 3f426bfd7a import from UXP: Issue #2250 - Part 2: Ignore the ancestor filter assertion if rule matching is restricted or if the current element is under a shadow host (3d917c99) 2023-05-25 09:05:03 +08:00
roytam1 60925e43ff import from UXP: Issue #2250 - Part 1: Return early if the element being tested for is likely an ancestor and does not have an assigned slot (1c2dd6ae) 2023-05-25 09:04:16 +08:00
roytam1 e7ff59ccc6 ported from UXP: Issue #1656 - Remove more vim control lines. (2f117eec) 2023-05-05 23:14:46 +08:00
roytam1 3d31a53d0f import from UXP: Issue #2135 - Don't discard event state mask when matching ::slotted() or :host arguments (f1699407) 2023-03-24 23:36:33 +08:00
roytam1 572a2aa998 import from UXP: Issue #1592 - Part 8: Test the assigned slot for type/class/ID/attribute instead of the slottable when matching ::slotted() (4cd0de04) 2023-03-24 09:59:00 +08:00
roytam1 941a8a77ce import from UXP: Issue #1592 - Part 7: Slottables cannot be matched from the outer tree. (19226fd5) 2023-03-24 09:53:58 +08:00
roytam1 a93992b32d import from UXP: Issue #1592 - Part 5: Use flattened element tree when looking for a parent while matching ::slotted() (8d2533ad) 2023-03-24 09:49:27 +08:00
roytam1 732d496633 import from UXP: Issue #1592 - Part 4: Walk ::slotted()-containing rules for slottables (518c41fd) 2023-03-24 09:45:18 +08:00
roytam1 adae2cbc79 import from UXP: Issue #1592 - Part 3: Ensure only tree-abiding pseudo-elements will follow ::slotted() (92b31dd2) 2023-03-24 09:42:24 +08:00
roytam1 8186d06c33 ported from UXP: Issue #1592 - Part 2: Parse ::slotted() pseudo-element as if it were a pseudo-class (77ad970d) 2023-03-24 09:29:56 +08:00
roytam1 b8320e63dc import from UXP: Issue #1593 - Follow-up: Fix :host matching from inside the shadow tree (7374ca67) 2023-03-23 11:57:16 +08:00
roytam1 e4c4f6a984 ported from UXP: Issue #2137 - Part 1: Modify :not() selector to accept a complex selector list (82fa9fb8) 2023-03-12 07:26:28 +08:00
roytam1 36bbce92cb import from UXP: Issue #1593 - Follow-up: Fix :host selector matching (edc45f68) 2023-02-27 13:02:23 +08:00
roytam1 dbbf656f0c import from UXP: Issue #2078 - Follow-up: aPreventComplexSelectors should be passed (83484a34) 2023-02-23 21:32:54 +08:00
roytam1 5496ef69cb import from UXP: Issue #1593 - Follow-up: Copy mIsRelevantLink value over rather than calling IsLink (0391e8ab) 2023-02-22 07:27:08 +08:00
roytam1 b4cd773d8a import from UXP: Issue #1593 - Follow-up: :host() should not automatically match if we have a non-empty selector list (9bebb3a6) 2023-02-22 07:25:35 +08:00
roytam1 01357fd6b4 import from UXP: Issue #2078 - Part 4: Unify selector list matching (1c147316) 2023-02-22 07:19:58 +08:00
roytam1 c7b2fc738b import from UXP: Issue #2078 - Part 3: Rename nsCSSRuleProcessor::SelectorListMatches to RestrictedSelectorListMatches (14e8922d) 2023-02-22 07:17:15 +08:00
roytam1 8630ba7466 import from UXP: Issue #2078 - Part 2: Rename nsPseudoClassList->u.mSelectors to mSelectorList (0648ec64) 2023-02-22 07:16:00 +08:00
roytam1 3977798de5 import from UXP: Issue #2078 - Part 1: Update CSS rule processor to handle :is() and :where() CSS pseudo-classes (453b715e) 2023-02-22 07:13:35 +08:00
roytam1 122438b8d9 import from UXP: Issue #1593 - Part 4: Make :host pass DOM parsing test and basic specificity tests. (9bf01d67) 2022-05-06 23:26:07 +08:00
roytam1 f8bd343d9c import from UXP:
- Issue #1593 - Part 1: Import William Chen's patches w/o selector implementation, fixed up. (7472bc02)
- Issue #1593 - Part 2: Account for Shadow DOM v1 and iterator in nsBindingManager. (5c002ce2)
- Issue #1593 - Part 3: Add selector logic for :host and :host-context. (c3737075)
2022-05-06 23:24:14 +08:00
roytam1 89ff1ebc22 Initial import from https://github.com/MoonchildProductions/moebius/commit/16fa730b3332a750e047aac26ebe65ea8c513849 2018-03-03 17:47:54 +08:00