Basilisk-Dev
008f38579c
Issue #2862 - Change code references from CSS lowering to CSS flattening
2026-03-13 08:58:18 -04:00
Basilisk-Dev
b145a93ad6
Issue #2862 - Split the css lowering functionality out to a separate file for easier maintenance
2026-03-12 08:43:53 -04:00
Basilisk-Dev
3056028db4
Issue #2862 - Fix a few nested selectors
2026-03-12 08:43:48 -04:00
Basilisk-Dev
b4dac14720
Issue #2862 - Modify the css lowerer so that the lowering pass now recognizes bare type-selector nested rules and combinator-led cases
2026-03-12 08:43:42 -04:00
Basilisk-Dev
9fab5b3e3c
Issue #2862 - Initial attempt at a css lowering
2026-03-12 08:43:23 -04:00
Basilisk-Dev
0ab247bee9
Issue #2982 - Fix regressions in the previous regression fix commit.
2026-03-06 16:27:12 -05:00
Basilisk-Dev
5370edc560
Issue #2982 - Fix regression in previous commit by handling possible floating point issues
2026-03-06 16:27:12 -05:00
Basilisk-Dev
f27b6cbd21
Issue #2982 - clamp oklab/oklch to [0,1] before conversion to closer match spec
2026-03-06 16:27:12 -05:00
Basilisk-Dev
de3485ed67
Issue #2982 - Make gradients work in oklch
2026-03-06 16:27:12 -05:00
Basilisk-Dev
7f8489bc11
Issue #2982 - Initial oklch test implementation
2026-03-06 16:27:07 -05:00
Moonchild
c64aa83a09
Issue #2857 - Implement inset-block and inset-inline CSS shorthand
...
Resolves #2857
2025-12-23 11:09:23 +01:00
Moonchild
49f4dad4fa
Issue #2489 - Re-implement color-mix implementation with fixes.
...
This includes a hack to avoid fatal recursion when either color resolves
to NS_COLOR_CURRENTCOLOR, avoiding #2854
Resolves #2489
2025-10-27 23:08:41 +01:00
Moonchild
75a1d79076
Issue #2489 - Revert color-mix implementation
...
Resolves #2854
2025-10-02 21:19:54 +02:00
Moonchild
aa564908c4
Merge pull request 'Implement CSS color-mix()' ( #2839 ) from erx_ld1/UXP:implement-color-mix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2839
2025-07-28 11:02:31 +00:00
erixreyes
6298bfeb3d
Issue #2489 : Disallow percentage overflow and underflow
2025-07-26 05:51:57 +08:00
erixreyes
caaa037d42
Issue #2489 : Allow color-mix() to differentiate color spaces
2025-07-25 10:41:30 +08:00
erixreyes
55254b80fd
Issue #2489 : Remove unnecessary initializations
2025-07-25 04:48:50 +08:00
erixreyes
c4a6eba91d
Issue #2489 : Fix CSS color-mix() percentage parsing
2025-07-25 04:47:13 +08:00
Francis Dominic Fajardo
253ec6706a
Issue #2828 - Part 1: Build and store the array of layer name tokens in the layer at-rules
2025-07-22 22:39:37 +08:00
erixreyes
3654fa5444
Issue #2489 : color-mix function parsing
2025-07-19 12:32:43 +08:00
erixreyes
b8a6819b91
Issue #2489 : Include color-mix to avoid filtering
2025-07-19 12:13:58 +08:00
Moonchild
e01b2390b8
Merge pull request 'Implement ParseSupportsSelector' ( #2794 ) from erx_ld1/UXP:implement-at-support-selector into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2794
2025-07-18 09:54:27 +00:00
erixreyes
679c4f4075
Issue #2691 : Repositioning comments
2025-07-18 07:13:31 +08:00
erixreyes
0a6a588b0c
Issue #2691 : Utilize regex for spacing rules
2025-07-18 02:33:53 +08:00
erixreyes
d49896cd01
Issue #2691 : Refactored ParseSupportsSelector
2025-07-17 17:10:50 +08:00
erixreyes
ca28df8d02
Issue #2691 : Improve Parser State Handling
2025-07-17 12:44:53 +08:00
Moonchild
c7cb351ad3
Issue #2720 - Follow-up: Use temp value for duplicate color stop
2025-07-14 17:24:44 +02:00
erixreyes
9b1247c628
Issue #2691 : Adjusted missing structure
2025-07-11 19:03:13 +08:00
erixreyes
97cae6fc0f
Issue #2691 : Add special handling for nth-child expressions
2025-07-11 10:46:20 +08:00
erixreyes
299cddb361
Issue #2691 : Enhance spacing logic for selector formatting
2025-07-11 10:41:52 +08:00
erixreyes
824a39a562
Issue #2691 : Improve token handling for selectors
2025-07-11 10:34:37 +08:00
erixreyes
e49ad49053
Issue #2691 : Add basic parentheses tracking to ParseSupportsSelector
2025-07-11 10:28:28 +08:00
erixreyes
7560f59163
Issue #2691 : Adjusted the function to use ParseSelectorGroup
2025-07-10 09:33:49 +08:00
erixreyes
af37e5c0ad
Issue #2691 : Implement ParseSupportsSelector
2025-07-09 06:44:26 +08:00
erixreyes
48a8d9e9e8
Issue #2124 - Adjust overflow parser to handle two values
2025-07-05 05:39:25 +08:00
Francis Dominic Fajardo
204d263577
Issue #2045 - Part 4: Parse "revert" in property values wherever "unset" is allowed
2025-07-03 18:02:48 +08:00
Francis Dominic Fajardo
d4b9bb1c87
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-03 18:02:48 +08:00
Moonchild
19a5b2394d
Issue #2720 - Implement two-location color stop logic.
...
This allows for two-location color stops (`color x% y%`) which is shorthand
for `color x%, color y%` where both colors are equal. (pct/length accepted)
See code comment for the reason it's implemented the way it is.
Resolves #2720
2025-03-28 23:05:50 +01:00
Martok
751f66f472
Issue #1765 - Follow-Up: For parsing calc() in non-hue component of hsl/a(), explicitly expect <percentage> values
2025-01-22 00:02:37 +01:00
FranklinDM
e5cec10a4e
Issue #2486 - Part 5: Fix parsing of nested layer names
...
This does not handle the merging of same-named layers, however.
2024-07-15 09:00:53 +08:00
FranklinDM
917cac9674
Issue #2486 - Part 4: Ensure layer statement rule is appended and invalid tokens are restored
2024-07-15 08:33:34 +08:00
FranklinDM
caaf54a046
Issue #2486 - Part 2: Implement parser support for layer block and layer statements
...
This does not deal with layer specificity.
2024-07-14 22:58:25 +08:00
FranklinDM
d3812c1a0e
Issue #2486 - Part 1: Initial plumbing and CSSOM support for cascade layers
2024-07-14 22:58:24 +08:00
FranklinDM
9605315718
Issue #2522 - Part 2: Implement support for logical viewport units
2024-06-09 19:53:56 +08:00
FranklinDM
c2362f7f61
Issue #2522 - Part 1: Alias small, large, and dynamic viewport units to base viewport
2024-06-09 19:53:56 +08:00
FranklinDM
878709cd23
Issue #2477 - Part 3: Logical box properties should accept auto values
2024-04-09 11:08:26 +08:00
FranklinDM
ea87895dd9
Issue #2477 - Part 2: Implement shorthand properties for [margin/padding][block/inline]
2024-04-09 11:08:26 +08:00
FranklinDM
6b25fb2b3a
Issue #2477 - Part 1: Implement a separate function for parsing pair box properties
...
This reuses existing logic from ParseGap.
2024-04-09 11:08:25 +08:00
Moonchild
734f0957fb
Issue #2343 - replace MOZ_FALLTHROUGH with [[fallthrough]]
...
Basically a S&R. Removed the macro and adjusts IDL codegen accordingly.
2023-11-11 14:27:03 +01:00
FranklinDM
ddf3f39070
Issue #1765 - Part 3: Provided token type should be used in LookForTokenType
...
I didn't realize this immediately after moving the code into a method. Oops.
2023-05-14 18:31:21 +08:00