Inclusion elements' style and the included content

Dosuchin wrote to <mailto:www-html@w3.org> in "Re: [xframes] Remarks" 
(<mid:72ab364a04100407483f096e20@mail.gmail.com>):

> 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