fune/layout/inspector
Nicolas Chevobbe 3acb069157 Bug 1814620 - [devtools] Remove color.js rgbToColorName. r=ochameau.
Make the callsites call InspectorUtils.rgbToColorName instead.
Since it was throwing when passed a non-valid named color,
which wasn't the expected outcome in DevTools, modify the
c++ method so it return an empty string instead.
Add a dedicated test since there wasn't one.

Differential Revision: https://phabricator.services.mozilla.com/D168989
2023-02-07 12:39:19 +00:00
..
tests Bug 1814620 - [devtools] Remove color.js rgbToColorName. r=ochameau. 2023-02-07 12:39:19 +00:00
inDeepTreeWalker.cpp
inDeepTreeWalker.h
inIDeepTreeWalker.idl
inLayoutUtils.cpp
inLayoutUtils.h
InspectorFontFace.cpp
InspectorFontFace.h
InspectorUtils.cpp Bug 1814620 - [devtools] Remove color.js rgbToColorName. r=ochameau. 2023-02-07 12:39:19 +00:00
InspectorUtils.h Bug 1814620 - [devtools] Remove color.js rgbToColorName. r=ochameau. 2023-02-07 12:39:19 +00:00
moz.build
ServoStyleRuleMap.cpp
ServoStyleRuleMap.h