Open Bug 774726 Opened 12 years ago Updated 2 years ago

text-overflow renders wrong on input html elements

Categories

(Core :: Layout: Text and Fonts, defect)

defect

Tracking

()

People

(Reporter: public, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: testcase)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/16.0 Firefox/16.0 Build ID: 20120716040203 Steps to reproduce: apply text-overflow: ellipsis on an input field Actual results: renders ellipsis (…) right aligned to input box, instead of left aligned at text clip position. this results in an ugly space between last letter and the ellipsis test case: <!DOCTYPE html> <html> <head/> <body> what happens: <input style="width: 52px; text-overflow: ellipsis; overflow: hidden; background: cyan; border: none; font-size: 14px; font-family: serif;" value="Loremipsum"/> what should happen: <div style="width: 52px; text-overflow: ellipsis; overflow: hidden; background: cyan;">Loremipsum</div> </body> </html>
this cant be corrected with setting all css properties (like f.i. -moz-appearance) on the input element to the same value as the div element
related to #668240
See Also: → 668240
Confirmed with Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0 ID:20120720030549
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
OS: Mac OS X → All
Hardware: x86 → All
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: