Commit Graph

493 Commits

Author SHA1 Message Date
roytam1 d5b52c45f4 ported from UXP: Issue #2887 - Convert use of -moz-appearance to appearance (1782eeb3) 2026-01-08 00:08:53 +08:00
roytam1 6325aca36b import from UXP: Issue #2853 - Leverage viewport-only logic to ensure overflow propagation. (03575161) 2026-01-07 23:44:56 +08:00
roytam1 381fb11322 import from UXP: Issue #1791 - Part 3: Add manual test for unprefixed appearance. (d40256d0) 2026-01-07 23:39:41 +08:00
roytam1 c675cd04ba import from UXP: Issue #1791 - Part 2: Stop force-styling checkboxes/radio buttons. (f303711c) 2026-01-07 23:39:14 +08:00
roytam1 b54c1ff38d ported from UXP: Issue #1791 - Part 1: Un-prefix -moz-appearance (a266b985) 2026-01-07 23:38:06 +08:00
roytam1 7e09c7b472 import from UXP: Issue #2857 - Implement inset-block and inset-inline CSS shorthand (5a832a6e) 2025-12-24 16:22:27 +08:00
roytam1 f97d9374fa import from UXP: Issue #2863 - Part 20 - Update special casing in Gecko (ec13c274) 2025-12-24 16:00:56 +08:00
roytam1 41862e21c2 import from UXP: Issue #2873 - Don't let toolkit override colors of autofilled form elements. (17d95132) 2025-12-17 23:44:48 +08:00
roytam1 bb4464dfb0 import from UXP: Issue #2847 - Update tests and toolkit CSS to account for windows-win11 (becf65d0) 2025-11-29 07:59:22 +08:00
roytam1 1791c6a309 import from UXP: Issue #2489 - fix color-mix implementation. (103bd151)
actually it is just formatting and comment fix, actual code unchanged.
2025-11-29 07:58:02 +08:00
roytam1 1b577a8b46 import from UXP: Issue #2855 - Fix rule node tracking for NAC (cc331e8e) 2025-10-16 07:41:15 +08:00
roytam1 026a848779 import from custom branch of UXP: style: color-mix: when either color resolves to NS_COLOR_CURRENTCOLOR, it will cause color value reevaluation and cause stack overflow. hack it to use parent color instead. (702d61e6) 2025-10-06 22:27:16 +08:00
roytam1 39e14308ad import from UXP: Issue #2790 - Follow-up: Ensure both text and background are set. (c9e08cb2f) 2025-09-23 16:13:59 +08:00
roytam1 98b67440cf import from UXP: Issue #2850 - Alias :focus-visible to :-moz-focusring (6d47d819) 2025-08-18 10:29:25 +08:00
roytam1 721e8343aa import from UXP: Issue #2847 - Extend -moz-os-version media query with win11. (72318013) 2025-08-14 09:24:57 +08:00
roytam1 796fbdddee ported from UXP: Issue #2837 - Implement prefers-reduced-motion media query. (df3b2134) 2025-08-14 09:06:26 +08:00
roytam1 05a146473d import from UXP: Issue #2835 - Follow-up: Guard against import rules with no attached style sheet (2026586c) 2025-08-04 21:52:21 +08:00
roytam1 0f81abbe64 import from custom branch of UXP: layout: CascadeSheet: check aSheet is non-null before use. 2025-08-04 00:42:09 +08:00
roytam1 8377e97b3a import from UXP: Issue #2489 - Follow-up: Add color-mix() manual test. (cea125a0) 2025-07-31 07:43:15 +08:00
roytam1 8c244cfe34 ported from UXP:
- Issue #2790 - Part 5: Persistent highlight despite blur click (156c7550)
- Issue #2790 - Cleanup: Remove debugging lines (459ed6ea)
- Issue #2790 - Cleanup: Remove whitespaces (70cbf0df)
- Issue #2790 - Part 6: Highlight color change and remove important (61ad3b8d)
- Issue #2790 - Part 7: Setting of contrasting color and fixing of last commit's issues (61f92f89)

