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

[whatwg] native styling for search input boxes

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Thu, 2 Oct 2008 11:34:02 +0200
Message-ID: <8119A86C80E143E29C1C6EFDB4FA9B78@POCZTOWIEC>
This amounts to saying that while it is not clear that Safari will actually
benefit from this innovation, other browsers probably can, albeit in a
limited way.  Good point.
Chris

-----Original Message-----
From: Benjamin Hawkes-Lewis [mailto:bhawkeslewis@googlemail.com] 
Sent: Thursday, October 02, 2008 11:29 AM
To: Kristof Zelechovski
Cc: 'Maciej Stachowiak'; 'Nils Dagsson Moskopp'; 'whatwg'
Subject: Re: [whatwg] native styling for search input boxes

Kristof Zelechovski wrote:
> I hoped to see an example of an actual semantic improvement of introducing
> INPUT[type=SEARCH].  Maciej described a conceptual improvement for the
ideal
> world; in the real world, the developers will have to use the heuristics
> anyway because there are search fields in the wild not marked as such and
> most of them will remain that way of course.

If HTML5 assumes user agents should rely on heuristics to detect Search 
fields, it should specify those heuristics (rather than forcing 
user-agents to reverse engineer them). Do you have an algorithm you 
would like to propose?

When it triggers a different interface and functionality in popular 
browsers, explicit markup is unlikely to be accidental and relying on 
explicit markup is preferable to heuristics alone. Hence the existence 
of semantic markup (heading elements, microformats, etc.).

--
Benjamin Hawkes-Lewis
Received on Thursday, 2 October 2008 02:34:02 UTC

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