Skip to content

Support IDL and content attribute event handlers, and event handlers on fallback element (graceful degradation) - #189

Merged
WebCoder49 merged 3 commits into
mainfrom
support-all-event-handlers
Aug 29, 2025
Merged

Support IDL and content attribute event handlers, and event handlers on fallback element (graceful degradation)#189
WebCoder49 merged 3 commits into
mainfrom
support-all-event-handlers

Conversation

@WebCoder49

Copy link
Copy Markdown
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
@WebCoder49WebCoder49 changed the title Support IDL and content attribute event handlersSupport IDL and content attribute event handlers, and event handlers on fallback element (graceful degradation)Aug 29, 2025
@WebCoder49

Copy link
Copy Markdown
OwnerAuthor

Also event handlers on fallback textarea pre-registration.

@WebCoder49
WebCoder49 merged commit b74a7cb into mainAug 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 freeto 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

@WebCoder49