From 5346e5565530a978683de58065fadc275404e1cc Mon Sep 17 00:00:00 2001 From: Francis Dominic Fajardo Date: Thu, 3 Jul 2025 19:34:30 +0800 Subject: [PATCH] Issue #2045 - Part 9: Include the revert keyword in the list of accepted values for CSS properties returned by inDOMUtils --- layout/inspector/inDOMUtils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layout/inspector/inDOMUtils.cpp b/layout/inspector/inDOMUtils.cpp index fdae4543ed..793e973e3b 100644 --- a/layout/inspector/inDOMUtils.cpp +++ b/layout/inspector/inDOMUtils.cpp @@ -953,10 +953,11 @@ inDOMUtils::GetCSSValuesForProperty(const nsAString& aProperty, GetOtherValuesForProperty(propertyParserVariant, array); } } - // All CSS properties take initial, inherit and unset. + // All CSS properties take initial, inherit, unset, and revert. InsertNoDuplicates(array, NS_LITERAL_STRING("initial")); InsertNoDuplicates(array, NS_LITERAL_STRING("inherit")); InsertNoDuplicates(array, NS_LITERAL_STRING("unset")); + InsertNoDuplicates(array, NS_LITERAL_STRING("revert")); *aLength = array.Length(); char16_t** ret =