Commit graph

655 commits

Author SHA1 Message Date
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
d3b305b819 Issue #2828 - Part 6: Assert rules were added to the rule cascade data 2025-07-25 20:51:16 +08:00
Francis Dominic Fajardo
e05d4d8306 Issue #2828 - Part 5: Implement child rule processors 2025-07-25 20:50:57 +08:00
Francis Dominic Fajardo
aab9cdf9bd Issue #2828 - Part 4: Move cache key storage to ResolvedRuleCascades 2025-07-25 20:47:31 +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
Francis Dominic Fajardo
7b51aa7ca1 Issue #2828 - Part 2: Collect and hold rule cascade data per cascade layer 2025-07-25 20:14:14 +08:00
Francis Dominic Fajardo
53e6317bfb Issue #2828 - Part 1: Build and store the array of layer name tokens in the layer at-rules 2025-07-25 20:13:14 +08:00
Moonchild
5869164e31 Issue #2691 - Follow-up: Add manual tests 2025-07-25 07:29:49 +08:00
erixreyes
906f05e606 Issue #2691: Utilize regex for spacing rules 2025-07-18 21:46:19 +08:00
erixreyes
f2d6170830 Issue #2691: Refactored ParseSupportsSelector 2025-07-18 21:46:06 +08:00
erixreyes
ea580ec54b Issue #2691: Improve Parser State Handling 2025-07-18 21:45:52 +08:00
erixreyes
224d1724b2 Issue #2691: Add special handling for nth-child expressions 2025-07-18 21:45:37 +08:00
erixreyes
aaae6484ee Issue #2691: Enhance spacing logic for selector formatting 2025-07-18 21:45:20 +08:00
erixreyes
69556b7b1b Issue #2691: Improve token handling for selectors 2025-07-18 21:45:06 +08:00
erixreyes
fcb4b3d01f Issue #2691: Add basic parentheses tracking to ParseSupportsSelector 2025-07-18 21:44:53 +08:00
erixreyes
e9a7190529 Issue #2691: Adjusted the function to use ParseSelectorGroup 2025-07-18 21:44:40 +08:00
erixreyes
8be86514f0 Issue #2691: Implement ParseSupportsSelector 2025-07-18 21:44:26 +08:00
MeladJM
0903dacaa7 Issue #2792 -Implements parsing, computed style, and writing mode mapping for overflow-block and overflow-inline properties 2025-07-17 23:12:33 +08:00
Moonchild
07cf2e643f Issue #2720 - Follow-up: Use temp value for duplicate color stop 2025-07-16 15:21:14 +08:00
MeladJM
5e8e1208e7 Issue #2499 - Part 3: Add CSS clip overflow support with serialization fixes 2025-07-16 15:20:45 +08:00
MeladJM
205ea844f4 Issue #2499 - Part 2: Fix overflow shorthand serialization for mixed clip values 2025-07-16 14:59:48 +08:00
MeladJM
ad396c6c59 Issue #2499 - Part 1: Add overflow: clip support and tests 2025-07-16 14:40:20 +08:00
Moonchild
3f67905afc Issue #2757 - Follow-up: Add clip-path test (manual QA) 2025-07-09 00:30:59 +08:00
erixreyes
67421b3048 Issue #2757: Create a new basicShape of type inset then set inset coords to zero. 2025-07-09 00:30:21 +08:00
erixreyes
c3590da576 Issue #2780: Add back the mismatch overflow handling in nsRuleNode.cpp 2025-07-08 10:01:35 +08:00
Andy
b11affbdf3 Issue #2106 - Clean-up: Un-prefix -moz-user-select in Comments 2025-07-08 10:01:21 +08:00
Andy
f1815317c3 Issue #2106 - Follow-up: Additional contain Keyword Entries 2025-07-08 10:00:47 +08:00
Andy
abb891ff26 Issue #2106 - Follow-up: Un-prefix DOM Attribute MozUserSelect 2025-07-08 10:00:32 +08:00
Andy
1a5b3dcae6 Issue #2106 - Follow-up: Additional Un-prefixing 2025-07-08 10:00:02 +08:00
MeladJM
dae72b452c Issue #2124/2662: Cleaning of code 2025-07-07 11:58:54 +08:00
erixreyes
7626c99ceb Issue #2124/2662: Optimize overflow shorthand parsing and serialization 2025-07-07 11:58:35 +08:00
erixreyes
7c52fd934f Issue #2662 - Implement axis-shorthand parsing 2025-07-07 11:58:15 +08:00
erixreyes
f4ffb1ec16 Issue #2124 - Adjust overflow parser to handle two values 2025-07-07 11:57:59 +08:00
erixreyes
9f7430f8b9 No Issue - Add detection for medium in border shorthand 2025-07-07 11:57:28 +08:00
Jerico
e6b48fcc95 Issue #2106 - Part 3: Add 'contain' as user-select value, retain 'element' 2025-07-07 11:56:37 +08:00
Francis Dominic Fajardo
5346e55655 Issue #2045 - Part 9: Include the revert keyword in the list of accepted values for CSS properties returned by inDOMUtils 2025-07-07 11:56:06 +08:00
Francis Dominic Fajardo
a47f44e93d Issue #2045 - Part 8: Remap revert keyword values to a higher cascade level 2025-07-07 11:55:40 +08:00
Francis Dominic Fajardo
166e98d2b9 Issue #2045 - Part 7: Override revert values during presentation hint cascade 2025-07-07 11:55:24 +08:00
Francis Dominic Fajardo
c4b6135c99 Issue #2045 - Part 6: Treat "revert" values as the same as "unset" when encountered in the rule node 2025-07-07 11:21:14 +08:00
Francis Dominic Fajardo
801d4a2db8 Issue #2045 - Part 5: Serialize shorthands using "revert" like those containing "unset" 2025-07-07 11:20:56 +08:00
Francis Dominic Fajardo
9105c58a30 Issue #2045 - Part 4: Parse "revert" in property values wherever "unset" is allowed 2025-07-07 11:20:42 +08:00
Francis Dominic Fajardo
b0f0972314 Issue #2045 - Part 3: Implement cascade origin tracking to CSS parser
The CSS parser already knows the cascade origin, but it is using a different enum for storing it.
2025-07-07 11:20:23 +08:00
Francis Dominic Fajardo
7f3f90eed4 Issue #2045 - Part 2: Add handling and storage for the revert unit and value 2025-07-07 11:20:09 +08:00
Francis Dominic Fajardo
dd2cf17d30 Issue #2045 - Part 1: Revert "Temporarily force hidden elements to be actually hidden."
This reverts commit 1692fa52914012b051484c51caaed8e227334558.
2025-07-07 11:19:51 +08:00
Francis Dominic Fajardo
552cb8dbcc No issue - Fix mixing of tabs with space-indented code. 2025-07-07 11:19:34 +08:00
Jerico
cc55a380f6 Issue #2106 - Part 1: Un-prefix -moz-user-select 2025-07-07 11:18:59 +08:00
Andy
4cc014cb6b Unprefix -moz-read-write / -moz-read-only 2025-07-04 22:27:22 +08:00
Francis Dominic Fajardo
e4630ce481 Issue #2765 - Follow-up: Avoid declaring RefPtr in the return statement 2025-06-29 00:15:21 +08:00
Francis Dominic Fajardo
6e358f1039 Issue #2765 - Follow-up: Fix UAF when returning the non-NAC style context from a frameless node 2025-06-29 00:15:02 +08:00
Francis Dominic Fajardo
d14972602f Issue #2764 - Fix several properties to return NeutralChange hint
This excludes the removal of the mBorderImageOutset change condition from triggering a repaint which doesn't make sense.
2025-06-27 23:33:27 +08:00