W3C home > Mailing lists > Public > www-style@w3.org > August 1998

RE: OBJECT, inheritance, and rendering

From: Braden N. McDaniel <braden@shadow.net>
Date: Sat, 1 Aug 1998 19:24:41 -0700
To: "'David Perrell'" <davidp@earthlink.net>, "'HTML'" <www-html@w3.org>, "'Style'" <www-style@w3.org>
Message-ID: <000101bdbdbc$b50fe120$7422dbd0@bonezero>
> -----Original Message-----
> From: www-html-request@w3.org
> [mailto:www-html-request@w3.org]On Behalf
> Of David Perrell
> Sent: Saturday, August 01, 1998 1:30 PM
> To: 'HTML'; 'Style'
> Subject: Re: OBJECT, inheritance, and rendering

> A viewport is typically a window in a windowing UI.
> Properties of subwindows
> are typically consistent for similar content. I agree this
> should be noted
> in the CSS spec, where I can find no mention of nested
> viewports/subwindows
> required for rendering embedded HTML as an independent document.


> >From section 13.5 of the HTML 4.0 recommendation*: "An
> embedded document is
> entirely independent of the document in which it is embedded.
> For instance,
> relative URLs within the embedded document resolve according
> to the base URL
> of the embedded document, not that of the main document.
> Also, an embedded
> document does not inherit style information from the main document. An
> embedded document is only rendered within another document (e.g., in a
> subwindow); it remains otherwise independent."
> If the embedded document is entirely independent, its
> background should not
> be affected by the embedding document's stylesheet.

I suppose you're right. If we accept that there is an implementation-defined
base background for the viewport per the CSS2 spec (which seems to be the
case), *and* that the embedded document has its own viewport (which seems to
be the implication of the wording in section 13.5 of the HTML4 spec, when
relating it to the CSS2 spec), then I agree with your conclusion: that the
default background of the included document should be the
implementation-defined base background.

Thanks for helping me sort this out. I'm inclined to think the situation
could be made a bit clearer if explicit mention were given in the CSS spec
to the existence of an implementation-defined base background, in addition
to the clarifications you mention.

> * <http://www.w3.org/TR/PR-html40/struct/objects.html#include-files>

Note: That URL refers to the Proposed Recommendation. The matching section
in the Recommendation can be found here:


I still perceive the problem I mentioned with monochromatic inclusions (such
as text files). Section 13.5 of the HTML spec appears to speak only to the
inclusion of other HTML files. Besides, I maintain that it would be a Good
Idea to treat monochromatic inclusions uniformly where color is concerned.

Received on Saturday, 1 August 1998 22:17:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:48 UTC