Closed Bug 367136 Opened 18 years ago Closed 14 years ago

XUL textbox padding smaller on the right (in RTL)

Categories

(Core :: XUL, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 463891

People

(Reporter: eyalroz1, Unassigned)

Details

(Keywords: rtl)

Attachments

(1 file)

811 bytes, application/vnd.mozilla.xul+xml
Details
I noticed that the left padding of a XUL textbox, which is in effect when the direction is set to LTR (dunno about what happens to the left padding in RTL) is wider than the right padding when the textbox is in RTL direction. I find the RTL right-padding insufficient. BTW - problem seen with TB 1.5, also visible and somewhat worse with SM trunk from 2006-12.
we're talking 3-4px minimum, not 1px. Although bug 365396 may explain what I'm seeing on the trunk.
Attached file testcase
I think this happens because of: http://lxr.mozilla.org/seamonkey/source/toolkit/themes/winstripe/global/textbox.css#58 I think stuff needs to be changed to use -moz-padding-start and -moz-padding-end instead.
(In reply to comment #3) > I think stuff needs to be changed to use -moz-padding-start and > -moz-padding-end instead. That sounds reasonable... but why not have this padding at the end as well?
I don't know, 4px padding seems a bit too much for me, personally. I think I would prefer it if xul:textboxes would have the same padding as html:inputs.
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Fixed in bug 463891 -- duping forward
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: