Re: Unscoped <style> found outside the <head>

Would this also work for 'river of news' style readers, for example
Google Reader, which do not reload the whole page? Without 'globally
unique scoping' I imagine that scope collisions would arise
frequently, possibly implying a considerable 'scope management tax'.

Alan

On 5/27/07, David Hyatt <hyatt@apple.com> wrote:
> <style scoped> would handle this use case.  A feed aggregator that
> did the stitching together of multiple feeds would want to add the
> scoped attribute if missing to any <style> elements from individual
> feed fragments anyway (to avoid style collisions between different
> feeds).
>
> The "stitching together" use case is where scoped style really
> shines.  I am proposing that <style scoped> would still be conformant
> if used outside the <head>, but that an unscoped <style> would not
> (because of its dangerous property of applying to the entire page
> content, which is virtually never what the author actually intended).
>
> dave
>
> On May 27, 2007, at 1:23 AM, Alan Dean wrote:
>
> > Dave,
> >
> > If I understand the nature of the markup constraint that you request,
> > would this not make html5 fragments much harder to work with, in the
> > context of RSS / Atom / etc feeds? The author does not control the
> > <head> element in that case, and so would be unable to apply any
> > inline styling to 'html5 conforming' fragments. Or am I missing
> > something?
> >
> > Regards,
> > Alan Dean
> > http://thoughtpad.net/alan-dean
>
>

Received on Sunday, 27 May 2007 09:03:03 UTC