Re: Parsing of HTML fragments

Marco Von Ballmoos wrote:
> 
> On Apr 25, 2007, at 01:44, Preston L. Bannister wrote:
> 
>> Presentation could be different, but presentation should be controlled 
>> by the parent document.
> 
> Then individual newsfeed items can't use CSS? That's not really 
> acceptable, in that a feed should be able to indicate its preference for 
> how it should be displayed (as with any other document). Should there be 
> some way of specifying an "island" of content within an HTML document in 
> which certain CSS is applied? Outside of the is island are certain CSS 
> rules, but within the island, the embedded HTML fragment can include its 
> own styles and style sheets.

The WHATWG proposal includes a mechanism for this:
http://www.whatwg.org/specs/web-apps/current-work/#scoped

-- 
"Eternity's a terrible thought. I mean, where's it all going to end?"
  -- Tom Stoppard, Rosencrantz and Guildenstern are Dead

Received on Wednesday, 25 April 2007 18:47:32 UTC