Skip to content

main: JSX types update #419

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

titoBouzout
Copy link
Contributor

@titoBouzout titoBouzout commented May 20, 2025

This update revisits relationship between interfaces., and global attributes.

  • ElementEventMap is not needed, there are three categories of events: global events, window events, and events that only exists for an element.
  • remove global attributes from elements and add these in DOMAttributes or similar
  • misc updates

CustomAttributes = framework attributes/properties
DOMAttributes = Element and Node interface attributes/properties

Changed relation to be:

<div> -> HTMLAttributes -> DOMAttributes
<svg> -> CoreSVGAttributes -> DOMAttributes
<math> -> MathMLAttributes-> DOMAttributes

This way we are not adding stuff we shouldn't be adding to elements.

@titoBouzout titoBouzout marked this pull request as ready for review May 20, 2025 17:47
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.

1 participant