Closed Bug 467817 Opened 16 years ago Closed 15 years ago

text-shadow messes up a textbox in a popup

Categories

(Core :: XUL, defect)

x86
macOS
defect
Not set
normal

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.
Could you make a testcase for this? I wonder if its Mac only.
Attached file testcase
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.
Just paste the source of the example into http://ted.mielczarek.org/code/mozilla/xuledit/xuledit.xul and edit it as you deem necessary.
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.
This seems to be working ok now.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
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.

Attachment

General

Creator:
Created:
Updated:
Size: