Basilisk-Dev
5a3dcf5939
Issue #2862 - Remove unused vars in CSS flattener
2026-03-14 13:22:59 -04:00
Basilisk-Dev
997a9a3e13
Issue #2862 - Change tests from lowering to flattening
2026-03-13 09:01:56 -04:00
Basilisk-Dev
008f38579c
Issue #2862 - Change code references from CSS lowering to CSS flattening
2026-03-13 08:58:18 -04:00
Basilisk-Dev
d943e86b28
Issue #2862 - handle more edge cases in css lowering
2026-03-12 08:44:03 -04:00
Basilisk-Dev
3f2d707a83
Issue #2862 - more tests files for nested css
2026-03-12 08:43:58 -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
76694b956f
Issue #2862 - add initial nested css test file
2026-03-12 08:43:33 -04:00
Basilisk-Dev
9fab5b3e3c
Issue #2862 - Initial attempt at a css lowering
2026-03-12 08:43:23 -04:00
Moonchild
b4ad4b7293
Issue #2981 - Add nullcheck in GetPointerCapabilities
...
Resolves #2981
2026-03-09 11:27:25 +01: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
Basilisk-Dev
6d3f71d200
Issue #2229 - Fix debug builds when visiting pages that utilize top-level await
...
Fix JSOP_AWAIT stack modeling for top‑level await in modules.
Ensure yield/await offsets are emitted for TLA scripts.
Allow interpreter prologue for resumed TLA module frames.
Fix MediaQueryList invariant for onchange handler.
2026-02-12 14:38:25 -05:00
Moonchild
a410f9e553
Issue #2909 - Base implementation of media interaction features.
...
This implements `hover`, `pointer`, `any-hover` and `any-pointer` and
the values `course`/`fine` (pointer) and `hover`.
A best effort is made to get capabilities from the system but if unknown
always falls back to assuming a mouse is present.
2026-02-07 13:24:34 +01:00
Francis Dominic Fajardo
6258c24c8c
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-25 16:49:55 +08:00
Moonchild
87ddc5d6bb
Issue #2887 - Convert use of -moz-appearance to appearance
2026-01-02 19:46:40 +01:00
Moonchild
ee673e2a51
Issue #1791 - Part 3: Add manual test for unprefixed appearance.
2025-12-25 16:27:41 +01:00
Moonchild
a66233d638
Issue #1791 - Part 2: Stop force-styling checkboxes/radio buttons.
...
Unclear why this was done. Let websites choose their own style overrides
if they want to, in combination with `appearance: none`
2025-12-25 16:27:41 +01:00
Moonchild
a208d718cf
Issue #1791 - Part 1: Un-prefix -moz-appearance
...
Keep an alias (preffed) `-moz-appearance` for `appearance`
This should keep all previous behaviour intact.
2025-12-25 16:27:40 +01:00
Moonchild
c64aa83a09
Issue #2857 - Implement inset-block and inset-inline CSS shorthand
...
Resolves #2857
2025-12-23 11:09:23 +01:00
Job Bautista
da8387e80a
Issue #2873 - Don't let toolkit override colors of autofilled form elements.
...
Currently there's no way for the toolkit's overrides to be removed by users and
websites. In the case of Issue #2872 our current colors also harshly clash with
the usual dark mode of webpages.
It's best to let them write their own CSS targetting the :autofill psuedo-class
of form elements if they want the indication.
This effectively makes Issue #2790 only implement :autofill and nothing else.
2025-12-05 13:05:36 +08: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
da7dff0437
Issue #2847 - Update tests and toolkit CSS to account for windows-win11
2025-10-25 17:46:17 +02:00
Moonchild
2c321e2baf
Issue #2847 - Extend -moz-os-version media query with win11. (re-land)
2025-10-25 15:53:23 +02:00
Francis Dominic Fajardo
3e88d97cbd
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-11 19:20:38 +08:00
Moonchild
75a1d79076
Issue #2489 - Revert color-mix implementation
...
Resolves #2854
2025-10-02 21:19:54 +02:00
Moonchild
2ae979cdc7
Issue #2790 - Follow-up: Ensure both text and background are set.
...
The common issue of needing to set both foreground and background for dark
themes.
2025-09-19 21:03:13 +02:00
Moonchild
ccb6e13fd4
Revert "Issue #2847 - Extend -moz-os-version media query with win11."
...
This reverts commit 1ff84675f8 .
2025-09-03 16:40:45 +02:00
Moonchild
6c08355e6a
Issue #2850 - Alias :focus-visible to :-moz-focusring
...
Band-aid to have it be parsed as valid with reasonably-expected behaviour.
2025-08-17 09:13:02 +02:00
Moonchild
1ff84675f8
Issue #2847 - Extend -moz-os-version media query with win11.
...
Resolves #2847
2025-08-13 21:14:47 +02:00
Moonchild
3325b35f89
Issue #2837 - Implement prefers-reduced-motion media query.
...
Resolves #2837
2025-08-08 10:59:59 +02:00
Francis Dominic Fajardo
5fccc6ec3d
Issue #2835 - Follow-up: Guard against import rules with no attached style sheet
2025-08-04 00:02:36 +08:00
Moonchild
1ff0a21ee9
Issue #2489 - Follow-up: Add color-mix() manual test.
2025-07-29 21:49:00 +02:00
Moonchild
39fd993c54
Merge pull request 'Implement :autofill CSS pseudo-class' ( #2841 ) from janjan/UXP:implement-autofill-css into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2841
2025-07-28 21:06:39 +00:00
MeladJM
f0ba16f55f
Issue #2790 - Part 7: Setting of contrasting color and fixing of last commit's issues
2025-07-29 04:53:45 +08: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
MeladJM
e33e98ff32
Issue #2790 - Part 6: Highlight color change and remove important
2025-07-28 03:52:16 +08:00
MeladJM
dad41636ad
Merge with latest commits
2025-07-26 22:34:41 +08:00
Francis Dominic Fajardo
2ba24302d9
Issue #2835 - Part 2: Implement processing of import rules based on order of appearance
2025-07-26 14:55:22 +08:00
Francis Dominic Fajardo
618f62e753
Issue #2835 - Part 1: Expose nsCSSRuleProcessor::CascadeSheet
2025-07-26 14:55:22 +08:00
erixreyes
a48b046c36
Issue #2489 : Produce more accurate computations
2025-07-26 06:16:30 +08:00
erixreyes
6298bfeb3d
Issue #2489 : Disallow percentage overflow and underflow
2025-07-26 05:51:57 +08:00
MeladJM
06a857bdb3
Issue #2790 - Cleanup: Remove debugging lines
2025-07-26 04:07:54 +08:00
MeladJM
9b03c84201
Issue #2790 - Part 5: Persistent highlight despite blur click
2025-07-26 03:06:37 +08:00
erixreyes
073e3adb0c
Issue #2489 : Allow SRGB with alpha mixing
2025-07-26 01:13:18 +08:00
erixreyes
d8060a0296
Issue #2489 : Allow HSL with alpha mixing
2025-07-26 01:00:17 +08:00