W3C home > Mailing lists > Public > www-html@w3.org > February 2006

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:05 GMT