Open Bug 1465256 Opened 2 years ago Updated 2 months ago
Remove the requirement to use the `browser‑style` class to apply browser styles when `browser
_style` is `true`
Due to bug 418833 and bug 1371951, `<input type="checkbox">` and `<input type="radio">` styles use `input[…] + label::before` selectors as a workaround. Rather than fixing the underlying issue, the developers fixing bug 1354336 instead choose to introduce the `browser-style` class. Once bug 1371951 is resolved, it will be possible to remove the `browser-style` style class requirement (i.e. revert d666bbb2097a¹) without introducing regressions. ¹ https://hg.mozilla.org/releases/mozilla-beta/rev/d666bbb2097a
(In reply to ExE Boss from comment #0) > Rather than fixing the underlying issue, the developers fixing > bug 1354336 instead chose to introduce the `browser-style` class. And then, instead of at least limiting the `browser-style` class requirement to just the `input[…] + label::before` selectors, chose to add said requirement to `<button>`, `<select>` and `<textarea>`, which were unaffected by bug 418833 and would’ve been just fine without it.
You need to log in before you can comment on or make changes to this bug.