W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2008

[whatwg] Safari-compatible <input type="search">

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Tue, 30 Sep 2008 23:55:22 +0200
Message-ID: <BCB2C763-950B-4BBB-86BB-0A045CDDD6B2@crissov.de>
Andy Lyttle:

> results - if present, shows a little magnifying glass icon, which  
> helps to visually identify the field as a search box

The magnifying glass was a particularly poor choice by Apple[1],  
because icons featuring one usually represent zooming (in).  
Binoculars are (for some reason) more common as symbols for searches.  
Eyes and spectacles OTOH most often represent visibility.

Anyhow, the appearance of this or other types of |input| should not  
be specified by HTML5 / WF2+.

> results=10 - the magnifying glass functions as a drop-down menu  
> containing a history of the last (whatever number) search terms

I'm not sure, but I think it would be a first to have a "binary  
attribute" that is overloaded to alternatively also accept an integer  
as its value. Therefore

   <input type=search results>

would have to be equivalent to

   <input type=search results=0>

and not

   <input type=search results=results>

which looks wrong, because you would at least expect it to mean

   <input type=search results=1>.


[1] I could name a number of other poorly chosen Apple icons, but  
their fault usually is cultural bias or disharmony within a set.
Received on Tuesday, 30 September 2008 14:55:22 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:05 UTC