tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 54eb09b990cf76ae8b29934e82a390f93efb9f85
parent 273a954c9a4a1a283fb336f140ec86500df6a0cd
Author: Diego Escalante <descalante@mozilla.com>
Date:   Mon, 24 Nov 2025 14:08:42 +0000

Bug 1986627 - Add preference for parsing css-attr. r=layout-reviewers,emilio

Differential Revision: https://phabricator.services.mozilla.com/D272491

Diffstat:
Mmodules/libpref/init/StaticPrefList.yaml | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml @@ -9849,6 +9849,16 @@ mirror: always rust: true +# Whether to enable generalized CSS Attr Support. If this pref is set to false +# we treat attr as a regular function with support only for the `content` css +# property. If it is set to true, attr is parsed as a subtitution function. +# https://drafts.csswg.org/css-values-5/#attr-notation +- name: layout.css.attr.enabled + type: RelaxedAtomicBool + value: false + mirror: always + rust: true + # Whether to enable CSS @custom-media # https://drafts.csswg.org/mediaqueries-5/ # TODO(emilio): Needs more tests before enabling.