moz-select only visually looks disabled in Translations Settings
Categories
(Toolkit :: UI Widgets, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox145 | --- | unaffected |
| firefox146 | --- | unaffected |
| firefox147 | --- | affected |
People
(Reporter: nordzilla, Assigned: hjones)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
Description
This is a bit of a strange regression to file, because it is for Bug 2002127, which I am still actively working on, but I noticed this issue come up in my latest rebase after Bug 1998560 landed.
I've attached a video of the issue. My moz-select in the Translations Settings subpage now visually looks disabled, even though it is functional. The moz-button next to it truly is disabled, until a valid option is selected.
I noticed that the following fixes it, but I don't know if it's the right fix.
diff --git a/toolkit/content/widgets/moz-select/moz-select.css b/toolkit/content/widgets/moz-select/moz-select.css
index ac7a2a9cb9d9..76ff1e27efbf 100644
--- a/toolkit/content/widgets/moz-select/moz-select.css
+++ b/toolkit/content/widgets/moz-select/moz-select.css
@@ -48,7 +48,7 @@
color: var(--select-text-color-hover);
}
- &:has(:disabled) {
+ &:has(> :disabled) {
border-color: var(--select-border-color-disabled);
background-color: var(--select-background-color-disabled);
color: var(--select-text-color-disabled);
Comment 1•17 hours ago
|
||
Set release status flags based on info from the regressing bug 1998560
:hjones, since you are the author of the regressor, bug 1998560, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 2•16 hours ago
|
||
Thanks for filing! I think your fix is spot on - I wasn't taking disabled options into account. Just put up a patch with the fix!
| Assignee | ||
Comment 3•16 hours ago
|
||
Thanks for filing! I think your fix is spot on - I wasn't taking disabled options into account. Just put up a patch with the fix!
| Assignee | ||
Comment 4•16 hours ago
|
||
Updated•16 hours ago
|
| Assignee | ||
Updated•16 hours ago
|
Description
•