*Summary:* Add a pseudo-element to file inputs in order to expose the internal "Browse" button.

Since there's no spec yet, and the name might change, I plan to /not/ ship it just yet, and keep it Nightly / Dev Edition only for now until the dust settles.

*Bug:* bug 1635675 <https://bugzil.la/1635675>.

*Standard:* None yet, this was just resolved <https://github.com/w3c/csswg-drafts/issues/5049> by the CSS Working Group.

*Platform coverage:* All platforms.

*Preference:* layout.css.file-chooser-button.enabled

*Devtools Bug:* N/A

*Other Browsers:*

 * WebKit and Blink ship a prefixed version of this called
   ::-webkit-file-upload-button.
 * EdgeHTML shipped a prefixed version of this called ::-ms-browse.

*web-platform-tests:* I'm adding some very basic tentative tests in the patch.

*Secure contexts:* Not restricted to secure contexts as many other CSS selectors.

*Is this feature enabled by default in sandboxed iframes?* Yes

  -- Emilio

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to