W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2011

[whatwg] Why is @scoped required for <style> as flow content?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 27 Mar 2011 14:30:52 -0400
Message-ID: <4D8F825C.50700@mit.edu>
On 3/27/11 3:21 AM, Jukka K. Korpela wrote:
> It is a rather common setup in websites that offer the public an
> opportunity to publish for free. I've been told eBay is an example of
> that: you can only affect some parts of the <body>.

If you can only affect _some_ parts of the <body> you should in fact be 
using <style scoped>, no?

The use case for unscoped <style> outside <head> is if you have full 
control over the <body> but no control over <head>.

-Boris
Received on Sunday, 27 March 2011 11:30:52 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:31 UTC