Bug 1853323 - Remove browser.underline_anchors. r=settings-reviewers,mconley

This is weirdly placed in the colors dialog, and adds a global selector
to the UA sheet for no great reason.

This sub-setting doesn't really make a lot of sense. We don't let you
force underlines in any way, so any site CSS will override it (unlike
colors, where you can actually override the site).

Just move this to the UA sheet properly.

Differential Revision: https://phabricator.services.mozilla.com/D188326
This commit is contained in:
Emilio Cobos Álvarez
2023-09-15 15:37:15 +00:00
parent 0d281575c6
commit 4eb43ef123
10 changed files with 7 additions and 28 deletions

View File

@@ -12,7 +12,6 @@ Preferences.addAll([
{ id: "browser.display.document_color_use", type: "int" },
{ id: "browser.anchor_color", type: "string" },
{ id: "browser.visited_color", type: "string" },
{ id: "browser.underline_anchors", type: "bool" },
{ id: "browser.display.foreground_color", type: "string" },
{ id: "browser.display.background_color", type: "string" },
{ id: "browser.display.use_system_colors", type: "bool" },

View File

@@ -96,14 +96,6 @@
preference="browser.visited_color"
/>
</hbox>
<separator class="thin" />
<hbox align="center">
<checkbox
id="browserUnderlineAnchors"
data-l10n-id="colors-underline-links"
preference="browser.underline_anchors"
/>
</hbox>
</groupbox>
</hbox>