Skip to content

Conversation

WebCoder49
Copy link
Owner

Supports IDL attribute event handlers set via JavaScript element.onevent = function() {...} and content attribute event handlers set via HTML <code-input onevent="...">.

… completely

to support all kinds of handler, not just add/removeEventListener

Passes hljs.html and prism.html tests in Firefox 140.0.2, Chromium 139.0.7258.138 and GNOME Web (WebKit) 48.5
…ll trusted; Allow textarea

events to sync to fallback textarea for graceful degradation
@WebCoder49 WebCoder49 changed the title Support IDL and content attribute event handlers Support IDL and content attribute event handlers, and event handlers on fallback element (graceful degradation) Aug 29, 2025
@WebCoder49
Copy link
Owner Author

Also event handlers on fallback textarea pre-registration.

@WebCoder49 WebCoder49 merged commit b74a7cb into main Aug 29, 2025
@WebCoder49 WebCoder49 deleted the support-all-event-handlers branch August 29, 2025 17:49
@WebCoder49 WebCoder49 restored the support-all-event-handlers branch September 4, 2025 23:50
@WebCoder49 WebCoder49 deleted the support-all-event-handlers branch September 4, 2025 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Content (HTML attr)/IDL (JS property) attribute events not synced to textarea

1 participant