Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow up on DOM Properties #21

Open
martypdx opened this issue Mar 14, 2024 · 1 comment
Open

Follow up on DOM Properties #21

martypdx opened this issue Mar 14, 2024 · 1 comment

Comments

@martypdx
Copy link

Hey there @wooorm 馃憢 Finally got back to following up on my comment about DOM props

I created this repo which uses your element and attribute reference libraries to do an audit of this library in the browser. It creates an element of "tag", then tests that the property lookups actually exists on the DOM object.

I did split the attribute tests into custom (element specific), global, and arai. Skipped event names and data- as they are well-known exceptions.

I set up vitest to run the tests in chrome, firefox, edge, and safari. With a bit of research, bucketted things into:

  • remove (deprecated)
  • not yet implemented (newer stuff)
  • corrections (spelling change)
  • attribute only (no DOM property)

I did html, still need to do svg.

Mostly wanted to provide an FYI. I found some bad data in html-element-attributes, will put issue there.

@wooorm
Copy link
Owner

wooorm commented Apr 3, 2024

How鈥檚 it going? Did you want me to look into your repo, or were you planning to report back when you have more time? Should the core of your repo鈥攖esting actual browsers鈥攂e pulled into this project?

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

No branches or pull requests

2 participants