2.1.54 [W3C-HTML51] Section 4.10.7 The select element
V0175: The namedItem function throws an exception when it receives an empty string
The specification states:
-
4.10.7 The select element ... DOM interface: interface HTMLSelectElement : HTMLElement { ... HTMLOptionElement? namedItem(DOMString name); ... };
EdgeHTML Mode
The namedItem
function throws
an exception when it receives an empty string; it should return null.