-
- Downloads
Bug 1896901 - Don't use an <input> for unknown content type file....
Bug 1896901 - Don't use an <input> for unknown content type file. r=dao,desktop-theme-reviewers a=RyanVM This happens because the input minimum size doesn't depend on the value text. There's an experimental CSS property to support something like this, field-sizing: https://developer.mozilla.org/en-US/docs/Web/CSS/field-sizing Which is tracked on bug 1832409, but which we don't implement yet. This makes the form minimum size account for the content, while keeping text selectability. It's not ideal because there's no caret / Ctrl+A etc, but it's probably an ok trade-off? Alternatively we can wontfix / make this depend on implementing field-sizing. Differential Revision: https://phabricator.services.mozilla.com/D210513
Showing
- toolkit/mozapps/downloads/HelperAppDlg.sys.mjs 3 additions, 3 deletionstoolkit/mozapps/downloads/HelperAppDlg.sys.mjs
- toolkit/mozapps/downloads/content/unknownContentType.xhtml 1 addition, 1 deletiontoolkit/mozapps/downloads/content/unknownContentType.xhtml
- toolkit/themes/shared/downloads/unknownContentType.css 5 additions, 6 deletionstoolkit/themes/shared/downloads/unknownContentType.css
Loading
Please register or sign in to comment