| { |
| "html": { |
| "elements": { |
| "option": { |
| "__compat": { |
| "mdn_url": "https://developer.mozilla.org/docs/Web/HTML/Element/option", |
| "spec_url": "https://html.spec.whatwg.org/multipage/form-elements.html#the-option-element", |
| "tags": [ |
| "web-features:select" |
| ], |
| "support": { |
| "chrome": { |
| "version_added": "1" |
| }, |
| "chrome_android": "mirror", |
| "edge": { |
| "version_added": "12" |
| }, |
| "firefox": { |
| "version_added": "1" |
| }, |
| "firefox_android": "mirror", |
| "ie": { |
| "version_added": "≤11" |
| }, |
| "oculus": "mirror", |
| "opera": "mirror", |
| "opera_android": "mirror", |
| "safari": { |
| "version_added": "≤4" |
| }, |
| "safari_ios": "mirror", |
| "samsunginternet_android": "mirror", |
| "webview_android": "mirror", |
| "webview_ios": "mirror" |
| }, |
| "status": { |
| "experimental": false, |
| "standard_track": true, |
| "deprecated": false |
| } |
| }, |
| "disabled": { |
| "__compat": { |
| "mdn_url": "https://developer.mozilla.org/docs/Web/HTML/Attributes/disabled", |
| "spec_url": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-option-disabled", |
| "tags": [ |
| "web-features:select" |
| ], |
| "support": { |
| "chrome": { |
| "version_added": "1" |
| }, |
| "chrome_android": "mirror", |
| "edge": { |
| "version_added": "12" |
| }, |
| "firefox": { |
| "version_added": "1" |
| }, |
| "firefox_android": "mirror", |
| "ie": { |
| "version_added": "≤11" |
| }, |
| "oculus": "mirror", |
| "opera": "mirror", |
| "opera_android": "mirror", |
| "safari": { |
| "version_added": "≤4" |
| }, |
| "safari_ios": "mirror", |
| "samsunginternet_android": "mirror", |
| "webview_android": "mirror", |
| "webview_ios": "mirror" |
| }, |
| "status": { |
| "experimental": false, |
| "standard_track": true, |
| "deprecated": false |
| } |
| } |
| }, |
| "label": { |
| "__compat": { |
| "spec_url": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-option-label", |
| "tags": [ |
| "web-features:select" |
| ], |
| "support": { |
| "chrome": { |
| "version_added": "1" |
| }, |
| "chrome_android": "mirror", |
| "edge": { |
| "version_added": "12" |
| }, |
| "firefox": { |
| "version_added": "1", |
| "notes": [ |
| "Before 77, Firefox didn't display the value of the <code>label</code> attribute as option text if element's content was empty. See <a href='https://bugzil.la/40545'>bug 40545</a>.", |
| "Historically, Firefox has allowed keyboard and mouse events to bubble up from the <code><option></code> element to the parent <code><select></code> element, although this behavior is inconsistent across many browsers. For better Web compatibility (and for technical reasons), they will not bubble up when Firefox is in multi-process mode and the <code><select></code> element is displayed as a drop-down list. The behavior is unchanged if the <code><select></code> is presented inline and it has either the <code>multiple</code> attribute defined or a <code>size</code> attribute set to more than <code>1</code>. Rather than watching <code><option></code> elements for events, you should watch for <a href='https://developer.mozilla.org/docs/Web/Events/change'>change</a> events on <code><select></code>. See <a href='https://bugzil.la/1090602'>bug 1090602</a> for details.", |
| "When Mozilla introduced dedicated content threads to Firefox (through the Electrolysis, or e10s, project), support for styling <code><option></code> elements was removed temporarily. Starting in Firefox 54, you can apply foreground and background colors to <code><option></code> elements again, using the <code>color</code> and <code>background-color</code> CSS properties. See <a href='https://bugzil.la/910022'>bug 910022</a> for more information. Note that this is still disabled in Linux due to lack of contrast (see <a href='https://bugzil.la/1338283'>bug 1338283</a> for progress on this)." |
| ] |
| }, |
| "firefox_android": { |
| "version_added": "4", |
| "notes": "Before 77, Firefox didn't display the value of the <code>label</code> attribute as option text if element's content was empty. See <a href='https://bugzil.la/40545'>bug 40545</a>." |
| }, |
| "ie": { |
| "version_added": "≤11" |
| }, |
| "oculus": "mirror", |
| "opera": "mirror", |
| "opera_android": "mirror", |
| "safari": { |
| "version_added": "≤4" |
| }, |
| "safari_ios": "mirror", |
| "samsunginternet_android": "mirror", |
| "webview_android": "mirror", |
| "webview_ios": "mirror" |
| }, |
| "status": { |
| "experimental": false, |
| "standard_track": true, |
| "deprecated": false |
| } |
| } |
| }, |
| "selected": { |
| "__compat": { |
| "spec_url": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-option-selected", |
| "tags": [ |
| "web-features:select" |
| ], |
| "support": { |
| "chrome": { |
| "version_added": "1" |
| }, |
| "chrome_android": "mirror", |
| "edge": { |
| "version_added": "12" |
| }, |
| "firefox": { |
| "version_added": "1" |
| }, |
| "firefox_android": "mirror", |
| "ie": { |
| "version_added": "≤11" |
| }, |
| "oculus": "mirror", |
| "opera": "mirror", |
| "opera_android": "mirror", |
| "safari": { |
| "version_added": "≤4" |
| }, |
| "safari_ios": "mirror", |
| "samsunginternet_android": "mirror", |
| "webview_android": "mirror", |
| "webview_ios": "mirror" |
| }, |
| "status": { |
| "experimental": false, |
| "standard_track": true, |
| "deprecated": false |
| } |
| } |
| }, |
| "value": { |
| "__compat": { |
| "spec_url": "https://html.spec.whatwg.org/multipage/form-elements.html#attr-option-value", |
| "tags": [ |
| "web-features:select" |
| ], |
| "support": { |
| "chrome": { |
| "version_added": "1" |
| }, |
| "chrome_android": "mirror", |
| "edge": { |
| "version_added": "12" |
| }, |
| "firefox": { |
| "version_added": "1" |
| }, |
| "firefox_android": "mirror", |
| "ie": { |
| "version_added": "≤11" |
| }, |
| "oculus": "mirror", |
| "opera": "mirror", |
| "opera_android": "mirror", |
| "safari": { |
| "version_added": "≤4" |
| }, |
| "safari_ios": "mirror", |
| "samsunginternet_android": "mirror", |
| "webview_android": "mirror", |
| "webview_ios": "mirror" |
| }, |
| "status": { |
| "experimental": false, |
| "standard_track": true, |
| "deprecated": false |
| } |
| } |
| } |
| } |
| } |
| } |
| } |