Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: XHTML 2.0 - <object/> elements and CSS

From: Daniel Schierbeck <daniel.schierbeck@gmail.com>
Date: Fri, 24 Feb 2006 14:37:22 +0100
Message-ID: <43FF0C12.7080602@gmail.com>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
CC: www-html@w3.org

Lachlan Hunt wrote:
> Daniel Schierbeck wrote:
>>
>> Say I have the following piece of XHTML
>>
>>  <object srctype="image/svg+xml" src="graph.svg">
>>    <table>
>>      <thead>...</thead>
>>      <tbody>...</thead>
>>    </table>
>>  </object>
>>
>> And that graph.svg is an interactive image that isn't fit for printing.
>>
>> I know that an XHTML 2.0 compliant browser will simply use the 
>> fallback content (<table/>) if it doesn't recognize the content type 
>> of the source, but how can I do the same through, say, CSS?
>
> This list isn't a help desk, least of all a CSS help desk.  However, I 
> believe this will work like that, if and when it's eventually supported.
>
> @media print {
>   object { content: normal; }
> }
>
> http://www.w3.org/TR/css3-content/#content 
>
Ahh, I see - I asked the question here because I thought that it was an 
important factor for the definition of <object/>, and that an inability 
to control such a thing through CSS would be a weakness for XHTML 2.0. 
Now I see that it's not a problem.


Cheers,
Daniel
Received on Friday, 24 February 2006 13:37:05 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.