Commit graph

5,913 commits

Author SHA1 Message Date
FranklinDM
6803c1f710 Issue #2488 - Part 4: Remove the RestyleManagerHandle smart pointer class 2024-04-02 22:50:07 +08:00
FranklinDM
4bf43b8fb4 Issue #2488 - Part 3: Remove the StyleSetHandle smart pointer class 2024-04-02 22:49:48 +08:00
FranklinDM
4d7bdedade Issue #2488 - Part 2: Remove the DeclarationBlock class and use Declaration directly 2024-04-02 22:47:20 +08:00
FranklinDM
63076e4211 Issue #2488 - Part 1b: Move PseudoElementType getter/setter implementation of Element away from header 2024-04-02 22:47:00 +08:00
FranklinDM
d922a18efb Issue #2488 - Part 1a: nsCSSPseudoClassList should not include any header 2024-04-02 22:46:48 +08:00
FranklinDM
5e34e0e81b Issue #2111 - Follow-up: Add missing include and fix namespace conflict when building layout deunified 2024-04-02 22:46:30 +08:00
FranklinDM
4cdc0ce964 Issue #2112 - Follow-up: Fix broken rule node assertion 2024-04-02 22:46:16 +08:00
FranklinDM
6d154eee11 Issue #58 - Follow-up: Remove Rust binding leftovers 2024-04-02 22:46:00 +08:00
FranklinDM
0b3da59bc3 Issue #2112 - Part 15: Remove leftover comment 2024-04-02 22:45:44 +08:00
FranklinDM
9279153af8 Issue #2112 - Part 14: Remove style context source and use rule node directly
Based on reverting bug 1260310.
2024-04-02 22:45:29 +08:00
FranklinDM
cb08fdd1f0 Issue #2112 - Part 13: Remove construction context for style structs
Partial reversion of bug 1261552. This keeps the behavior of always passing the presentation context to the style structs, unlike pre-stylo where it is conditional.
2024-04-02 22:45:08 +08:00
FranklinDM
f5792e6b64 Issue #2112 - Part 12: Remove reserved Servo bits from node/element flags and event states 2024-04-02 22:44:53 +08:00
FranklinDM
4b44df794b Issue #2112 - Part 11: Remove dead off-thread Stylo functions in nsStyleStruct 2024-04-02 22:44:39 +08:00
FranklinDM
d6852b3170 Issue #2112 - Part 10: Remove remaining Stylo/Servo includes and code
Some classes have been marked for removal/merging, macros used for forwarding/casting were moved to DeprecatedUtils.h.
2024-04-02 22:44:24 +08:00
FranklinDM
b96b733bfa Issue #2112 - Part 9: Remove handling for multiple style backends 2024-04-02 22:42:43 +08:00
FranklinDM
28cd0ceb47 Issue #2112 - Part 8: Remove Stylo Stylesheet Cache 2024-04-02 22:42:25 +08:00
FranklinDM
14764253a5 Issue #2112 - Part 7: Remove Servo CSS Loader support 2024-04-02 22:42:09 +08:00
FranklinDM
10bf8705d0 Issue #2112 - Part 6: Remove IsStyledByServo function and callers 2024-04-02 22:41:54 +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
FranklinDM
b1c9206051 Issue #2112 - Part 4: Remove Stylo support for mask-image 2024-04-02 22:30:47 +08:00
FranklinDM
e777ae5a3c Issue #2112 - Part 3: Remove --enable-stylo config and conditionals 2024-04-02 22:30:28 +08:00
FranklinDM
88ac168f96 Issue #2112 - Part 2: Stub out Servo functions 2024-04-02 22:30:08 +08:00
FranklinDM
656ee639c5 Issue #2112 - Part 1: Remove Stylo tests 2024-04-02 22:29:48 +08:00
trav90
2aa7dc2652 No Issue - Only explicitly enforce GCC SSE2 optimizations when building on Intel 32-bit architectures
SSE2 optimizations are used by default on 64-bit platforms. By no longer explicitly enabling SSE2 on 64-bit GCC, we can more easily enable other optimizations (e.g. AVX) without worrying about them being overridden by the SSE2 flags.
2024-04-02 22:20:46 +08:00
Daniel Jacobs
9ca2104248 Issue #2483 - Slight adjustments for allowing addPath with DOMMatrix 2024-04-02 22:17:56 +08:00
Daniel Jacobs
39f5c51c10 Issue #2483 - Support DOMMatrix2DInit for addPath 2024-04-02 22:17:40 +08:00
Moonchild
e6e8224040 [MFBT] Make move assignment of RefPtr have the same behavior as nsCOMPtr 2024-03-21 15:24:10 +08:00
Moonchild
c230e21d23 [parser] Specialize AddAttributes for <html>/<body>. 2024-03-21 15:23:41 +08:00
yup
0dd6a089f6 Minor performance improvement by elimination of an unnecessary intermediate array 2024-03-21 15:23:11 +08:00
yup
f5edbe658c Colump picker should work even if there are no rows in the tree 2024-03-21 15:22:46 +08:00
yup
17182d8b63 Eliminated exceptions in event handlers that happen when "this.view" does not exists (empty tree) 2024-03-21 15:22:25 +08:00
Basilisk-Dev
4f1fb965c6 [Basilisk] Enable dialog by default 2024-02-23 11:27:26 +08:00
Basilisk-Dev
d0aae61395 [Basilisk] Guard against empty MIME types when dealing with plug-ins
Port of MoonchildProductions/Pale-Moon#1956
2024-02-23 11:26:43 +08:00
Basilisk-Dev
56de0d9596 [Basilisk] [SSUAO] Remove Amazon Prime Video override
Port of a26c6a396a
2024-02-23 11:26:10 +08:00
Basilisk-Dev
8171e8580a [Basilisk] [SSUAO] remove spotify user agent override 2024-02-23 11:24:38 +08:00
Basilisk-Dev
146451981c [Basilisk] [SSUAO] Add default override for Google Fonts served from wordpress.
Port of MoonchildProductions/Pale-Moon@31ba8fc398
2024-02-23 11:24:28 +08:00
Moonchild
caf7590a10 [Pale-Moon] Issue #1959 - Add error handling to MIME type processing in prefs. 2024-02-23 11:22:02 +08:00
FranklinDM
7f0772e096 [Pale-Moon] No issue - Guard against empty MIME types when dealing with plug-ins 2024-02-23 11:21:03 +08:00
Moonchild
9d9d5c9b16 [Pale-Moon] [SSUAO] Remove Amazon Prime Video override 2024-02-23 11:20:23 +08:00
Moonchild
860f6f4151 [Pale-Moon] [SSUAO] Add default override for Google Fonts served from wordpress. 2024-02-23 11:18:30 +08:00
Moonchild
9d320dac80 [network] Block set-cookie from multipart/x-mixed-replace 2024-02-23 10:53:04 +08:00
Eitan Isaacson
2eea07fc65 [layout] Process pairs in coord list in PolyArea.
Range -1 assures the array is even with a step size of 2, avoiding lone
value processing.
2024-02-23 10:52:22 +08:00
Jens Stutte
d1b0f59de4 [DOM] Check if WorkerRunnable::Run runs on top of WorkerThreadPrimaryRunnable::Run in a worker thread. 2024-02-23 10:51:36 +08:00
FranklinDM
58525f05f2 No issue - Replacing location might throw NS_ERROR_UNEXPECTED while the developer tools window is being destroyed 2024-02-23 10:50:38 +08:00
FranklinDM
6e1c585539 No issue - Remove leftover doorhanger code from the developer tools
Partially based on reverting https://bugzilla.mozilla.org/show_bug.cgi?id=1078539
2024-02-23 10:50:08 +08:00
Martok
0d51adc217 Issue #2453 - Follow-Up: Use hard-coded minimum timer interval in workers.
From the spec: "If nesting level is greater than 5, and timeout is less than 4, then set timeout to 4.",
therefore not having it user-configurable doesn't really break anything.
2024-02-23 10:49:39 +08:00
Moonchild
721ded9b48 Issue #2466 - Part 3: Implement style-src-elem and style-src-attr 2024-02-08 14:33:59 +08:00
Moonchild
ff01a35bdb Issue #2466 - Part 2: Implement script-src-elem and script-src-attr 2024-02-08 14:33:43 +08:00
Moonchild
4ea2206c15 Issue #2466 - Part 1: Reduce nsContentPolicy type usage.
Use CSPDirective instead, since it directly deals with CSP anyway.
This cleanup prepares for the following changes.
2024-02-08 14:33:28 +08:00
Moonchild
6d1bf36717 Issue #2465 - Do not use our in-tree metrics hints if using system-cairo
Use a somewhat equivalent font-options instance when using the
system-supplied cairo lib, instead of our in-tree extension.

Resolves #2465
2024-02-08 14:30:30 +08:00