Bug 1711593 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

STR:
1. Load attached testcase.
(The testcase has two textfields that each have 10px of padding. The upper one also has a custom color for its right border, which triggers the less-sleek-looking/appearance:none-style widget theming.)

EXPECTED RESULTS:
The left border of both textifelds should be at approximately the same location.

ACTUAL RESULTS:
The left border of the lower textfield (the one where we've only specified padding) is **shifted rightwards** a fair amount. It looks like the border is drawn in the middle of the padding, or something like that.


I get ACTUAL RESULTS on macOS in Firefox 88, as well as in current Firefox Nightly 90 **if** I set the pref `widget.non-native-theme.enabled` to `false`.

I get EXPECTED RESULTS on other platforms, and in Firefox versions before Firefox 88.


mozregression (with `widget.non-native-theme.enabled` set to `false`) tells me that this was a regression from bug 1077365.  Regression pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=70178cdbf69fc759fcee2aa1a8d1f16307ad5576&tochange=c541555b90cbbb1a1f0f3776f6c377b6c9a767f1

Having said that: it looks like we're shipping `widget.non-native-theme.enabled`=`true` in Firefox 89 and newer, in bug 1697053; and that seems to work around this [hence, marking this as depending-on that bug].  So I'm not sure how much this bug really matters, in light of that fact.
STR:
1. Load attached testcase.
(The testcase has two textfields that each have 10px of padding. The upper one also has a custom color for its right border, which triggers the less-sleek-looking/appearance:none-style widget theming.)

EXPECTED RESULTS:
The left border of both textfields should be at approximately the same location.

ACTUAL RESULTS:
The left border of the lower textfield (the one where we've only specified padding) is **shifted rightwards** a fair amount. It looks like the border is drawn in the middle of the padding, or something like that.


I get ACTUAL RESULTS on macOS in Firefox 88, as well as in current Firefox Nightly 90 **if** I set the pref `widget.non-native-theme.enabled` to `false`.

I get EXPECTED RESULTS on other platforms, and in Firefox versions before Firefox 88.


mozregression (with `widget.non-native-theme.enabled` set to `false`) tells me that this was a regression from bug 1077365.  Regression pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=70178cdbf69fc759fcee2aa1a8d1f16307ad5576&tochange=c541555b90cbbb1a1f0f3776f6c377b6c9a767f1

Having said that: it looks like we're shipping `widget.non-native-theme.enabled`=`true` in Firefox 89 and newer, in bug 1697053; and that seems to work around this [hence, marking this as depending-on that bug].  So I'm not sure how much this bug really matters, in light of that fact.

Back to Bug 1711593 Comment 0