Skip to content
Draft
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
4369d5b
Add basic boosts implementation
FlorianButz Oct 29, 2025
f799d00
feat: Add boosts backend boilerplate, b=no-bug, c=no-component
mr-cheffy Oct 29, 2025
a4e1a76
Merge branch 'dev' into dev
mr-cheffy Oct 30, 2025
4ee1235
feat: Add changes to firefox engine, b=no-bug, c=no-component
mr-cheffy Oct 30, 2025
690ab56
Merge branch 'dev' of https://github.com/FlorianButz/desktop into Flo…
mr-cheffy Oct 30, 2025
b9e8c39
chore: Fix builds and lint, b=no-bug, c=no-component
mr-cheffy Oct 30, 2025
6c2c798
Change boost editor to be a separate window
FlorianButz Oct 30, 2025
6d4578e
Add check if current tab can be boosted
FlorianButz Oct 30, 2025
bcb8488
Run lint:fix
FlorianButz Oct 30, 2025
4091a77
feat: Expose the c++ API to JS, b=no-bug, c=no-component
mr-cheffy Oct 31, 2025
fcd7f97
Merge branch 'dev' of https://github.com/FlorianButz/desktop into Flo…
mr-cheffy Oct 31, 2025
6361570
Add boost panel in site specific settings
FlorianButz Oct 31, 2025
f19f688
Merge branch 'dev' of https://github.com/FlorianButz/desktop into dev
FlorianButz Oct 31, 2025
ba57df3
Merge branch 'dev' into dev
mr-cheffy Oct 31, 2025
672461f
feat: Make boost data be stored on the browsing context, b=no-bug, c=…
mr-cheffy Oct 31, 2025
f1ce0da
chore: use better icons
FlorianButz Oct 31, 2025
4f337ed
feat: Listen for changes for the browser context, b=no-bug, c=common,…
mr-cheffy Oct 31, 2025
b16e38d
Merge branch 'dev' of https://github.com/FlorianButz/desktop into Flo…
mr-cheffy Oct 31, 2025
afd3b0d
feat: Propagate data into the current context, not the top one, b=no-…
mr-cheffy Oct 31, 2025
b8ef442
feat: Hint for a restyle after changing boost colors, b=no-bug, c=no-…
mr-cheffy Oct 31, 2025
d8da71d
feat: bridge communication using child actor
FlorianButz Oct 31, 2025
d0b8062
feat: Change UI
FlorianButz Oct 31, 2025
f211080
fix: missing methods, simplify writing to disk
FlorianButz Oct 31, 2025
4d03d8d
chore: Small fixes, b=no-bug, c=no-component
mr-cheffy Oct 31, 2025
de3d0ae
Merge branch 'dev' of https://github.com/FlorianButz/desktop into Flo…
mr-cheffy Oct 31, 2025
eae5524
chore: Clean up, b=no-bug, c=no-component
mr-cheffy Oct 31, 2025
0886619
fix: change communication of actors, cleanup
FlorianButz Nov 1, 2025
c0d04f9
feat: Prevent flashing when going between pages, b=no-bug, c=common
mr-cheffy Nov 1, 2025
f9c948a
feat: Start taking into account contrast values, b=no-bug, c=no-compo…
mr-cheffy Nov 4, 2025
1ac6a40
feat: Correctly calculate color lightness based on contrast, b=no-bug…
mr-cheffy Nov 4, 2025
a554c6c
feat: update editor UI to look more like Arc's
FlorianButz Nov 7, 2025
bb2dc09
fix: remove logs, update select properly
FlorianButz Nov 7, 2025
23e6555
Merge branch 'dev' into dev
mr-cheffy Nov 8, 2025
383520b
chore: Small changes, b=no-bug, c=common
mr-cheffy Nov 8, 2025
1e56261
Merge branch 'dev' into dev
mr-cheffy Nov 8, 2025
54b45eb
feat: Convert the window into a proper XUL doc and implement scale, b…
mr-cheffy Nov 8, 2025
e1c6e28
feat: Finish migration to xhtml window, b=no-bug, c=common
mr-cheffy Nov 8, 2025
27e3501
chore: Cleanups, b=no-bug, c=common
mr-cheffy Nov 9, 2025
4e12ac4
feat: add system font fetching
FlorianButz Nov 9, 2025
f859aa1
feat: Implemented stylesheet managers, b=no-bug, c=no-component
mr-cheffy Nov 9, 2025
375cfad
Merge branch 'dev' of https://github.com/FlorianButz/desktop into Flo…
mr-cheffy Nov 9, 2025
254d83c
fix: correct color conversion, add stylesheet implementation
FlorianButz Nov 9, 2025
54c04f4
fix: Fixed crashes on sub-document contexts, b=no-bug, c=no-component
mr-cheffy Nov 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ files:
translation: browser/browser/preferences/zen-preferences.ftl
- source: en-US/browser/browser/zen-folders.ftl
translation: browser/browser/zen-folders.ftl
- source: en-US/browser/browser/zen-boosts.ftl
translation: browser/browser/zen-boosts.ftl
34 changes: 34 additions & 0 deletions locales/en-US/browser/browser/zen-boosts.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
zen-panel-ui-boost-create =
.label = New Boost

