Skip to content

Commit

Permalink
Rename ::file-chooser-button to ::file-selector-button, and enable it…
Browse files Browse the repository at this point in the history
… in all channels.

See w3c/csswg-drafts#5049

Differential Revision: https://phabricator.services.mozilla.com/D88995

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1662478
gecko-commit: 98afbf7fa4fdf697acdd6335cd00c8c315978c2f
gecko-reviewers: jwatt
  • Loading branch information
emilio authored and moz-wptsync-bot committed Sep 1, 2020
1 parent 43847c6 commit 1c921cf
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
11 changes: 0 additions & 11 deletions css/css-pseudo/file-chooser-button-001.tentative.html

This file was deleted.

11 changes: 11 additions & 0 deletions css/css-pseudo/file-selector-button-001.tentative.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html>
<title>::file-selector-button allows to customize the button in &lt;input type=file&gt;</title>
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/5049">
<link rel="mismatch" href="file-selector-button-001-notref.html">
<style>
input::file-selector-button {
background: green;
color: white;
}
</style>
<input type="file">
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!doctype html>
<title>Shouldn't assert when re-creating a ::file-chooser-button pseudo-element after it being display: none</title>
<title>Shouldn't assert when re-creating a ::file-selector-button pseudo-element after it being display: none</title>
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/5049">
<style>
.tweak::file-chooser-button {
.tweak::file-selector-button {
display: none;
}
</style>
Expand Down

0 comments on commit 1c921cf

Please sign in to comment.