Commit graph

6,385 commits

Author SHA1 Message Date
erixreyes
6b938c48a5 Issue #2489: Include color-mix to avoid filtering 2025-07-29 10:10:16 +08:00
erixreyes
58d7206259 Issue #2489: Add color-mix computation support 2025-07-29 10:09:51 +08:00
erixreyes
b42cca5fa5 Issue #2489: Add color-mix serialization support 2025-07-29 10:09:35 +08:00
erixreyes
7800eb0126 Issue #2489: ColorMixValue support and structure 2025-07-29 10:09:01 +08:00
erixreyes
055a685c2e Issue #2489: Add CSS color-mix keyword support 2025-07-29 10:08:47 +08:00
Moonchild
2c39bb7901 No issue - Regenerate devtools CSS database
To pick up new public use of clip, addition of overflow-inline and
addition of overflow-block.
2025-07-29 10:08:32 +08:00
Francis Dominic Fajardo
37230e7b21 Issue #2835 - Part 2: Implement processing of import rules based on order of appearance 2025-07-29 10:08:01 +08:00
Francis Dominic Fajardo
be3d8491c7 Issue #2835 - Part 1: Expose nsCSSRuleProcessor::CascadeSheet 2025-07-29 10:07:47 +08:00
Francis Dominic Fajardo
318031c74b Issue #2828 - Part 13: Exclude strong layers-related code from release builds
I'll be leaving this in here for future use. CSSWG hasn't defined how this will be exposed to CSSOM yet. The parser bits are also not yet implemented.
2025-07-25 20:53:31 +08:00
Francis Dominic Fajardo
e3476d33ed Issue #2828 - Part 12: Implement cascade layer SizeOfIncludingThis 2025-07-25 20:53:16 +08:00
Francis Dominic Fajardo
cbb019a862 Issue #2828 - Part 11: Detach weighted rule data from cascade layer 2025-07-25 20:52:56 +08:00
Francis Dominic Fajardo
a922ec0823 Issue #2828 – Part 10: Clean up cascade layer constructor
This also renames mIsWeak to mIsStrong. Cascade layers are weak by default and there's no point in always setting this to true.
2025-07-25 20:52:35 +08:00
Francis Dominic Fajardo
1655a5a4a9 Issue #2828 - Part 9: Rename CascadeEnumData to CascadeLayer 2025-07-25 20:52:08 +08:00
Francis Dominic Fajardo
3605630f4e Issue #2828 - Part 8: Extract RuleProcessorGroup (formerly ResolvedRuleCascades) into separate file
The struct no longer holds rule cascades since part 5 anyway, and extracting it to a separate file allows it to be reused in the future.
2025-07-25 20:51:45 +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
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
f902d2ad0e [DOM] Make object loading use an explicit scheme whitelist. 2025-07-25 07:33:16 +08:00
Moonchild
cdc8127cd1 [network] Stop accepting nameless cookies. 2025-07-25 07:32:29 +08:00
Moonchild
3f297457d8 [js] Align br_table limits with V8/Gecko. 2025-07-25 07:31:43 +08:00
Moonchild
40f96b82ad [gfx] Hold a stronger reference to gfxFontEntry. 2025-07-25 07:31:08 +08:00
Moonchild
0a8f50fafa No issue - Adjust CSP URI reporting more closely with the spec.
According to the W3C discussion we should allow websocket URIs to be
reported aside from http/https/ftp ones.
This rewrites things slightly and updates comments to clarify.
We do retain the non-standard reduction to origin only in case the
report is for cross-origin URIs (stops leaking full URIs to the CSP
reported destination).
See https://github.com/w3c/webappsec-csp/issues/735
2025-07-25 07:30:32 +08:00
Francis Dominic Fajardo
b992da05eb Issue #2826 - Set up fontconfig on XRE startup (GTK only) 2025-07-25 07:30:17 +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
Francis Dominic Fajardo
c8608ad5cf Issue #2736 - Follow-up: Stop using worker thread-only functions for checking if CSP is enabled
Should stop the barrage of worker thread assertions on debug builds.
2025-07-16 15:21:31 +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
8f46cd0d63 Issue #2106 - Clean-up: Remove Defunct -moz-user-select CSS Directives 2025-07-08 10:01:03 +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