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

[whatwg] native styling for search input boxes

From: Nils Dagsson Moskopp <nils-dagsson-moskopp@dieweltistgarnichtso.net>
Date: Wed, 01 Oct 2008 19:14:33 +0200
Message-ID: <1222881273.25022.21.camel@dell.linuxdev.us.dell.com>
Am Mittwoch, den 01.10.2008, 09:58 -0700 schrieb Maciej Stachowiak:
> On Oct 1, 2008, at 12:31 AM, Nils Dagsson Moskopp wrote:
> > the look of the input field could be styled just by a value of  
> > "search"
> > for the CSS "appearance". that would have to go through CSS3 WG, but
> > would probabvy be the cleanest approach.
> >
> > http://www.w3.org/TR/css3-ui/#system
> >
> > (i hope this puts an end to input styling discussions)
> The status of being a search field is semantic, not just  
> presentational.
100% agree. But the status of /looking like an OS native widget/ is
purely presentational and CSS 3 has a fitting property for that.
Semantics and presentation can and IMO should be decoupled.

> User agents and assistive technologies could use the  
> knowledge that a field is a search field in all sorts of helpful ways.
What exactly were you imagining ? In the end, it's a text field like any

> Indeed, the semantics would be useful even without the special  
> presentation, but the special presentation gives authors an extra  
> incentive to get it right.
If "giving authors in extra incentive to get it right" was the scope of
any spec discussed here, SGML serializations would not exist and
validators would give out free candy.


Received on Wednesday, 1 October 2008 10:14:33 UTC

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