Issue #2045 - Part 10: Regenerate devtools CSS database and include the revert keyword in related devtools code

This commit is contained in:
Francis Dominic Fajardo 2025-07-03 19:36:36 +08:00 committed by roytam1
commit f0b8d1df2c
5 changed files with 477 additions and 4 deletions

View file

@ -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;
}
}