W3C home > Mailing lists > Public > www-style@w3.org > July 1997

Re: BUTTON element

From: Lee Daniel Crocker <lcrocker@calweb.com>
Date: Wed, 16 Jul 1997 23:10:52 -0700 (PDT)
Message-Id: <199707170610.XAA22149@web2.calweb.com>
To: walter@natural-innovations.com (Walter Ian Kaye)
Cc: www-html@w3.org, www-style@w3.org
> OK, here's another idea. I use a RAD environment on the Macintosh called
> FaceSpan [1], which has a pictbox property called 'selection style'. The
> property values are as follows:
> 
>    none                 pictbox or cell does not highlight
>    by hilite            white areas of pictbox or cell are overlain
>                         with the System highlight color (from the
>                         Color control panel)
>    by invert            colors of pictbox or cell are inverted
>    by lasso             colors of pictbox or cell are inverted within
>                         contours that exclude the pictbox's fill color
>    by frame             pictbox or cell is surrounded by a frame
>    by sink              pictbox or cell is surrounded by a column of
>                         pixels on the left and one row of pixels on
>                         the top
>    by exchange          a different artwork resource is used for the
>                         highlighted pictbox
> 
> So, how about assigning a selection-style to the <INPUT> element?
> Something like: { selection-style: invert }
> 
> Perhaps selection-style values of:
>       hilite | dim | invert | sink | exchange
> 
> although I'm not sure how exchange would interact with PRESSED attribute.
> 'dim' would simply darken the colors: FF->99, CC->66, 99->33, 66/33/00->00.

Much, much, better than that hideous, incompatible BUTTON tag.  If one
absolutely /has/ to break compatibility for a feature, that's fine, but
this is not anywhere near such a case: <INPUT> works just fine, and its
display attributes belong in a style sheet--even the X,Y argument is
uncompelling, because they can be ignored easily.
Received on Thursday, 17 July 1997 02:11:01 GMT

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