W3C home > Mailing lists > Public > www-html@w3.org > October 2004

Inclusion elements' style and the included content

From: Etan Wexler <ewexler@stickdog.com>
Date: Mon, 04 Oct 2004 23:34:08 +0000
To: www-html@w3.org
Message-Id: <91714691-165D-11D9-94E9-000502CB1B77@stickdog.com>

Dosuchin wrote to <mailto:www-html@w3.org> in "Re: [xframes] Remarks" 

> For example:
> <frame source="http://www.google.com" style="color: #f0f;
> background-color: #000;">
> would make Google's page change!

When Cascading Style Sheets (CSS) style an inclusion element (like a 
'frame', 'object', or 'img' element), the included content must not 
inherit the style of the inclusion element. Thus a CSS 'color' value on 
a 'frame' element must have no effect on the document in the frame.

I stop short of saying that an inclusion element's style must not 
affect the included content. For example, if included content has a 
non-opaque background and the inclusion element has a visible 
background, the latter should show through the former.

Etan Wexler.
Received on Tuesday, 5 October 2004 00:54:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:09 UTC