zen-boost-invert =
.tooltiptext = Smart Invert Colors
zen-boost-zap =
.tooltiptext = Zap Elements
zen-boost-disable =
.tooltiptext = Disable Color Adjustments

zen-boost-font-arial =
.tooltiptext = Arial
zen-boost-font-serif =
.tooltiptext = Sans Serif
zen-boost-font-mono =
.tooltiptext = Monospace
zen-boost-font-georgia =
.tooltiptext = Georgia
zen-boost-font-comic =
.tooltiptext = Comic Sans MS
zen-boost-font-tahoma =
.tooltiptext = Tahoma
zen-boost-font-verdana =
.tooltiptext = Verdana
zen-boost-font-corsiva =
.tooltiptext = Corsiva

zen-boost-name =
.tooltiptext = Change Boost Name
zen-boost-delete =
.tooltiptext = Delete Boost

zen-panel-ui-boosts-saved-message = Successfully saved the boost!
zen-panel-ui-boosts-deleted-message = Deleted the boost!
6 changes: 6 additions & 0 deletions prefs/zen/zen-boosts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

- name: zen.boosts.enabled
value: true
5 changes: 5 additions & 0 deletions src/browser/base/content/zen-assets.jar.inc.mn
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@
content/browser/zen-styles/zen-download-arc-animation.css (../../zen/downloads/zen-download-arc-animation.css)
content/browser/zen-styles/zen-download-box-animation.css (../../zen/downloads/zen-download-box-animation.css)

content/browser/zen-styles/zen-boosts.css (../../zen/boosts/zen-boosts.css)

# Windows
content/browser/zen-components/windows/zen-boost-editor.xhtml (../../zen/boosts/zen-boost-editor.xhtml)

# Images
content/browser/zen-images/brand-header.svg (../../zen/images/brand-header.svg)
Expand All @@ -80,6 +84,7 @@
content/browser/zen-images/layouts/single-toolbar.png (../../zen/images/layouts/single-toolbar.png)
content/browser/zen-images/grain-bg.png (../../zen/images/grain-bg.png)
content/browser/zen-images/note-indicator.svg (../../zen/images/note-indicator.svg)
content/browser/zen-images/boost-indicator.svg (../../zen/images/boost-indicator.svg)

content/browser/zen-images/downloads/download.svg (../../zen/images/downloads/download.svg)
content/browser/zen-images/downloads/archive.svg (../../zen/images/downloads/archive.svg)
Expand Down
2 changes: 2 additions & 0 deletions src/browser/base/content/zen-commands.inc.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
<command id="cmd_zenSplitViewContextMenu" />
<command id="cmd_zenNewEmptySplit" />

