- From: Hakon Lie <howcome@w3.org>
- Date: Mon, 22 Dec 1997 21:56:57 +0100 (MET)
- To: Jon Gunderson <jongund@staff.uiuc.edu>
- Cc: WAI HC Working Group <w3c-wai-hc@w3.org>
Jon, > 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? No. In CSS1, the inherited value is only used if no declarations apply to the element/property combination -- i.e. only as a last resort. However, the proposed CSS2 "inherit" value on all properties will make it possible to strengthen the inherited value: BODY { color: red } H1 { color: inherit ! accessibility } The last rule will ensure the color of the H1 element is the same as its parent. Regards, -h&kon H å k o n W i u m L i e howcome@w3.org http://www.w3.org/people/howcome World W i d e Web Consortium
Received on Monday, 22 December 1997 15:57:19 UTC