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

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