Open Bug 1106946 Opened 10 years ago Updated 1 years ago

datalist options should not be truncated to the width of the input

Categories

(Core :: Layout: Form Controls, defect)

x86_64
Windows 7
defect

Tracking

()

People

(Reporter: matt, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: parity-chrome, parity-ie, testcase)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0 Build ID: 20141011015303 Steps to reproduce: See http://jsfiddle.net/stowball/b6axugr1/ Which is essentially this: <input type="text" list="list" style="width: 90px;" /> <datalist id="list"> <option>A normal length</option> <option>An even longer length</option> <option>A ridiculously large length muahahaha</option> </datalist> Actual results: When you type, the options popup length is restricted to the width of the input and long options have an ellipsis. This makes searching for longer names much harder. Expected results: The option widths should not be truncated (to match Chrome & IE), and to match the behaviour of select options.
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Version: 33 Branch → Trunk
Whiteboard: [parity-Chrome][parity-IE]
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Summary: datalist options are annoyingly truncated to the width of the input → datalist options should not be truncated to the width of the input
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Whiteboard: [parity-Chrome][parity-IE]

This is big problem when the input design must be limited width but the datalist should display longer text than the input itself.

In GoogleChrome, it can display the datalist longer and very beautiful.

Blocks: input-list
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: