Re: feedback on PR-CSS1

On Nov 16, 12:57pm, William I. Johnston wrote:

> Nowhere in the proposed recommendation do you truly define what
> a "parent" element is. Is this something we are supposed to know
> from the HTML spec?

Pretty much.

> For example, what is the "parent" element of
> a paragraph?

Depends. For example:

<!doctype foohtml><head><title>One</title></head>
<body><p>Hello</p></body></html>

The parent of the P is body, (and the parent of body is html).

<!doctype foohtml><head><title>Two</title></head>
<body><ul><li><p>Hello</p></li></ul></body></html>

The parent of p is li, the parent of li is ul, the parent of ul is body
and the parent of body is html.

Does that help?

-- 
Chris Lilley, W3C                          [ http://www.w3.org/ ]
Graphics and Fonts Guy            The World Wide Web Consortium
http://www.w3.org/people/chris/              INRIA,  Projet W3C
chris@w3.org                       2004 Rt des Lucioles / BP 93
+33 (0)4 93 65 79 87       06902 Sophia Antipolis Cedex, France

Received on Monday, 18 November 1996 10:14:19 UTC