ownedbywuigi
81e2ff2fe2
Add SSE2 for memcpy and memuse. caching SVGs too cuz why not
2026-03-27 10:45:45 +00:00
roytam1
f4d2bf6c3d
Merge remote-tracking branch 'origin/tracking' into custom
2025-06-27 23:33:55 +08:00
Moonchild
1c8e994b65
Issue #2762 - Remove SVGZoomEvent interface.
...
Resolves #2762
2025-06-27 23:29:48 +08:00
roytam1
7f3ccb5dc3
Merge remote-tracking branch 'origin/tracking' into custom
2025-05-27 23:22:51 +08:00
Shadow
a8f9e383fa
No Issue - Fix a typo in DOMSVGPoint constructor.
...
Bug 1442972
DOMSVGPoint constructor checked mX is finite twice, leaving out mY finite.
-- Stupidly rushed. Shambles.
2025-05-27 23:17:27 +08:00
roytam1
e72f8a3a81
Merge remote-tracking branch 'origin/tracking' into custom
2025-05-14 14:36:05 +08:00
Moonchild
60ad5b2ffd
Issue #2736 - Part 12: Re-work style <link> href attribute.
...
Use subject principal as triggering principal in style <link> "href"
attribute.
2025-05-14 14:33:26 +08:00
Moonchild
824d0cad58
Issue #2736 - Part 2: Pass subject principal to SetAttribute and friends.
...
In order to tailor certain security checks to the caller that is
attempting to load a particular piece of content, we need to be able to
attach an appropriate triggering principal to the corresponding requests.
Since most HTML content is loaded based on attribute values, this means
capturing the subject principal of the caller who sets those attributes,
which in turn means we need to make it available to `AfterSetAttr` hooks
on all relevant element types.
2025-05-14 14:22:13 +08:00
roytam1
6792dc4b66
Merge remote-tracking branch 'origin/tracking' into custom
2025-04-30 23:06:47 +08:00
Moonchild
fd4a224d1d
Issue #2737 - Part 1: Base implementation of SVGGeometryElement.
...
Mostly mechanical changes to generalize path geometry for all SVG draw
elements. No user-exposed changes.
2025-04-30 23:02:16 +08:00
roytam1
904406a497
Merge remote-tracking branch 'origin/tracking' into custom
2025-01-20 21:13:46 +08:00
Moonchild
139e7a7ac6
Issue #2678 - Remove NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED
...
This no longer does anything at this point, except add indirection.
2025-01-20 21:12:18 +08:00
roytam1
75b0995d95
Merge remote-tracking branch 'origin/tracking' into custom
2024-06-06 14:13:50 +08:00
Moonchild
91fc5614ec
Issue #1749 - Remove restriction of SVG width/height element attributes.
...
According to the original SVG spec, the SVG element in documents had to follow
special rules as to what was allowed for width/height attributes. This is no
longer the case, so we can decouple it from whatever internal units SVG/XML
language uses and allow all units like every other element.
2024-06-06 14:11:31 +08:00
roytam1
a944026bae
Merge remote-tracking branch 'origin/tracking' into custom
2024-04-02 22:57:21 +08:00
FranklinDM
6803c1f710
Issue #2488 - Part 4: Remove the RestyleManagerHandle smart pointer class
2024-04-02 22:50:07 +08:00
FranklinDM
14764253a5
Issue #2112 - Part 7: Remove Servo CSS Loader support
2024-04-02 22:42:09 +08:00
FranklinDM
a93a7bed47
Issue #2112 - Part 5: Remove Servo from forwarding code used by magic pointer classes
2024-04-02 22:41:34 +08:00
roytam1
c889903081
Merge remote-tracking branch 'origin/tracking' into custom
2023-11-30 10:05:11 +08:00
Moonchild
73bf6f95f8
Revert "No issue - Stop supporting data: scheme in SVG <use> elements."
...
This reverts commit 7e60482d8090a43e00957f3d6fc87f31d7ea65a1.
Of course it's not that simple. In Mozilla land they are also running
into issues but of a different variety and it was backed out there also.
2023-11-30 10:04:21 +08:00
roytam1
5f85f202a4
Merge remote-tracking branch 'origin/tracking' into custom
2023-11-14 15:35:06 +08:00
Moonchild
b19fe58909
No issue - Stop supporting data: scheme in SVG <use> elements.
2023-11-14 15:34:40 +08:00
roytam1
6235ca420d
Merge remote-tracking branch 'origin/tracking' into custom
2023-05-04 10:47:54 +08:00
Moonchild
c9b8a576da
Issue #1656 - Remove more vim control lines.
...
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from dom. More to come.
2023-05-04 10:47:14 +08:00
roytam1
eb8748c537
Merge remote-tracking branch 'origin/tracking' into custom
2023-03-06 16:29:00 +08:00
FranklinDM
9cb33ab843
Issue #2135 - Follow-up: Fix typo
2023-03-06 16:26:20 +08:00
FranklinDM
c194fbf6a8
Issue #2135 - Follow-up: Fix crash for passing nullptr as an argument to the aNodesWithProperties parameter
2023-03-06 16:25:56 +08:00
FranklinDM
e65a864a3e
Issue #2135 - Bug 1393806/Part 1: Change nsNodeUtils cloning/adopting stuff to use an ErrorResult for errors
...
This will allow us to propagate out more informative errors in some cases.
2023-03-06 16:23:51 +08:00
roytam1
866ded0b0a
Merge remote-tracking branch 'origin/tracking' into custom
2022-09-07 11:03:19 +08:00
Moonchild
5dfded811d
Issue #80 - reinstated unified building for some large chunks of our code.
...
This should reduce compile complexity saving time and reducing linker stress.
2022-09-07 10:36:23 +08:00
roytam1
6de07653b9
Merge remote-tracking branch 'origin/tracking' into custom
2022-04-28 10:45:19 +08:00
FranklinDM
cee60fb824
Issue #21 - Change MappedAttrParser to store its nsIPrincipal instead of nsSVGElement
...
This reverts part 2 of Bug 968923 since this was only modified to accommodate use counters.
2022-04-28 10:43:45 +08:00
FranklinDM
8a7587b401
Issue #21 - Remove use counters telemetry
...
This reverts Bug 968923 - Implement some equivalent of Chrome's use counters (on top of telemetry?)
For reference: https://bugzilla.mozilla.org/show_bug.cgi?id=968923
2022-04-28 10:43:09 +08:00
roytam1
e78e741a17
Merge remote-tracking branch 'origin/tracking' into custom
2022-04-27 16:25:45 +08:00
roytam1
92a1cc3139
Revert "Issue #21 - Remove use counters telemetry"
...
This reverts commit 8ca9db6b65 .
2022-04-27 16:25:00 +08:00
roytam1
bebaa470c6
Revert "Issue #21 - Change MappedAttrParser to store its nsIPrincipal instead of nsSVGElement"
...
This reverts commit e5962d9f4c .
2022-04-27 16:24:56 +08:00
roytam1
e1a93a2de4
Merge remote-tracking branch 'origin/tracking' into custom
2022-04-27 16:19:05 +08:00
FranklinDM
e5962d9f4c
Issue #21 - Change MappedAttrParser to store its nsIPrincipal instead of nsSVGElement
...
This reverts part 2 of Bug 968923 since this was only modified to accommodate use counters.
2022-04-27 16:15:50 +08:00
FranklinDM
8ca9db6b65
Issue #21 - Remove use counters telemetry
...
This reverts Bug 968923 - Implement some equivalent of Chrome's use counters (on top of telemetry?)
For reference: https://bugzilla.mozilla.org/show_bug.cgi?id=968923
2022-04-27 16:15:31 +08:00
roytam1
041677fc4b
Merge remote-tracking branch 'origin/master' into custom
2021-06-15 11:20:52 +08:00
Moonchild
15a322effa
Issue #1781 - Part 1: support calc() in stroke-dashoffset CSS
...
This adds basic calc() support to stroke-dashoffset. It does not provide
CSS animation (yet, todo for part 2)
2021-06-15 11:18:58 +08:00
roytam1
56aaf6a15a
Merge remote-tracking branch 'origin/master' into custom
2020-09-25 22:18:48 +08:00
Moonchild
0cd673d720
Issue #1656 - Part 6: Clean up the build files
2020-09-25 22:04:23 +08:00
Moonchild
8c395520d9
Issue #1656 - Part 1: Nuke most vim config lines in the tree.
...
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-25 22:04:12 +08:00
roytam1
d8c338b6d9
Merge remote-tracking branch 'origin/master' into custom
2020-09-18 20:54:18 +08:00
Moonchild
f5f9c8c597
Issue #1224 - Remove constant expressions from /dom
...
This excludes DOMProxy handlers in dom bindings because that's intertwined with
codegen and js that needs to be handled together.
2020-09-18 20:53:42 +08:00
Roy Tam
312cd43c03
Merge remote-tracking branch 'origin/master' into custom
2020-08-29 08:18:57 +08:00
Moonchild
3781c4a6dd
Issue #618 - (async) Implement async attribute for inline module scripts.
...
This commit does several things:
- Moves the pref check from ScriptLoader to ns[I]Document so it can be called on
the document.
- Changes the atrribute freezing function to a better name that takes the
document as a parameter.
- Sets the proper async/defer attributes on HTML script elements based on
keywords and whether they are module scripts or not.
2020-08-29 08:10:42 +08:00
Roy Tam
16c504ba17
Merge remote-tracking branch 'origin/master' into custom
2020-08-19 16:22:57 +08:00
athenian200
6835425e20
Issue #1629 - Part 2: Implement the Explicitly Enabled flag.
...
This part of the bug was significantly complicated by the following major refactors:
https://bugzilla.mozilla.org/show_bug.cgi?id=1456435
https://bugzilla.mozilla.org/show_bug.cgi?id=1459498
As best as I can tell, we just need to implement the explicitly enabled
flag on every instance of GetStyleSheetInfo, make sure
aIsExplicitlyEnabled is false in every situation except the one where
the disabled content attribute is removed from a link element, and
enable alternate stylesheets if this flag is set on them. So we take the
explicitly enabled flag as an input to PrepareSheet, and also add it to
LoadStyleLink and LoadInlineStyle. I also decided not to defer loading of
alternate stylesheets that have been explicitly enabled.
2020-08-19 16:21:19 +08:00