mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 1519399 - Fix browser_parsable_css.js for scroll-anchoring as it's behind a pref. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D16404 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
9ed87684ba
commit
98eed596c7
@ -95,6 +95,14 @@ if (!Services.prefs.getBoolPref("layout.css.scrollbar-width.enabled")) {
|
||||
});
|
||||
}
|
||||
|
||||
if (!Services.prefs.getBoolPref("layout.css.scroll-anchoring.enabled")) {
|
||||
whitelist.push({
|
||||
sourceName: /webconsole\.css$/i,
|
||||
errorMessage: /Unknown property .*\boverflow-anchor\b/i,
|
||||
isFromDevTools: true,
|
||||
});
|
||||
}
|
||||
|
||||
let propNameWhitelist = [
|
||||
// These custom properties are retrieved directly from CSSOM
|
||||
// in videocontrols.xml to get pre-defined style instead of computed
|
||||
|
Loading…
Reference in New Issue
Block a user