Skip to content

Commit

Permalink
[giow] (1) Make sure <style> does nothing when there's no browsing co…
Browse files Browse the repository at this point in the history
…ntext.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=26144
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8729 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 28, 2014
1 parent c1f5393 commit 2651c47
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion complete.html
Expand Up @@ -10071,7 +10071,9 @@ <h4 id=the-style-element>4.2.6 The <dfn><code>style</code></dfn> element</h4>



<p>Whenever one of the following conditions occur:</p>

<p>Whenever one of the following conditions occur for an element whose <code id=the-style-element:document-2><a href=#document>Document</a></code> is in
a <a href=#browsing-context id=the-style-element:browsing-context>browsing context</a>:</p>

<ul><li>the element is popped off the <a href=#stack-of-open-elements id=the-style-element:stack-of-open-elements>stack of open elements</a> of an <a href=#html-parser id=the-style-element:html-parser>HTML
parser</a> or <a href=#xml-parser id=the-style-element:xml-parser>XML parser</a>,
Expand Down
4 changes: 3 additions & 1 deletion index
Expand Up @@ -10071,7 +10071,9 @@ c-end = "-->"</pre>



<p>Whenever one of the following conditions occur:</p>

<p>Whenever one of the following conditions occur for an element whose <code id=the-style-element:document-2><a href=#document>Document</a></code> is in
a <a href=#browsing-context id=the-style-element:browsing-context>browsing context</a>:</p>

<ul><li>the element is popped off the <a href=#stack-of-open-elements id=the-style-element:stack-of-open-elements>stack of open elements</a> of an <a href=#html-parser id=the-style-element:html-parser>HTML
parser</a> or <a href=#xml-parser id=the-style-element:xml-parser>XML parser</a>,
Expand Down
5 changes: 4 additions & 1 deletion source
Expand Up @@ -14772,7 +14772,10 @@ c-end = "-->"</pre>

<div w-nodev>

<p>Whenever one of the following conditions occur:</p>
<!--CLEANUP--><!-- consider moving the trailing <p> into the leading <p> and making the list be its
own thing rather than part of the extended sentence -->
<p>Whenever one of the following conditions occur for an element whose <code>Document</code> is in
a <span>browsing context</span>:</p>

<ul>

Expand Down

0 comments on commit 2651c47

Please sign in to comment.