<command id="cmd_zenOpenBoostEditor" />

<!-- Workspace commands -->
<command id="cmd_zenWorkspaceSwitch1" />
<command id="cmd_zenWorkspaceSwitch2" />
Expand Down
1 change: 1 addition & 0 deletions src/browser/base/content/zen-locales.inc.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
<link rel="localization" href="browser/zen-general.ftl"/>
<link rel="localization" href="browser/zen-vertical-tabs.ftl"/>
<link rel="localization" href="browser/zen-folders.ftl"/>
<link rel="localization" href="browser/zen-boosts.ftl"/>
</linkset>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/browser/themes/shared/zen-icons/common/selectable/zap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 48 additions & 4 deletions src/browser/themes/shared/zen-icons/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,22 @@
border-radius: 100% !important;
}

.zen-boost {
list-style-image: url('chrome://browser/skin/zen-icons/selectable/boost-filled-small.svg') !important;
}

.zen-boost::after {
content: '';
position: absolute;
width: 85%;
height: 85%;
opacity: 1;
background: url('chrome://browser/content/zen-images/boost-indicator.svg') no-repeat;
z-index: 0;
pointer-events: none;
filter: invert();
}

#back-button {
list-style-image: url('back.svg') !important;
}
Expand All @@ -33,15 +49,16 @@
.close-icon,
.zen-glance-sidebar-close,
.zen-theme-picker-custom-list-item-remove,
#appMenu-quit-button2 {
#appMenu-quit-button2,
#zen-boost-delete {
list-style-image: url('close.svg') !important;
}

#PanelUI-zen-emojis-picker-none {
#zen-emojis-picker-none {
list-style-image: url('trash.svg');
}

#PanelUI-zen-gradient-generator-color-remove {
#zen-gradient-generator-color-remove {
list-style-image: url('unpin.svg') !important;
}

Expand Down Expand Up @@ -84,7 +101,8 @@

#appMenu-zoom-controls,
#PanelUI-zen-gradient-generator-color-add,
#zen-site-data-new-addon-button {
#zen-site-data-new-addon-button,
.zen-create-new-boost {
list-style-image: url('plus.svg') !important;
}

Expand Down Expand Up @@ -516,6 +534,20 @@
&[open] image {
list-style-image: url('permissions-fill.svg');
}

position: relative;
}

#zen-site-data-icon-button[boosting]::after {
content: '';
position: absolute;
width: 100%;
height: 100%;
opacity: 1;
background: url('chrome://browser/content/zen-images/boost-indicator.svg') no-repeat;
transform: translateX(-20%);
z-index: 0;
pointer-events: none;
}

.geo-icon {
Expand Down Expand Up @@ -945,3 +977,15 @@
list-style-image: url('link.svg');
fill-opacity: 0.7;
}

#zen-boost-zap {
list-style-image: url('chrome://browser/skin/zen-icons/selectable/zap.svg') !important;
}

#zen-boost-invert {
list-style-image: url('chrome://browser/skin/zen-icons/selectable/bulb.svg') !important;
}

