| Index: Source/core/html/forms/ColorInputType.cpp
|
| diff --git a/Source/core/html/forms/ColorInputType.cpp b/Source/core/html/forms/ColorInputType.cpp
|
| index eb6276d7c7df16e039d32b8aa9cd7135fd46f843..66a17364cc9711e4feb16ab38114349788037722 100644
|
| --- a/Source/core/html/forms/ColorInputType.cpp
|
| +++ b/Source/core/html/forms/ColorInputType.cpp
|
| @@ -48,6 +48,7 @@
|
| #include "core/layout/LayoutTheme.h"
|
| #include "core/layout/LayoutView.h"
|
| #include "core/page/ChromeClient.h"
|
| +#include "platform/JSONValues.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/UserGestureIndicator.h"
|
| #include "platform/graphics/Color.h"
|
| @@ -190,7 +191,7 @@ void ColorInputType::warnIfValueIsInvalid(const String& value) const
|
| {
|
| if (!equalIgnoringCase(value, element().sanitizeValue(value))) {
|
| element().document().addConsoleMessage(ConsoleMessage::create(RenderingMessageSource, WarningMessageLevel,
|
| - String::format("The specified value '%s' does not conform to the required format. The format is '#rrggbb' where rr, gg, bb are two-digit hexadecimal numbers.", value.utf8().data())));
|
| + String::format("The specified value %s does not conform to the required format. The format is \"#rrggbb\" where rr, gg, bb are two-digit hexadecimal numbers.", JSONValue::quoteString(value).utf8().data())));
|
| }
|
| }
|
|
|
|
|