Re: user!important

--- Ian Hickson <py8ieh@bath.ac.uk> wrote:
> 
> > If the user adds:
> > * {display:inline ! important; visibility:visible !important}
> 
> ...then he will see all the fields, as he probably intended.
Then he is being foolish and should expect problems - there is a two way
relationship here - the author should make style sheets that don't
conflict and the user should make style sheets that don't cause problems.
> > Any scripts that perform validation are suddenly no longer able to
> > rely on the fact that elements are only displayed when appropriate.
> 
> Client-side scripts should not be used for validation. >
Not strictly true IMO - you should use them to filter out the 'no
brainers', but some data require additional server-side validation.
 
> If a page relies on stylesheets and/or scripting to be usable, then it
> is clearly not using techniques for graceful degradation. 
Indeed. However, a graceful page can use style sheets if it works without
them; if it does, it has the right to rely on the user not being stupid.


=====
----------------------------------------------------------
From Matthew Brealey (http://members.tripod.co.uk/lawnet (for law)or http://members.tripod.co.uk/lawnet/WEBFRAME.HTM (for CSS))
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Received on Monday, 24 January 2000 06:10:25 UTC