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

RE: Dealing with form elements...

From: Chris Wilson (PSD) <cwilso@MICROSOFT.com>
Date: Tue, 4 Feb 1997 11:42:54 -0800
Message-ID: <c=US%a=_%p=msft%l=RED-76-MSG-970204194254Z-77585@INET-04-IMC.microsoft.com>
To: "'wmperry@aventail.com'" <wmperry@aventail.com>
Cc: "'W3C Style Mailing List'" <www-style@w3.org>, "'Hakon Lie'" <howcome@w3.org>, "'Bert Bos'" <Bert.Bos@mygale.inria.fr>
I don't see exactly why this is beyond the realm of CSS (obviously
beyond CSS1, but not necessarily CSS2, e.g.).  It's purely a declarative
mechanism, and pretty easy to drop into both the syntax and (in our case
at least) the implementation.  Forcing DSSSL on content authors and Web
tool implementers who are resistant even to the simplicity of CSS is
just probably not going to work.

	-Chris
Chris Wilson
cwilso@microsoft.com
-[-

>-----Original Message-----
>From:	William M. Perry [SMTP:wmperry@aventail.com]
>Sent:	Tuesday, February 04, 1997 11:31 AM
>To:	Chris Wilson (PSD)
>Cc:	'wmperry@aventail.com'; 'W3C Style Mailing List'; 'Hakon Lie'; 'Bert Bos'
>Subject:	RE: Dealing with form elements...
>
>Chris Wilson writes:
>>Ick ick ick ick!  Let's not hack a one-off solution to this; why don't
>>we go with the long-ago proposed arbitrary-attribute mechanism, so you
>>could do something like:
>>
>>INPUT[TYPE=SUBMIT] { color: green; text-decoration: none; }
>>INPUT[TYPE=RESET] { color: red;   text-decoration: none; }
>>INPUT[TYPE=IMAGE] { vertical-align: blah; text-decoration: none; }
>>INPUT        { text-decoration: underline; }
>>
>>obviously, this can go much further:
>>UL[TYPE=COMPACT] { ... }
>>or even
>>A[HREF] { ... }	/* any source anchor */
>>[HREF] { ... }	/* any element with an HREF */
>>
>>I'd sign up to support this.
>
>  As would I, but now you are getting beyond the realm of CSS1.  Whether or
>not that is a good or bad thing is debatable.  This is why I want to finish
>off the DSSSL support in Emacs-W3 and just start throwing the CSS stuff
>through a little converter. :)
>
>>On a side note, though, there is a problem with describing the difference
>>between the "inside" of an INPUT element and the "outside" - for example,
>>when you set "vertical-align: super" on a text box, do you mean the text
>>box should be superscripted, or the content inside the text box should be?
>>For this, I would propose that a new pseudoclass, ":inside" be added and
>>applied to INPUT elements only.  Comments?
>
>  Sounds like a plan to me.  Not sure if :inside is the best name or not
>though.  Perhaps :content or :value?
>
>-Bill P.
Received on Tuesday, 4 February 1997 14:41:31 GMT

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