Commit Graph

49 Commits

Author SHA1 Message Date
roytam1 eb31645dcb ported from UXP:
- 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 (85600c73)
- Issue #2548 - Part 2 - Collection of WebIDL parsing updates in an attempt to fix partial interface mixin error. We should ensure, at build-time, that partial interfaces are defined in the same file as the interface they extend. Since our build system doesn't really support correct dep builds if they're placed in a different file. https://bugzilla.mozilla.org/show_bug.cgi?id=1333117 WebIDL: Better error message for trying to inherit from a mixin. https://bugzilla.mozilla.org/show_bug.cgi?id=1575384 Fix webidl identifier conflicts involving typedefs to produce saner exceptions. https://bugzilla.mozilla.org/show_bug.cgi?id=1531623 Disallow nullable types for WebIDL constants. https://bugzilla.mozilla.org/show_bug.cgi?id=1535647 Add support for extended attributes on types in Web IDL https://bugzilla.mozilla.org/show_bug.cgi?id=1359269 Allow LenientFloat to be only in a specific overload https://bugzilla.mozilla.org/show_bug.cgi?id=1020975 (81b4f0c3)
- Issue #2548 - Part 3 - Fix some MathML issues encountered since WebIDL works. https://bugzilla.mozilla.org/show_bug.cgi?id=1316616 Also added a Fetch() change that was not in the Mozilla patch. (20354b67)
- Issue #2548 - Part 4 - Fix some missed changes for ElementCSSInlineStyle. Introduce GlobalEventHandlers/DocumentAndElementEventHandlers/ElementCSSInlineStyle mixin. https://bugzilla.mozilla.org/show_bug.cgi?id=157945 (502c7047)
- 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 (3febe21f)
2026-03-27 09:54:37 +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 e309430413 ported from UXP: Unprefix -moz-read-write / -moz-read-only (4cc014cb) 2025-07-04 22:43:27 +08:00
roytam1 66afe9f75d ported from UXP: Issue #2721 - Create special case exception for <A>.Click() outside of DOM (37de431a)
mostly are done already.
2025-06-17 14:18:44 +08:00
roytam1 4f874413c6 import from UXP: Issue #2736 - Part 4: Re-work img <src> attribute. (c8db9efb) 2025-05-14 15:21:05 +08:00
roytam1 058c37fa0e ported from UXP: Issue #2736 - Part 2: Pass subject principal to SetAttribute and friends. (824d0cad) 2025-05-14 15:08:01 +08:00
roytam1 9f07cc69f7 ported from UXP: Issue #2488 - Part 2: Remove the DeclarationBlock class and use Declaration directly (4d7bdeda) 2024-04-04 08:11:21 +08:00
roytam1 28459c63c9 ported from UXP: Issue #2488 - Part 1b: Move PseudoElementType getter/setter implementation of Element away from header (63076e42)
Part 1a is skipped as it is already done.
2024-04-04 07:45:58 +08:00
roytam1 277caed173 ported from UXP: Issue #2112 - Part 6: Remove IsStyledByServo function and callers (10bf8705) 2024-04-03 14:46:35 +08:00
roytam1 460d10ccda ported from UXP: Issue #2112 - Part 3: Remove --enable-stylo config and conditionals (e777ae5a) 2024-04-03 11:34:58 +08:00
roytam1 0d44f7d042 ported from UXP: Issue #2135 - Bug 1453789: Remove Element.createShadowRoot (45c179d0) 2023-03-07 09:58:27 +08:00
roytam1 df33d59d4e import from UXP: Issue #2135 - Bug 1066965: Make contentEditable and spellchecking to work in Shadow DOM (010db07b) 2023-03-07 09:49:18 +08:00
roytam1 c7b2fc738b import from UXP: Issue #2078 - Part 3: Rename nsCSSRuleProcessor::SelectorListMatches to RestrictedSelectorListMatches (14e8922d) 2023-02-22 07:17:15 +08:00
roytam1 86c286d6a7 ported from UXP: Issue #1705 - Part 3: Rename ScrollbarStyles to ScrollStyles. (21f70739) 2022-04-21 22:18:42 +08:00
roytam1 14f0db376d import from UXP: Bug 1426503 - Remove DestInsertionPoints stuff (7e48e440) 2022-04-14 22:50:26 +08:00
roytam1 1fcb308ff8 ported from UXP: Bug 1416999 - Remove document.registerElement (cedff6e2) 2022-04-14 13:58:52 +08:00
roytam1 e5e9bfc4ca import from UXP: Bug 1411878 - Support Element.shadowRoot and Element.assignedSlot / TextNode.assignedSlot on closed shadow root (31b26a24) 2022-04-14 12:28:29 +08:00
roytam1 5b19f330bb import from UXP: Bug 1404842 - Implement Element.attachShadow and Element.slot (67c4d022) 2022-04-14 12:11:34 +08:00
roytam1 e6d65ed445 ported from UXP: Bug 1411754 - Rename PresShell::DestroyFramesFor to DestroyFramesForAndRestyle (efb5979a) 2022-04-14 12:04:24 +08:00
roytam1 af6d46321e import from UXP: Bug 1396584 - Remove support for multiple ShadowRoots (5917636e) 2022-04-14 10:56:29 +08:00
roytam1 10834f4e64 ported from UXP: Bug 1389743 - Only reconstruct frames synchronously from ContentRemoved when called from frame construction (f63cd766) 2022-04-12 19:09:22 +08:00
roytam1 ce690389f9 ported from UXP: Bug 1375701 - Atomize class attribute value in the parser in the innerHTML case (fe13c5bf) 2022-04-12 18:56:53 +08:00
roytam1 364b306792 ported from UXP: Bug 1365092 - Move side effects of SetAttr and ParseAttribute to BeforeSetAttr and AfterSetAttr (6aa436b5) 2022-04-12 16:27:03 +08:00
roytam1 e0cd84d6f3 ported from UXP: Bug 1363481 - Add the old attribute value as a parameter to Element::AfterSetAttr (1f233fa1) 2022-04-12 15:44:59 +08:00
roytam1 9bf1226ec4 ported from UXP: Bug 1352389 -Don't push extra script blocker on stack when setting attributes (922cbf02) 2022-04-12 15:08:55 +08:00
roytam1 10c80c5731 import from UXP: Bug 656197 - Push state updates further out across beforesetattr/aftersetattr (7a3f9be5) 2022-04-12 13:55:39 +08:00
roytam1 794dd4ef30 ported from UXP: Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time (b723a5c8) 2022-04-12 13:27:13 +08:00
roytam1 6780a398bd import from UXP:
- Bug 1396620 - Part 1: Remove created callback for custom elements (baa035c5)
- Bug 1396620 - Part 2: Fix compartment mismatch crash when doing old prototype swizzling for custom element (3639f0e2)
2022-04-08 14:21:55 +08:00
roytam1 43319de3ed import from UXP: Bug 1406325 - Part 5: Implement try to upgrade. (dba59f03) 2022-04-08 14:17:11 +08:00
roytam1 ce5f288c59 import from UXP:
- Bug 1406325 - Part 3: Refactor custom elements clone a node. (c4718c47)
- Bug 1406325 - Part 4: Use mType for LookupCustomElementDefinition and also removing parts of v0. (db3b6b58)
2022-04-08 14:09:07 +08:00
roytam1 725e69684d import from UXP: Bug 1406325 - Part 1: Make sure custom element state is custom before sending callback. (cce9b337) 2022-04-08 13:57:15 +08:00
roytam1 371bdaaeb1 import from UXP: Bug 1121994 - Implement adopted callback for custom elements. (d35ff298) 2022-04-06 15:42:08 +08:00
roytam1 14cf777bb0 import from UXP: Bug 1334044: Replace detached callback (v0) with disconnected callback (v1). (65920463) 2022-04-06 15:34:02 +08:00
roytam1 90b955e34f import from UXP: Bug 1334043 - Part 2: Make nsContentUtils::EnqueueLifecycleCallback static. (befa1027) 2022-04-06 15:26:51 +08:00
roytam1 124f682a80 import from UXP: Bug 1334043 - Part 1: Replace attached callback (v0) with connected callback (v1). (207d5a2e) 2022-04-06 15:20:19 +08:00
roytam1 e9a0e99e37 ported from UXP: Bug 1392970 - Part 1: Make CustomElementDefinition ref-counted and put it in CustomElementData. (7ce17429) 2022-04-06 15:09:48 +08:00
roytam1 337fcbf4ab import from UXP: Bug 1334051 - Part 2: Invoke attributeChangedCallback only if attribute name is in the observed attribute list. (2bd8be69) 2022-04-06 14:51:35 +08:00
roytam1 91c67e7b54 import from UXP: Bug 1334051 - Part 1: Include namespace in attributeChangedCallback. (4408e19e) 2022-04-06 14:45:26 +08:00
roytam1 8031c7d968 ported from UXP: Bug 1377993 - Make node slots less memory hungry in common cases. (dd7fa403) 2022-04-06 13:49:16 +08:00
roytam1 a94b03face ported from UXP: Bug 1347634 - GetCustomElementData and SetCustomElementData don't need to be virtual; (7f03d025) 2022-04-06 13:40:51 +08:00
roytam1 e3b3fde8d6 import from UXP: Issue #927 - Align Element.ScrollIntoView() with the spec. (14ea8bb1) 2022-03-29 16:39:18 +08:00
roytam1 e500e9f25a import from UXP: DOM - Element - add support for Element.toggleAttribute() (8714f52f) 2022-03-25 17:40:19 +08:00
roytam1 ca17f28577 import from UXP: Issue #249 - Stabilize and align Intersection Observers (5af41078) 2022-03-25 15:46:36 +08:00
roytam1 6d0cdf8b25 port change from tenfourfox:
- #579: M1218456 +backbugs -nsILinkHandler removal, with changes for 45 (5e0cd430c)
2019-11-23 13:10:01 +08:00
roytam1 7f9cc28f13 ported changes from mozilla upstream:
bug1351303, bug1352235, bug1371508, bug1430268, bug1352734
2019-05-22 22:24:06 +08:00
roytam1 f63e51e471 revert most of "Switch working copy to Goanna 4" (https://github.com/MoonchildProductions/moebius/commit/c4895374053ab93b4f365d3e690e99a30ffa1a2f) in order to keep upstream patch applicable 2019-02-20 00:30:25 +08:00
roytam1 2e9274f665 cherry-picked mozilla upstream changes:
bug1416307, bug1434384, bug1442504, bug1426603, bug1440717, bug1443891, bug1361699, bug1433609, bug1444231, bug1409440, bug1441941, bug1443092, bug1448774, bug1448705, bug1449548, bug1388020, bug1451376, bug1393367, bug1453339, bug1452202
2018-06-22 22:37:46 +08:00
roytam1 6feeca67b6 cherry-picked mozilla upstream changes:
bug1338404, bug1110928, bug1332745, bug835981, bug1331414, bug1332812
2018-06-11 23:24:23 +08:00
roytam1 89ff1ebc22 Initial import from https://github.com/MoonchildProductions/moebius/commit/16fa730b3332a750e047aac26ebe65ea8c513849 2018-03-03 17:47:54 +08:00