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

Add <hr> in <select> #21652

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions html/elements/hr.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,54 @@
}
}
},
"hr_in_select": {
"__compat": {
"description": "<code>&lt;hr&gt;</code> in <code>&lt;select&gt;</code>",
"support": {
"chrome": {
"version_added": "119",
"partial_implementation": true,
"notes": [
"Only exposes the <code>&lt;hr&gt;</code> visually in the page when the menu is expanded (arrowing within the collapsed menu does not show them).",
"Does not expose the <code>&lt;hr&gt;</code> within the accessibility tree."
]
},
"chrome_android": {
"version_added": "119",
"partial_implementation": true,
"notes": "Exposes the <code>&lt;hr&gt;</code> as its own empty selectable option and not as a horizontal rule."
},
"edge": "mirror",
"firefox": {
"version_added": "122",
"partial_implementation": true,
"notes": "Does not expose the <code>&lt;hr&gt;</code> within the accessibility tree."
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "17",
"partial_implementation": true,
"notes": "Does not expose the <code>&lt;hr&gt;</code> within the accessibility tree."
},
"safari_ios": {
"version_added": false
},
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"noshade": {
"__compat": {
"support": {
Expand Down
48 changes: 48 additions & 0 deletions html/elements/select.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,54 @@
}
}
},
"hr_in_select": {
"__compat": {
"description": "<code>&lt;hr&gt;</code> in <code>&lt;select&gt;</code>",
"support": {
"chrome": {
"version_added": "119",
"partial_implementation": true,
"notes": [
"Only exposes the <code>&lt;hr&gt;</code> visually in the page when the menu is expanded (arrowing within the collapsed menu does not show them).",
"Does not expose the <code>&lt;hr&gt;</code> within the accessibility tree."
]
},
"chrome_android": {
"version_added": "119",
"partial_implementation": true,
"notes": "Exposes the <code>&lt;hr&gt;</code> as its own empty selectable option and not as a horizontal rule."
},
"edge": "mirror",
"firefox": {
"version_added": "122",
"partial_implementation": true,
"notes": "Does not expose the <code>&lt;hr&gt;</code> within the accessibility tree."
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "17",
"partial_implementation": true,
"notes": "Does not expose the <code>&lt;hr&gt;</code> within the accessibility tree."
},
"safari_ios": {
"version_added": false
},
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"multiple": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/HTML/Attributes/multiple",
Expand Down