Closed Bug 576425 Opened 14 years ago Closed 14 years ago

textbox caret initially the size of textbox with padding, not line height

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b8
Tracking Status
blocking2.0 --- final+

People

(Reporter: aharon, Assigned: ehsan.akhgari)

References

Details

(Whiteboard: [fixed by bug 389321])

Attachments

(1 file, 1 obsolete file)

263 bytes, text/html
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.86 Safari/533.4 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 A textbox with a fixed height and padding will have the initial cursor (when there is not text and it's first clicked) the full size of the textbox. Reproducible: Always Steps to Reproduce: 1. Create an HTML document with in it <input type="text" style="height: 300px; padding: 100px" /> 2. Click in the textbox. 3. Observe the large cursor. Now type, see it go away. Actual Results: I saw a large blinking cursor and then it go away when starting to type. Expected Results: There should be a cursor based on the line-height of the text—as occurs when text is in the box.
Version: unspecified → 3.6 Branch
IN FACT, no padding is required. <input type="text" style="height: 300px" /> works just as well.
Just tested and it's still showing this issue in 3.6.10 on both Mac and Windows.
Attached file sample (obsolete) —
This bug causes a big caret in Panorama Search Box.
Blocks: 597043
Status: UNCONFIRMED → NEW
blocking2.0: --- → ?
Ever confirmed: true
OS: Mac OS X → All
Hardware: x86 → All
Summary: textbox cursor initially the size of textbox with padding, not line height → textbox caret initially the size of textbox with padding, not line height
Component: General → Editor
Product: Firefox → Core
QA Contact: general → editor
Target Milestone: --- → mozilla2.0
Version: 3.6 Branch → unspecified
Attached file sample
Attachment #483735 - Attachment is obsolete: true
I hope the patches in bug 389321 fix this.
Assignee: nobody → ehsan
blocking2.0: ? → final+
Depends on: 389321
Status: NEW → ASSIGNED
Whiteboard: [will be fixed by bug 389321]
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [will be fixed by bug 389321] → [fixed by bug 389321]
Target Milestone: mozilla2.0 → mozilla2.0b8
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: