Daniel Holbert
efbe3cb909
Bug 2026293: Block scripts when initiating async scrollbar activity.
2026-04-27 10:02:29 +08:00
Basilisk-Dev
576265905a
Issue #3003 - Add CSS lch() color parsing support
2026-04-15 09:29:43 +08:00
Basilisk-Dev
c249eee4d1
Issue #3003 prerequisite - Split non-sRGB CSS color helpers out of nsCSSParser
2026-04-15 09:29:28 +08:00
Brian Smith
3febe21f99
Issue #2548 - Part 5 - Implement the HTMLOrForeignElement mixin. https://bugzilla.mozilla.org/show_bug.cgi?id=1577660 Add 'preventScroll' option to HTMLElement's, SVGElement's and XULElement's 'focus' method. https://bugzilla.mozilla.org/show_bug.cgi?id=1374045
2026-03-27 07:26:35 +08:00
Brian Smith
20354b672f
Issue #2548 - Part 3 - Fix some MathML issues encountered since WebIDL works. Add an nsContentUtils API for getting the CallerType of a JSContext. https://bugzilla.mozilla.org/show_bug.cgi?id=1316616 Also added a Fetch() change that was not in the Mozilla patch.
2026-03-27 07:24:56 +08:00
Brian Smith
85600c7378
Issue #2548 - Part 1 - Implement MathML DOM and pre-requisites. https://bugzilla.mozilla.org/show_bug.cgi?id=1571487 Introduce interface mixins. https://bugzilla.mozilla.org/show_bug.cgi?id=1414372 Switch XPathEvaluator to using IDL mixins and remaining users of IDL "implements" over to mixin syntax. https://bugzilla.mozilla.org/show_bug.cgi?id=1574195 Introduce GlobalEventHandlers/DocumentAndElementEventHandlers/ElementCSSInlineStyle mixin. https://bugzilla.mozilla.org/show_bug.cgi?id=1579457 Introduce DocumentAndElementEventHandlers to more closely align with the HTML spec. https://bugzilla.mozilla.org/show_bug.cgi?id=1330457 Remove the use of IsCallerChrome in FetchRequest. https://bugzilla.mozilla.org/show_bug.cgi?id=1335368
2026-03-27 07:24:23 +08:00
Moonchild
e5e86a8124
Issue #3001 - Restore table reference frame call.
...
While the result value was only used for debug purposes, the function
`FindReferenceFrameFor` also updates the reference frame for use
outside of debug builds. The opaque double use of this function
was not clear from code inspection and it was erroneously removed.
Resolves #3001
2026-03-15 11:40:29 +08:00
Basilisk-Dev
72cb599848
Issue #2862 - Remove unused vars in CSS flattener
2026-03-15 11:38:33 +08:00
Basilisk-Dev
ac4c7bca08
Issue #2862 - Change tests from lowering to flattening
2026-03-15 11:38:16 +08:00
Basilisk-Dev
a6356fff88
Issue #2862 - Change code references from CSS lowering to CSS flattening
2026-03-15 11:38:02 +08:00
Basilisk-Dev
6d9547c688
Issue #2862 - handle more edge cases in css lowering
2026-03-15 11:37:46 +08:00
Basilisk-Dev
3f299e8f2b
Issue #2862 - more tests files for nested css
2026-03-15 11:37:30 +08:00
Basilisk-Dev
d9b66581ac
Issue #2862 - Split the css lowering functionality out to a separate file for easier maintenance
2026-03-15 11:37:16 +08:00
Basilisk-Dev
d37e667f9a
Issue #2862 - Fix a few nested selectors
2026-03-15 11:37:03 +08:00
Basilisk-Dev
34f9837649
Issue #2862 - Modify the css lowerer so that the lowering pass now recognizes bare type-selector nested rules and combinator-led cases
2026-03-15 11:36:48 +08:00
Basilisk-Dev
fc09c7cb34
Issue #2862 - add initial nested css test file
2026-03-15 11:36:35 +08:00
Basilisk-Dev
ce4b9975db
Issue #2862 - Initial attempt at a css lowering
2026-03-15 11:36:22 +08:00
Moonchild
01b4ef076f
No issue - Fix some fatal printing assertions.
...
- Turn a fatal assert into a warning if we can't guarantee a drawTarget.
This should not be fatal since the DrawTarget is checked later.
- Remove a fatal assertion if a display table background is cross-document
since non-display iframes may cause this situation without it being an
error.
2026-03-11 23:01:40 +08:00
Moonchild
8d8c846274
Issue #2981 - Add nullcheck in GetPointerCapabilities
...
Resolves #2981
2026-03-11 23:01:15 +08:00
Basilisk-Dev
619f221dea
Issue #2982 - Fix regressions in the previous regression fix commit.
2026-03-09 14:48:08 +08:00
Basilisk-Dev
ebff6ff38c
Issue #2982 - Fix regression in previous commit by handling possible floating point issues
2026-03-09 14:47:15 +08:00
Basilisk-Dev
cfe5b73e0c
Issue #2982 - clamp oklab/oklch to [0,1] before conversion to closer match spec
2026-03-09 14:46:35 +08:00
Basilisk-Dev
217f699ce7
Issue #2982 - Make gradients work in oklch
2026-03-09 14:46:17 +08:00
Basilisk-Dev
b3ad75b7b3
Issue #2982 - Initial oklch test implementation
2026-03-09 14:45:42 +08:00
Andy
a280357a13
Add Special Lithuanian Casing
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1322992
2026-02-19 11:11:51 +08:00
Basilisk-Dev
13a4a75cd0
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-13 07:16:39 +08:00
Moonchild
5d989634a1
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-11 06:56:51 +08:00
Francis Dominic Fajardo
226a443c96
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-27 10:18:53 +08:00
Job Bautista
e0f8acddc7
Issue #2889 - Follow-up: Avoid conflicts with system version of libexpat
2026-01-14 00:03:14 +08:00
Job Bautista
a2f8e66162
Issue #2889 - Part 4: Fix build and runtime issues.
...
- The 3rd patch causes MSVC to error out on an empty typedef struct.
- The 13th patch is causing the application to abort on startup.
- Fixed header issues as well as resolved the necessary symbols for gkmedias.
2026-01-14 00:02:48 +08:00
Moonchild
1782eeb3bd
Issue #2887 - Convert use of -moz-appearance to appearance
2026-01-07 23:09:03 +08:00
Moonchild
0357516199
Issue #2853 - Leverage viewport-only logic to ensure overflow propagation.
...
Resolves #2853
2026-01-07 23:04:00 +08:00
Moonchild
d40256d03f
Issue #1791 - Part 3: Add manual test for unprefixed appearance.
2026-01-07 23:03:14 +08:00
Moonchild
f303711c59
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`
2026-01-07 23:02:54 +08:00
Moonchild
a266b9852c
Issue #1791 - Part 1: Un-prefix -moz-appearance
...
Keep an alias (preffed) `-moz-appearance` for `appearance`
This should keep all previous behaviour intact.
2026-01-07 23:02:40 +08:00
Moonchild
5a832a6e24
Issue #2857 - Implement inset-block and inset-inline CSS shorthand
...
Resolves #2857
2025-12-24 09:58:37 +08:00
Andy
ec13c2746d
Issue #2863 - Part 20 - Update special casing in Gecko
2025-12-23 22:00:21 +08:00
Job Bautista
17d951328f
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-17 22:40:15 +08:00
Moonchild
becf65d05a
Issue #2847 - Update tests and toolkit CSS to account for windows-win11
2025-11-29 07:13:48 +08:00
Moonchild
103bd151c8
Issue #2489 - fix color-mix implementation.
...
This includes a hack to avoid fatal recursion when either color resolves
to NS_COLOR_CURRENTCOLOR, avoiding #2854
Resolves #2489
2025-11-29 07:13:22 +08:00
Francis Dominic Fajardo
cc331e8e01
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-16 07:16:15 +08:00
Moonchild
c9e08cb2f5
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-23 15:19:43 +08:00
Moonchild
6d47d819fa
Issue #2850 - Alias :focus-visible to :-moz-focusring
...
Band-aid to have it be parsed as valid with reasonably-expected behaviour.
2025-08-18 09:48:39 +08:00
Moonchild
723180132d
Issue #2847 - Extend -moz-os-version media query with win11.
...
Resolves #2847
2025-08-14 08:39:18 +08:00
Moonchild
df3b213459
Issue #2837 - Implement prefers-reduced-motion media query.
...
Resolves #2837
2025-08-14 08:11:04 +08:00
Francis Dominic Fajardo
2026586ce1
Issue #2835 - Follow-up: Guard against import rules with no attached style sheet
2025-08-04 21:33:14 +08:00
Moonchild
cea125a01d
Issue #2489 - Follow-up: Add color-mix() manual test.
2025-07-31 07:40:09 +08:00
MeladJM
61f92f89ea
Issue #2790 - Part 7: Setting of contrasting color and fixing of last commit's issues
2025-07-29 10:43:26 +08:00
MeladJM
61ad3b8d6e
Issue #2790 - Part 6: Highlight color change and remove important
2025-07-29 10:42:29 +08:00
MeladJM
459ed6ea85
Issue #2790 - Cleanup: Remove debugging lines
2025-07-29 10:41:05 +08:00