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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autocorrect property #24249

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

Conversation

hamishwillee
Copy link
Collaborator

@hamishwillee hamishwillee commented Aug 30, 2024

The global autocorrect property was previously Safari-only, but has now become part of the HTML spec. This adds the element and API to BCD.

Testing on browsertack shows that the property starts to appear on HTMLElement from Safari 14.1. Also that contrary to the spec:

  • autocorrect works on passwords (it shouldn't)
  • The setter/getter is "true/false" instead of spec "on/off".

There might be other things, but it does seem to otherwise match the spec. I have added as partial implementation.

Part of mdn/content#35593

Fixes #22704

@github-actions github-actions bot added data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:html 📄 Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML labels Aug 30, 2024
@hamishwillee hamishwillee marked this pull request as ready for review September 20, 2024 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:html 📄 Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML
Projects
None yet
Development

Successfully merging this pull request may close these issues.

html.elements.textarea - autocorrect browser compatibility not listed
1 participant