Commit 7917403
Fix text removal inside the selected option.
This is not really a new regression but my patch changed the additions
to be handled better, see comments in the bug.
When removing the selected option itself, we're dealing with it
correctly via the "ignored" option list, but we don't do that for the
selected label.
Differential Revision: https://phabricator.services.mozilla.com/D306703
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2047187
gecko-commit: 836781b33d5457f27d2ccbcd120f02f4539957ca
gecko-reviewers: jjaschke, dom-core-reviewers1 parent 41b3cf2 commit 7917403
2 files changed
Lines changed: 20 additions & 0 deletions
File tree
- html/semantics/forms/the-select-element
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments