Correct handling of |for| and |event| attributes of script elements.
https://html.spec.whatwg.org/multipage/scripting.html#script-processing-for > 12. If the script element has an event attribute and a for attribute, then run > these substeps: Our implementation was "... has a non-empty event attribute and a non-empty for attribute, ...". This CL corrects isEmpty() checks to isNull(). The new behavior is compatible with IE and Firefox. BUG=520844 Review URL: https://codereview.chromium.org/1305213005 git-svn-id: svn://svn.chromium.org/blink/trunk@201627 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment