W3C home > Mailing lists > Public > www-style@w3.org > April 2004

[css-forms] Some thoughts

From: Anne van Kesteren (fora) <fora@annevankesteren.nl>
Date: Fri, 09 Apr 2004 12:50:10 +0200
Message-ID: <40767FE2.1090705@annevankesteren.nl>
To: www-style@w3.org

For some time now, I have been thinking about a CSS specification which 
defines exactly what is and what isn't allowed when someone wants to 
style web forms.

This specification would build on the CSS3 Basic User Interface Module 
[1], especially, the 'appearance' property. For every value of that 
property which is related to forms could be specified what properties 
apply and how they would affect the element.

For example, how can one style:

   <input type="checkbox" name="test">

Besides specifying this, the specification needs to introduce some new 
pseudo-elements, which could look like: '::button', '::input'. These 
would be useful for styling this element:

   <input type="file" name="test">

Most user agents render the above element as two "boxes", a button and 
input field. To style both independently, pseuo-elements are needed.

Another model that could be defined is the behavior of the SELECT element.

[1] <http://www.w3.org/TR/2003/WD-css3-ui-20030703/>


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Friday, 9 April 2004 06:51:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:28 GMT