#zen-boost-disable {
list-style-image: url('chrome://browser/skin/zen-icons/selectable/block.svg') !important;
}
6 changes: 6 additions & 0 deletions src/browser/themes/shared/zen-icons/jar.inc.mn
Original file line number Diff line number Diff line change
Expand Up @@ -468,12 +468,16 @@
* skin/classic/browser/zen-icons/selectable/basket.svg (../shared/zen-icons/common/selectable/basket.svg)
* skin/classic/browser/zen-icons/selectable/bed.svg (../shared/zen-icons/common/selectable/bed.svg)
* skin/classic/browser/zen-icons/selectable/bell.svg (../shared/zen-icons/common/selectable/bell.svg)
* skin/classic/browser/zen-icons/selectable/block.svg (../shared/zen-icons/common/selectable/block.svg)
* skin/classic/browser/zen-icons/selectable/book.svg (../shared/zen-icons/common/selectable/book.svg)
* skin/classic/browser/zen-icons/selectable/bookmark.svg (../shared/zen-icons/common/selectable/bookmark.svg)
* skin/classic/browser/zen-icons/selectable/boost-filled-small.svg (../shared/zen-icons/common/selectable/boost-filled-small.svg)
* skin/classic/browser/zen-icons/selectable/boost.svg (../shared/zen-icons/common/selectable/boost.svg)
* skin/classic/browser/zen-icons/selectable/briefcase.svg (../shared/zen-icons/common/selectable/briefcase.svg)
* skin/classic/browser/zen-icons/selectable/brush.svg (../shared/zen-icons/common/selectable/brush.svg)
* skin/classic/browser/zen-icons/selectable/bug.svg (../shared/zen-icons/common/selectable/bug.svg)
* skin/classic/browser/zen-icons/selectable/build.svg (../shared/zen-icons/common/selectable/build.svg)
* skin/classic/browser/zen-icons/selectable/bulb.svg (../shared/zen-icons/common/selectable/bulb.svg)
* skin/classic/browser/zen-icons/selectable/cafe.svg (../shared/zen-icons/common/selectable/cafe.svg)
* skin/classic/browser/zen-icons/selectable/call.svg (../shared/zen-icons/common/selectable/call.svg)
* skin/classic/browser/zen-icons/selectable/card.svg (../shared/zen-icons/common/selectable/card.svg)
Expand All @@ -484,6 +488,7 @@
* skin/classic/browser/zen-icons/selectable/code.svg (../shared/zen-icons/common/selectable/code.svg)
* skin/classic/browser/zen-icons/selectable/coins.svg (../shared/zen-icons/common/selectable/coins.svg)
* skin/classic/browser/zen-icons/selectable/construct.svg (../shared/zen-icons/common/selectable/construct.svg)
* skin/classic/browser/zen-icons/selectable/controls.svg (../shared/zen-icons/common/selectable/controls.svg)
* skin/classic/browser/zen-icons/selectable/cutlery.svg (../shared/zen-icons/common/selectable/cutlery.svg)
* skin/classic/browser/zen-icons/selectable/egg.svg (../shared/zen-icons/common/selectable/egg.svg)
* skin/classic/browser/zen-icons/selectable/extension-puzzle.svg (../shared/zen-icons/common/selectable/extension-puzzle.svg)
Expand Down Expand Up @@ -548,4 +553,5 @@
* skin/classic/browser/zen-icons/selectable/warning.svg (../shared/zen-icons/common/selectable/warning.svg)
* skin/classic/browser/zen-icons/selectable/water.svg (../shared/zen-icons/common/selectable/water.svg)
* skin/classic/browser/zen-icons/selectable/weight.svg (../shared/zen-icons/common/selectable/weight.svg)
* skin/classic/browser/zen-icons/selectable/zap.svg (../shared/zen-icons/common/selectable/zap.svg)
skin/classic/browser/zen-icons/icons.css (../shared/zen-icons/icons.css)
28 changes: 28 additions & 0 deletions src/docshell/base/BrowsingContext-h.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
diff --git a/docshell/base/BrowsingContext.h b/docshell/base/BrowsingContext.h
index 331d7a5a0f0956ff35c8a5a703b1e089b19bd7fe..68bcf7c87e41d08a71b000e4a7e4304814928c75 100644
--- a/docshell/base/BrowsingContext.h
+++ b/docshell/base/BrowsingContext.h
@@ -256,6 +256,7 @@ struct EmbedderColorSchemes {
FIELD(IsInBFCache, bool) \
FIELD(HasRestoreData, bool) \
FIELD(SessionStoreEpoch, uint32_t) \
+ FIELD(ZenBoostsData, nscolor) \
/* Whether we can execute scripts in this BrowsingContext. Has no effect \
* unless scripts are also allowed in the parent WindowContext. */ \
FIELD(AllowJavascript, bool) \
@@ -650,6 +651,7 @@ class BrowsingContext : public nsILoadContext, public nsWrapperCache {

bool FullscreenAllowed() const;

+ auto ZenBoostsData() const { return GetZenBoostsData(); }
float FullZoom() const { return GetFullZoom(); }
float TextZoom() const { return GetTextZoom(); }

@@ -1167,6 +1169,7 @@ class BrowsingContext : public nsILoadContext, public nsWrapperCache {
}

void DidSet(FieldIndex<IDX_SessionStoreEpoch>, uint32_t aOldValue);
+ void DidSet(FieldIndex<IDX_ZenBoostsData>, nscolor aOldValue);

using CanSetResult = syncedcontext::CanSetResult;

13 changes: 13 additions & 0 deletions src/dom/chrome-webidl/BrowsingContext-webidl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/dom/chrome-webidl/BrowsingContext.webidl b/dom/chrome-webidl/BrowsingContext.webidl
index 9730cea647caedaeca4dcbe703e209d79a3440a7..ba0952428625b6a0f0e2f9546ccec5a7c6af0faf 100644
--- a/dom/chrome-webidl/BrowsingContext.webidl
+++ b/dom/chrome-webidl/BrowsingContext.webidl
@@ -169,6 +169,8 @@ interface BrowsingContext {

[SetterThrows] attribute float textZoom;

+ [SetterThrows] attribute unsigned long zenBoostsData;
+
// Override the dots-per-CSS-pixel scaling factor in this BrowsingContext
// and all of its descendants. May only be set on the top BC, and should
// only be set from the parent process.
26 changes: 26 additions & 0 deletions src/layout/base/nsPresContext-cpp.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
diff --git a/layout/base/nsPresContext.cpp b/layout/base/nsPresContext.cpp
index c1cc9a6505ffb3f0019ce007c8d17366364bdd86..faf802c4ddef7d9d670242dec5b580c8e9b42111 100644
--- a/layout/base/nsPresContext.cpp
+++ b/layout/base/nsPresContext.cpp
@@ -20,6 +20,7 @@
#include "base/basictypes.h"
#include "gfxPlatform.h"
#include "gfxTextRun.h"
+#include "mozilla/nsZenBoostsBackend.h"
#include "mozilla/AnimationEventDispatcher.h"
#include "mozilla/ContentBlockingAllowList.h"
#include "mozilla/CycleCollectedJSContext.h"
@@ -915,6 +916,13 @@ void nsPresContext::RecomputeBrowsingContextDependentData() {
}

auto* top = browsingContext->Top();
+
+ nsCOMPtr<zen::nsZenBoostsBackend> zenBackend(
+ do_GetService(ZEN_BOOSTS_BACKEND_CONTRACTID));
+ if (zenBackend) {
+ zenBackend->RecomputeBrowsingContextDependentData(this, top);
+ }
+
SetColorSchemeOverride([&] {
auto overriden = top->PrefersColorSchemeOverride();
if (overriden != PrefersColorSchemeOverride::None) {
12 changes: 12 additions & 0 deletions src/layout/base/nsPresContext-h.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/layout/base/nsPresContext.h b/layout/base/nsPresContext.h
index e1186f0b9f25f5c78f2cb3dc4d2a607c1ede04a9..03f338d61c0a550407025b6736f80829d6f574de 100644
--- a/layout/base/nsPresContext.h
+++ b/layout/base/nsPresContext.h
@@ -560,6 +560,7 @@ class nsPresContext : public nsISupports,
void UpdateForcedColors(bool aNotify = true);

public:
+ nscolor mZenBoostsPresContextData;
float GetFullZoom() { return mFullZoom; }
/**
* Device full zoom differs from full zoom because it gets the zoom from
41 changes: 41 additions & 0 deletions src/layout/painting/nsDisplayList-cpp.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
diff --git a/layout/painting/nsDisplayList.cpp b/layout/painting/nsDisplayList.cpp
index 6c5b38eb3cdb08a8afd670705c75c052b85b6dd9..823df9ef5245dcffcbfaba1fafc6b15ece174676 100644
--- a/layout/painting/nsDisplayList.cpp
+++ b/layout/painting/nsDisplayList.cpp
@@ -85,6 +85,7 @@
#include "mozilla/layers/WebRenderLayerManager.h"
#include "mozilla/layers/WebRenderMessages.h"
#include "mozilla/layers/WebRenderScrollData.h"
+#include "mozilla/nsZenBoostsBackend.h"
#include "nsCSSProps.h"
#include "nsCSSRendering.h"
#include "nsCSSRenderingGradients.h"
@@ -1046,6 +1047,12 @@ void nsDisplayListBuilder::EnterPresShell(const nsIFrame* aReferenceFrame,
state->mFirstFrameMarkedForDisplay = mFramesMarkedForDisplay.Length();
state->mFirstFrameWithOOFData = mFramesWithOOFData.Length();

+ nsCOMPtr<zen::nsZenBoostsBackend> zenBackend(
+ do_GetService(ZEN_BOOSTS_BACKEND_CONTRACTID));
+ if (zenBackend) {
+ zenBackend->onPressShellEntered(state->mPresShell->GetPresContext());
+ }
+
ScrollContainerFrame* sf = state->mPresShell->GetRootScrollContainerFrame();
if (sf && IsInSubdocument()) {
// We are forcing a rebuild of nsDisplayCanvasBackgroundColor to make sure
@@ -1221,6 +1228,15 @@ void nsDisplayListBuilder::LeavePresShell(const nsIFrame* aReferenceFrame,
ResetMarkedFramesForDisplayList(aReferenceFrame);
mPresShellStates.RemoveLastElement();

+ nsCOMPtr<zen::nsZenBoostsBackend> zenBackend(
+ do_GetService(ZEN_BOOSTS_BACKEND_CONTRACTID));
+ if (zenBackend) {
+ zenBackend->onPressShellLeave(
+ mPresShellStates.IsEmpty()
+ ? nullptr
+ : CurrentPresShellState()->mPresShell->GetPresContext());
+ }
+
if (!mPresShellStates.IsEmpty()) {
nsPresContext* pc = CurrentPresContext();
nsIDocShell* docShell = pc->GetDocShell();
30 changes: 30 additions & 0 deletions src/layout/style/StyleColor-cpp.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
diff --git a/layout/style/StyleColor.cpp b/layout/style/StyleColor.cpp
index 5fd5f7efba9bcb2febdc9a6b8f8812df673513d8..200e9bf82aacbf38a50f5b99671e403de5b4f61b 100644
--- a/layout/style/StyleColor.cpp
+++ b/layout/style/StyleColor.cpp
@@ -10,6 +10,7 @@
#include "mozilla/dom/BindingDeclarations.h"
#include "nsIFrame.h"
#include "nsStyleStruct.h"
+#include "mozilla/nsZenBoostsBackend.h"

namespace mozilla {

@@ -23,6 +24,8 @@ bool StyleColor::MaybeTransparent() const {
template <>
StyleAbsoluteColor StyleColor::ResolveColor(
const StyleAbsoluteColor& aForegroundColor) const {
+ auto ResolveColorInner = [this,
+ &aForegroundColor]() -> StyleAbsoluteColor {
if (IsAbsolute()) {
return AsAbsolute();
}
@@ -32,6 +35,8 @@ StyleAbsoluteColor StyleColor::ResolveColor(
}

return Servo_ResolveColor(this, &aForegroundColor);
+ };
+ return zen::nsZenBoostsBackend::ResolveStyleColor(ResolveColorInner());
}

template <>
Loading