Closed
Bug 467817
Opened 16 years ago
Closed 16 years ago
text-shadow messes up a textbox in a popup
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: enndeakin, Unassigned)
References
Details
Attachments
(1 file)
505 bytes,
application/vnd.mozilla.xul+xml
|
Details |
In the following case:
<toolbarbutton id="tbutton" type="menu" label="Menu Button">
<menupopup ignorekeys="true">
<textbox/>
</menupopup>
</toolbarbutton>
Opening the menu and typing text into the textbox does not draw or get positioned properly. It appears that the text is offset to the left off the edge of the textbox.
On the Mac theme, the toolbarbutton has a text-shadow defined.
Adding style="text-shadow: none" to the toolbarbutton (or commenting out the text-shadow in the theme) makes the bug go away.
Comment 1•16 years ago
|
||
Could you make a testcase for this? I wonder if its Mac only.
Reporter | ||
Comment 2•16 years ago
|
||
Comment 3•16 years ago
|
||
Could you add an explicit text-shadow rule to that testcase seeing as I'm running Linux and want to know if its cross platform.
Reporter | ||
Comment 4•16 years ago
|
||
Just paste the source of the example into http://ted.mielczarek.org/code/mozilla/xuledit/xuledit.xul and edit it as you deem necessary.
Comment 5•16 years ago
|
||
So correct me if I'm wrong:
- Add a text-shadow to the toolbarbutton which has a child menupopup.
- Open the popup, and focus the textbox, and start typing. The text should be broken.
Not seeing this on my Linux machine.
Reporter | ||
Comment 6•16 years ago
|
||
This seems to be working ok now.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Comment 7•7 years ago
|
||
Moving to Core:XUL per https://bugzilla.mozilla.org/show_bug.cgi?id=1455336
Component: XP Toolkit/Widgets: XUL → XUL
You need to log in
before you can comment on or make changes to this bug.
Description
•