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

Update Firefox data for datalist HTML element #21533

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

queengooborg
Copy link
Contributor

This PR updates and corrects version values for Firefox and Firefox Android for the datalist HTML element. This adds a note that the describes the behavior I discovered during testing, which is important to mention as developers may think the feature is unsupported otherwise. Fixes #17753.

This PR updates and corrects version values for Firefox and Firefox Android for the `datalist` HTML element. This adds a note that the describes the behavior I discovered during testing, which is important to mention as developers may think the feature is unsupported otherwise.  Fixes mdn#17753.
@queengooborg queengooborg added the data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML label Dec 8, 2023
@@ -18,7 +18,10 @@
"firefox": {
"version_added": "4",
"partial_implementation": true,
"notes": "The <code>&lt;datalist&gt;</code> element will only create a dropdown for textual types, such as <code>text</code>, <code>search</code>, <code>url</code>, <code>tel</code>, <code>email</code> and <code>number</code>. The <code>date</code>, <code>time</code>, <code>range</code> and <code>color</code> types are not supported."
"notes": [
"Firefox does not display a downwards-pointing arrow or any other UI change to indicate a dropdown is present. The user will have to double-click on the input to show the dropdown.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This note is specific to the "text-like" input types.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For confirmation purposes, could you state a type that does have the dropdown arrow?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, I can't. But for example for you get the tick marks. But I guess we could leave it like that for cases where a dropdown would be expected?

"notes": "The <code>&lt;datalist&gt;</code> element will only create a dropdown for textual types, such as <code>text</code>, <code>search</code>, <code>url</code>, <code>tel</code>, <code>email</code> and <code>number</code>. The <code>date</code>, <code>time</code>, <code>range</code> and <code>color</code> types are not supported."
"notes": [
"Firefox does not display a downwards-pointing arrow or any other UI change to indicate a dropdown is present. The user will have to double-click on the input to show the dropdown.",
"The <code>&lt;datalist&gt;</code> element will only create a dropdown for textual types, such as <code>text</code>, <code>search</code>, <code>url</code>, <code>tel</code>, <code>email</code> and <code>number</code>. The <code>date</code>, <code>time</code>, <code>range</code> and <code>color</code> types are not supported."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pre-existing: But Firefox supports lists for range and color (on some platforms)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know which platforms in particular?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Range: all-platforms are supported.
Color: supported on Linux/Windows, not supported on macOS/Android (https://bugzilla.mozilla.org/show_bug.cgi?id=1805397)

@queengooborg queengooborg marked this pull request as draft March 26, 2024 13:59
Copy link

github-actions bot commented Sep 9, 2024

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions github-actions bot added the merge conflicts 🚧 This PR needs to merge latest "main" branch to resolve a merge conflict or other issue. label Sep 9, 2024
@github-actions github-actions bot removed the merge conflicts 🚧 This PR needs to merge latest "main" branch to resolve a merge conflict or other issue. label Sep 9, 2024
@github-actions github-actions bot added the merge conflicts 🚧 This PR needs to merge latest "main" branch to resolve a merge conflict or other issue. label Nov 18, 2024
Copy link

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions github-actions bot removed the merge conflicts 🚧 This PR needs to merge latest "main" branch to resolve a merge conflict or other issue. label Nov 18, 2024
@github-actions github-actions bot added the size:xs [PR only] 0-6 LoC changed label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML size:xs [PR only] 0-6 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

html.elements.datalist - Incorrect Desktop Firefox Compat
3 participants