Skip to content
Permalink
Browse files

[giow] (0) Define how <style scoped> affects @rules.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11149

git-svn-id: http://svn.whatwg.org/webapps@5781 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Jan 12, 2011
1 parent 7ee91fc commit a496432d51cd0f7c1e9020322f88eb7aeea525cf
Showing with 36 additions and 0 deletions.
  1. +12 −0 complete.html
  2. +12 −0 index
  3. +12 −0 source
(if any), and that element's child nodes. Otherwise, the specified
styles must, if applied, be applied to the entire document.</p>

<p>For scoped CSS resources, the effect of @-rules must be scoped to
the scoped sheet and its subresources, even if the @-rule in
question would ordinarily apply to all style sheets that affect the
<code><a href=#document>Document</a></code>. Any '@page' rules in scoped CSS resources
must be ignored.</p>

<p class=example>For example, an '@font-face' rule defined in a
scoped style sheet would only define the font for the purposes of
font rules in the scoped section; style sheets outside the scoped
section using the same font name would not end up using that
embedded font.</p>

</div>

<p id=title-on-style>The <dfn id=attr-style-title title=attr-style-title><code>title</code></dfn> attribute on
12 index
(if any), and that element's child nodes. Otherwise, the specified
styles must, if applied, be applied to the entire document.</p>

<p>For scoped CSS resources, the effect of @-rules must be scoped to
the scoped sheet and its subresources, even if the @-rule in
question would ordinarily apply to all style sheets that affect the
<code><a href=#document>Document</a></code>. Any '@page' rules in scoped CSS resources
must be ignored.</p>

<p class=example>For example, an '@font-face' rule defined in a
scoped style sheet would only define the font for the purposes of
font rules in the scoped section; style sheets outside the scoped
section using the same font name would not end up using that
embedded font.</p>

</div>

<p id=title-on-style>The <dfn id=attr-style-title title=attr-style-title><code>title</code></dfn> attribute on
12 source
(if any), and that element's child nodes. Otherwise, the specified
styles must, if applied, be applied to the entire document.</p>

<p>For scoped CSS resources, the effect of @-rules must be scoped to
the scoped sheet and its subresources, even if the @-rule in
question would ordinarily apply to all style sheets that affect the
<code>Document</code>. Any '@page' rules in scoped CSS resources
must be ignored.</p>

<p class="example">For example, an '@font-face' rule defined in a
scoped style sheet would only define the font for the purposes of
font rules in the scoped section; style sheets outside the scoped
section using the same font name would not end up using that
embedded font.</p>

</div>

<p id="title-on-style">The <dfn

0 comments on commit a496432

Please sign in to comment.
You can’t perform that action at this time.