| Index: third_party/WebKit/Source/core/html/forms/ColorInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp b/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp
|
| index 781068b56308a4b5afc9c3b21bd82902d791b59c..2905794cea86b8a8b6d5b26d85582bb005334ffa 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp
|
| @@ -245,6 +245,8 @@ Vector<ColorSuggestion> ColorInputType::suggestions() const {
|
| if (dataList) {
|
| HTMLDataListOptionsCollection* options = dataList->options();
|
| for (unsigned i = 0; HTMLOptionElement* option = options->item(i); i++) {
|
| + if (option->isDisabledFormControl() || option->value().isEmpty())
|
| + continue;
|
| if (!element().isValidValue(option->value()))
|
| continue;
|
| Color color;
|
|
|