Closed Bug 305783 Opened 19 years ago Closed 19 years ago

Cursor invisible in text fields with higher z-index than elements positioned 'fixed'

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 230701

People

(Reporter: chall1, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6


If there is an element with style position 'fixed' and a text field positioned 
any other way with a z-index higher than that element, the cursor within the 
field is invisible.  Typing results in text being entered in the box.

This means that when you click on the field, it _looks_ like it's disabled, 
but you can still type and update the field.  

Fields positioned 'fixed' with a higher z-index show the cursor.
Fields not above the fixed element show the cursor.
Fields above the element not positioned 'fixed' do not show the cursor.

Reproducible: Always

Steps to Reproduce:
1. Create a DIV positioned 'fixed' with z-index of 1, height 50%, width 50%.
2. Create a text field, positioned 'relative', z-index of 10.
3. Click on the text field.

Actual Results:  
The cursor is not shown in the text field.  Users cannot tell they have 
successfully focused a control.

Expected Results:  
Shown a blinking cursor in the text field.
I hope this demonstration helps you resolve the bug.
This is a duplicate.
Please search for the original bug and mark this one a duplicate to that bug.
I think the other bug Martijn mentioned is bug 230701. I wrote a testcase there
similar to yours, but using absolute positioning instead of relative.

*** This bug has been marked as a duplicate of 230701 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: