Bug 74252 - partial implementation of <datalist> breaks feature detection
Summary: partial implementation of <datalist> breaks feature detection
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-12-10 19:49 PST by Paul Irish
Modified: 2012-05-18 00:53 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Irish 2011-12-10 19:49:23 PST
the webkit impl of <datalist> is not complete. ( see test page:  http://miketaylr.com/test/datalist.html )

Meanwhile a few common feature detects pass:

    'options' in document.createElement('datalist') // true
   'list' in document.createElement('input') // true

Luckily window.HTMLDataListElement is still not defined

This only seems to affect the Safari port; Chromium is not affected.

These passing feature detects make it tricky to test support, so people are using UA sniffing: http://css-tricks.com/15346-relevant-dropdowns-polyfill-for-datalist/ (see "browser version numbers")

Could the two above false positives be removed in the meantime while this feature is underway (bug 27247)?
Comment 1 Radar WebKit Bug Importer 2011-12-12 15:29:37 PST
<rdar://problem/10568229>
Comment 2 Keishi Hattori 2012-04-11 19:31:28 PDT
I disabled the <datalist> element for all ports without UI in Bug 82871.
Comment 3 Paul Irish 2012-04-17 09:40:54 PDT
Thank you!