-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.event and .htmlFor on HTMLScriptElement should reflect the "event" and "for" attributes #253
Comments
Some pointers in case a new contributor wants to take this: https://html.spec.whatwg.org/multipage/obsolete.html#dom-script-event New text should be
The test is in https://github.com/w3c/web-platform-tests/ |
I'd like to fix this if no one else is working on it. I couldn't find a corresponding issue in w3c/web-platform-tests, so I'll open one. |
Per whatwg#253, change the spec to make the .event and .htmlFor IDL attributes of the HTMLScriptElement reflect the "event" and "for" content attributes. The corresponding test must also be changed (see web-platform-tests/wpt#2280).
…or tests Update the tests for the event and htmlFor IDL attributes of the HTMLScriptElement to expect the correct behavior: The .event and .htmlFor IDL attributes of the script element should reflect the element's "event" and "for" content attributes (respectively), and not return the empty string on getting and do nothing on setting as previously stated. See whatwg/html#253 for the related correction to the spec.
…attributes Per whatwg#253, change the spec to make the .event and .htmlFor IDL attributes of the HTMLScriptElement reflect the "event" and "for" content attributes. The corresponding test must also be changed (see web-platform-tests/wpt#2280).
We seem to have perfect interop here, so the spec is wrong. I would write the spec/test patches myself, but I won't be able to for six months or so, so if anyone wants to before then, feel free. This test will need to be updated:
http://w3c-test.org/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/script-IDL-event-htmlfor.html
The text was updated successfully, but these errors were encountered: