1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00
Commit Graph

759 Commits

Author SHA1 Message Date
Moonchild b611d80223 [gfx/layout] Simplify textruns
Cache overflow textruns in a better place and stop using a lazy class.
This avoids doing caching in the rendering back-end, and does so where
necessary in TextOverflow (for ellipses)
2026-05-26 09:37:08 +08:00
Moonchild 4bf236902c [layout] Hide accessible carets when needed. 2026-05-26 09:35:29 +08:00
Basilisk-Dev f5a84f4ad2 Issue #3053 - Implement CSSStyleSheet constructor 2026-05-25 17:46:13 +08:00
Moonchild 0915736715 Re-land: Fix devtools on 32-bit big endian platforms
Tag PR #3098
2026-05-25 17:45:33 +08:00
ownedbywuigi 7887ca767f Issue #888 - Add dav1d_flush 2026-05-19 10:03:29 +08:00
ownedbywuigi 03a6729a9e Issue #888 - Make symbols direct to dav1d, not AOM. 2026-05-19 10:03:10 +08:00
Basilisk-Dev 51767db33a Support CSS shadow parts 2026-05-19 09:09:38 +08:00
Basilisk-Dev 6df85ff502 Issue #2506 - Support range media query syntax
Resolves #2506
2026-05-19 09:09:12 +08:00
Basilisk-Dev 4634a74b31 Issue #1826 - Parse calc() weights in color-mix 2026-05-19 09:08:59 +08:00
Basilisk-Dev 27f2a0869c Issue #3089 - Support logical border radius properties
Resolves #3089
2026-05-19 09:08:38 +08:00
Basilisk-Dev 93899c0157 Support CSS sizing math functions
Prereq for parts of #2404
2026-05-19 09:05:11 +08:00
Basilisk-Dev 0d684399b2 Issue #2404 - Enable CSS aspect-ratio sizing 2026-05-19 09:04:53 +08:00
Basilisk-Dev 20b2b3b9f5 Issue #2982 - Follow-up: allow color-mix to work with oklab and oklch
Tag #2489 and #3003
2026-05-19 09:02:28 +08:00
Basilisk-Dev e85f778708 Issue #1826 - Serialize special calc() number values 2026-05-19 09:02:15 +08:00
Basilisk-Dev 12b120db24 Issue #1826 - Add typed calc() arithmetic for media queries 2026-05-19 09:01:53 +08:00
Basilisk-Dev f94a63864c Issue #1826 - Canonicalize nested calc() serialization 2026-05-19 09:01:38 +08:00
Basilisk-Dev f9a90b9bb2 Issue #1826 - Support calc() in media queries 2026-05-19 09:01:23 +08:00
Basilisk-Dev 29f5ff07d8 Issue #1826 - Implement broader CSS calc() parsing 2026-05-19 09:01:10 +08:00
Basilisk-Dev 50a581840e Fix app-unit rounding for border width edges 2026-05-19 09:00:50 +08:00
Basilisk-Dev 75136dff38 Flush layout for computed border-width shorthand 2026-05-19 09:00:45 +08:00
Basilisk-Dev c289641428 Fix CSS border rounding and currentcolor clipping 2026-05-19 08:59:30 +08:00
Basilisk-Dev 794f3fe2e7 Test fractional border width rounding 2026-05-19 08:59:10 +08:00
Basilisk-Dev 4510bf92a2 Floor fractional border widths 2026-05-19 08:58:53 +08:00
Moonchild 80b4d0fb2b [layout] Check offset against start of skip range. 2026-05-08 06:45:38 +08:00
Moonchild 1020e0cd4f No issue - Update our in-tree brotli library to 1.2.0+
This includes a minor patch to encode.c to work around the "static init"
check that actually doesn't do anything in its default state, but, due to
compiler subtleties in handling duplicate object names, would not be able
to link brotli.exe because it would refuse to expose all symbols for
duplicate objects (a later one would just be ignored).
Unsure how clang does this but it's not portable across compilers.
(we need the brotli.exe tool for resource package compression)
2026-04-27 10:41:23 +08:00
ownedbywuigi 58f5dd61ae Issue #3030 - Reduce layout stalls due to compositor hang-ups. 2026-04-27 10:10:51 +08:00
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