and added CallerType::System to GetValue()/GetValueInternal().
2025-07-29 15:33:09 +08:00
roytam1 2fae301fd1 ported from UXP: Issue #2790 - Part 4: Working non persistent autofill highlight (bf8cfcc9) 2025-07-29 15:15:26 +08:00
roytam1 eff68ee912 ported from UXP:
- Issue #2790 - Part 2: Address BZ bugs: 1355438 and 1341230 (d99eab0d)
- Issue #2790 - Part 3: Address BZ bug 1849122 and resolve build issues (4cdfb9e1)
2025-07-29 15:05:28 +08:00
roytam1 0a5f1cc14b import from UXP: Issue #2790 - Part 1: Add: event state, pseudo-class mapping, SetAutofilled methods (13d10540) 2025-07-29 14:41:44 +08:00
roytam1 45cf9eb915 import from UXP: Issue #2489: Produce more accurate computations (2855cd6d) 2025-07-29 14:34:13 +08:00
roytam1 37719c1ad8 import from UXP: Issue #2489: Disallow percentage overflow and underflow (052b5d1f) 2025-07-29 14:25:48 +08:00
roytam1 d8462ab02e import from UXP: Issue #2489: Allow SRGB with alpha mixing (5fe574de) 2025-07-29 14:25:03 +08:00
roytam1 b65401f377 import from UXP: Issue #2489: Allow HSL with alpha mixing (22be9f7f) 2025-07-29 13:47:43 +08:00
roytam1 d6fd0467e0 import from UXP: Issue #2489: Allow color-mix() to differentiate color spaces (01b0b825) 2025-07-29 12:10:17 +08:00
roytam1 102fddce4e import from UXP: Issue #2489: Improve color-mix() computation algorithm (ff5f3b2b) 2025-07-29 11:30:08 +08:00
roytam1 d9b6054abd import from UXP:
- Issue #2489: Fix CSS color-mix() percentage parsing (a3cb7991)
- Issue #2489: Remove unnecessary initializations (eb7eacc5)
2025-07-29 11:23:34 +08:00
roytam1 ce3a0f9574 ported from UXP: Issue #2489: color-mix function parsing (7899850a) 2025-07-29 11:20:47 +08:00
roytam1 2a5c28b871 import from UXP:
- Issue #2489: ColorMixValue support and structure (7800eb01)
- Issue #2489: Add color-mix serialization support (b42cca5f)
- Issue #2489: Add color-mix computation support (58d72062)
- Issue #2489: Include color-mix to avoid filtering (6b938c48)
- Issue #2489: Update enum class syntax (99d7fb8e)
- Issue #2489: Create ColorMixValue structure (cb60df21)
2025-07-29 11:17:09 +08:00
roytam1 509d89953b import from UXP: Issue #2489: Add CSS color-mix keyword support (055a685c) 2025-07-29 11:11:04 +08:00
roytam1 c36257aad4 import from UXP: Issue #2835 - Part 2: Implement processing of import rules based on order of appearance (37230e7b) 2025-07-29 11:00:05 +08:00
roytam1 90903923a8 import from UXP: Issue #2835 - Part 1: Expose nsCSSRuleProcessor::CascadeSheet (be3d8491) 2025-07-29 10:59:42 +08:00
roytam1 c41cda278c import from UXP: Issue #2828 - Part 13: Exclude strong layers-related code from release builds (318031c7) 2025-07-26 01:05:16 +08:00
roytam1 40fa28911d import from UXP: Issue #2828 - Part 12: Implement cascade layer SizeOfIncludingThis (e3476d33) 2025-07-26 01:04:10 +08:00
roytam1 4b366e590c import from UXP: Issue #2828 - Part 11: Detach weighted rule data from cascade layer (cbb019a8) 2025-07-26 01:01:21 +08:00
roytam1 28c6452d78 import from UXP: Issue #2828 – Part 10: Clean up cascade layer constructor (a922ec08) 2025-07-26 00:59:25 +08:00
roytam1 cbf54b1f1c import from UXP: Issue #2828 - Part 9: Rename CascadeEnumData to CascadeLayer (1655a5a4) 2025-07-26 00:57:44 +08:00
roytam1 0a5d13c198 ported from UXP: Issue #2828 - Part 8: Extract RuleProcessorGroup (formerly ResolvedRuleCascades) into separate file (3605630f) 2025-07-26 00:55:50 +08:00
roytam1 7c4314376f import from UXP: Issue #2828 - Part 7: Walk child rule processors separately and ensure inverted cascade layer order is enforced for important rules (ec57be65) 2025-07-26 00:53:13 +08:00
roytam1 5cde0ecef9 import from UXP: Issue #2828 - Part 6: Assert rules were added to the rule cascade data (d3b305b8) 2025-07-26 00:50:52 +08:00
roytam1 595bed8204 ported from UXP: Issue #2828 - Part 5: Implement child rule processors (e05d4d83) 2025-07-26 00:46:59 +08:00
roytam1 f6755c8be0 import from UXP: Issue #2828 - Part 4: Move cache key storage to ResolvedRuleCascades (aab9cdf9) 2025-07-26 00:36:24 +08:00
roytam1 eb52d9cd22 ported from UXP: Issue #2828 - Part 3: Refactor selector matching and rule cascade data into separate files/classes (03f29e75) 2025-07-26 00:35:03 +08:00
roytam1 37d4465049 ported from UXP: Issue #2828 - Part 2: Collect and hold rule cascade data per cascade layer (7b51aa7c) 2025-07-25 23:34:36 +08:00
roytam1 21ff29fca8 import from UXP: Issue #2828 - Part 1: Build and store the array of layer name tokens in the layer at-rules (53e6317b) 2025-07-25 23:29:37 +08:00
roytam1 d4cd9cc606 import from UXP: Issue #2691 - Follow-up: Add manual tests (5869164e) 2025-07-25 10:08:40 +08:00
roytam1 9ce6fba76f import from custom branch of UXP: layout: partly revert rev 5e8e120 for keeping -moz-hidden-unscrollable to work 2025-07-21 23:30:10 +08:00