Closed Bug 1390860 Opened 7 years ago Closed 7 years ago

form input placeholder text renders above the cursor

Categories

(Core :: Layout: Form Controls, defect)

54 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1326900

People

(Reporter: stephen.cunliffe, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID: 20170628075643

Steps to reproduce:

Rendered a web page (private enterprise web app) with a placeholder attribute set on an html input field, e.g. <input type="text" placeholder="example.johnsmith"/>




Actual results:

due to my field size (and text-align:center), the cursor lands on the "J" character, but instead of rendering on top of the placeholder text (e.g. it should behave like a watermark), the cursor blinks underneath the placeholder text.


Expected results:

the placeholder text should render on top of the background color/image, but below the cursor/caret as the cursor should be the top most z-indexed sub element of an input field
Simple test case exhibiting the bug (the styles are ugly but are meant to make the rendering bug clear :-)
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 7 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: