W3C home > Mailing lists > Public > www-style@w3.org > April 2002

Seeking clarification of CSS2 section 6.1.1

From: <Art.Barstow@nokia.com>
Date: Mon, 1 Apr 2002 07:43:07 -0500
Message-ID: <5C76D29CD0FA3143896D08BB1743296A2BB03E@bsebe001.NOE.Nokia.com>
To: <www-style@w3.org>
In section 6.1.1 of the CSS2 spec, item #2 says:

2. Otherwise, if the property is inherited, use the value of the 
 parent element, generally the computed value

Does "inherited" in this context mean:

1. the property was defined with Inherited:yes [only]
2. the property's value is 'inherit' [only]
3. 1 or 2  [the 'and' case seems unlikely]
4. something else?

When I load the CSS/HTML code below, some browsers seem to have 
implemented interpretation #1 above and other browsers seem to have
implemented interpretation #2.

Any clarification or pointers will be appreciated.


Art Barstow

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
 <title>CSS test ...</title>
 <style type="text/css">
   body { border-style: double;  }
   ul   { border-style: inherit; }

  <li>First ... </li>
  <li>Second ...</li>

Received on Monday, 1 April 2002 07:44:17 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:01 UTC