[Prev][Next][Index][Thread]

Re: !important ( was Re: Issue 1: Font-weight and headings)



   Date: Mon, 28 Jul 1997 17:01:41 +0200 (MET)
   From: Chris Lilley <Chris.Lilley@sophia.inria.fr>

   What do people think about allowing !important in an author stylesheet. I
   haven't seen it used except in test cases (but that could be because of
   lack of support in the implementations).

   For example, one suggestion (made on accessibility grounds) is to not allow
   !important in author stylesheets. Or, to have a !essential or somesuch
   which was only allowed in reader stylesheets.

I'm quite likely to arrange for !important declarations in reader style
sheets in GNU E-scpae to take precedence over !important declarations
in author style sheets.  I haven't yet decided whether this will be handled
by ignoring the !important attribute on author style sheets, or by
swapping the prioirties of user vs author style sheets for !important,
or making it user-configurable, or what.

So, I'd be interested in hearing any arguements on which particular
technique is best.

(I don't think I could claim to be faithfully implementing the spec if
I do anything like this; but GNU hackers have a long tradition of ignoring
POSIX where they consider it brain-dead.)


Follow-Ups: References: