W3C home > Mailing lists > Public > w3c-wai-hc@w3.org > October to December 1997

Re: CSS 2: priorities in cascading order

From: Jon Gunderson <jongund@staff.uiuc.edu>
Date: Mon, 22 Dec 1997 09:28:47 -0600
Message-Id: <3.0.3.32.19971222092847.00a0f1b0@staff.uiuc.edu>
To: WAI HC Working Group <w3c-wai-hc@w3.org>
At 12:15 PM 12/22/97 +1100, Jason White wrote:
>For the sake of clarity, I shall illustrate my proposal with an example.
>Given the following user style:
>
>li { color: red ! required }
>
>and an author's style which provides as follows:
>
>ol li.abc { color: blue ! important }
>
>then if there is an ordered list in the document such as:
>
><ol> <li class="abc"> This is the first and only item in an ordered list.
></ol>
>
>the above item will be coloured red, despite the author's declaration.
>This is a result of the stipulation, set forth in my previous message,
>that the "required" key word should give the user's rule priority over all
>of the author's rules, regardless of the specificity of the latter.
>Furthermore, as this example makes clear, "required" rules have priority
>over the author's "important" rules.
>
>
JRG: What about children and sub classing if you but !required in the BASE
selector would any child of BASE then retain the required attribute.  If
you put in a !required in the H1 selector, would any child of H1 also be
forced to use the required selector?
Jon

Jon Gunderson, Ph.D., ATP
Coordinator of Assistive Communication and Information Technology
Division of Rehabilitation - Education Services
University of Illinois at Urbana/Champaign
1207 S. Oak Street
Champaign, IL 61820

Voice: 217-244-5870
Fax: 217-333-0248
E-mail: jongund@uiuc.edu
WWW:	http://www.staff.uiuc.edu/~jongund
	http://www.als.uiuc.edu/InfoTechAccess
Received on Monday, 22 December 1997 10:29:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:56:12 UTC