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

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

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Mon, 28 Mar 2011 13:12:20 +0200
Message-ID: <83EFBD0E-C176-49C1-BC43-686950D4ADAC@crissov.de>
Jukka K. Korpela:

> Yet another reason for dropping <style scoped> in favor of an attribute referring to an external stylesheet.

I?m not sure which of these I would hate the least:

  <blockquote stylesheet="external.css">?

  <blockquote style="@import external.css;">?

  <blockquote><style scoped src="external.css" />?

  <blockquote><style scoped>@import external.css;</style>?

  <blockquote><link rel=stylesheet href="external.css" />?

They are all better, though, than this:

  <blockquote><style scoped>copy: paste; a: lot;</style>?
Received on Monday, 28 March 2011 04:12:20 UTC

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