Open Bug 396797 Opened 17 years ago Updated 2 years ago

An input field that has an image positioned "over" it with a z-index set lower causes the blinky cursor to not show.

Categories

(Core :: Widget, defect)

x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: chris.ogden, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 I have an <input> I have an <img> I set the <img> to be as big as the window (to use as a background), and then set it to a lower z-index than the <input> to put it behind the <input>. Everything displays like it should, but there is no blinking cursor in the <input> to show where you are when entering text. It still works, though. Just no blinky cursor. Works fine in other browsers. Reproducible: Always Steps to Reproduce: 1. Create an <input> 2. Create an <img> 3. Set the <img> to cover the <input> using CSS, but give it a lower z-index. Actual Results: No blinky cursor in the <input> Expected Results: A blinky cursor in the <input>
Can you please attach a testcase to demonstrate the problem?
Product: Firefox → Toolkit
http://bioinformatics.essex.ac.uk/users/wlangdon/rnanet/rnanet.html 1. enter xx in dialog box right of "Find gene" Number 4 appears to right and lower four of ten rows are now occupied by genes. 2. Click large button (showing "_") to left of "ENSE 1328731" button depressed -- borders invert button may change colour number 4666 appears on button and large graphic at top updates (may take a few seconds) green rectange containing yellow histogram appears on button. (Green rectange exactly same size/shape as low z image/canvas). 3. Press button left of "Clear graphs" Large graphic returns to original dot pattern (plus crosshairs). Half of "4666" button still obscured by green rectange containing yellow histogram. 4. Click on button inside green rectange NO ACTION. Ie large graphic not updated 5. Click button outside of green rectange Large graphic is updated, as it was the first time the button was pressed.
A simpler testcase would be more useful, but I see the problem you're describing. Not sure if this is a real bug with layout/widgets, or if z-index just works differently than is intended.
Component: Form Manager → Widget
Product: Toolkit → Core
QA Contact: form.manager → general
(In reply to comment #3) > A simpler testcase would be more useful, I agree. I did spend some time trying to construction a simple example from scratch but I never found out exactly when the problem appears. Sorry. >but I see the problem you're describing. Ok:-)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.