mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Issue #2045 - Part 10: Regenerate devtools CSS database and include the revert keyword in related devtools code
This commit is contained in:
parent
5346e55655
commit
f0b8d1df2c
5 changed files with 477 additions and 4 deletions
|
|
@ -151,7 +151,7 @@ TooltipsOverlay.prototype = {
|
|||
// Font preview tooltip
|
||||
if (type === VIEW_NODE_VALUE_TYPE && prop.property === "font-family") {
|
||||
let value = prop.value.toLowerCase();
|
||||
if (value !== "inherit" && value !== "unset" && value !== "initial") {
|
||||
if (value !== "inherit" && value !== "unset" && value !== "initial" && value !== "revert") {
|
||||
tooltipType = TOOLTIP_FONTFAMILY_TYPE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@ const {CSS_ANGLEUNIT} = require("devtools/shared/css/properties-db");
|
|||
const SPECIALVALUES = new Set([
|
||||
"initial",
|
||||
"inherit",
|
||||
"unset"
|
||||
"unset",
|
||||
"revert"
|
||||
]);
|
||||
|
||||
const {getCSSLexer} = require("devtools/shared/css/lexer");
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ const filterList = [
|
|||
];
|
||||
|
||||
// Valid values that shouldn't be parsed for filters.
|
||||
const SPECIAL_VALUES = new Set(["none", "unset", "initial", "inherit"]);
|
||||
const SPECIAL_VALUES = new Set(["none", "unset", "initial", "inherit", "revert"]);
|
||||
|
||||
/**
|
||||
* A CSS Filter editor widget used to add/remove/modify
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@ const SPECIALVALUES = new Set([
|
|||
"initial",
|
||||
"inherit",
|
||||
"transparent",
|
||||
"unset"
|
||||
"unset",
|
||||
"revert"
|
||||
]);
|
||||
|
||||
/**
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue