| Index: third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.js
|
| diff --git a/third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.js b/third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.js
|
| index 994634b971daf1d1448377c6175ae5fc4dd593e5..1fb092956ffea4ec1fb7d261aec38660b7d8c560 100644
|
| --- a/third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.js
|
| +++ b/third_party/WebKit/LayoutTests/editing/spelling/spellcheck_test.js
|
| @@ -208,6 +208,11 @@ class MarkerSerializer {
|
| Array.from(element.attributes)
|
| .sort((attr1, attr2) => attr1.name.localeCompare(attr2.name))
|
| .forEach(attr => {
|
| + // HTMLInputElement's value attribute need special handling.
|
| + if (isHTMLInputElement(element)) {
|
| + if (attr.name === 'value')
|
| + return;
|
| + }
|
| if (attr.value === '')
|
| return this.emit(` ${attr.name}`);
|
| const value = attr.value.replace(/&/g, '&')
|
|
|