Skip to content
Permalink
Browse files

[giow] (3) Changes to a CSS style sheet take effect immediately

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

git-svn-id: https://svn.whatwg.org/webapps@8838 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 14, 2014
1 parent 0311892 commit 24356c2d272ea1ea8e89549bc8b4714ddcd7aa11
Showing with 7 additions and 7 deletions.
  1. +3 −3 complete.html
  2. +3 −3 index
  3. +1 −1 source

</ul>

<p>...the user agent must <a href=#queue-a-task id=the-style-element:queue-a-task>queue a task</a> to invoke the <dfn id=update-a-style-block>update a <code>style</code>
<p>...the user agent must run the <dfn id=update-a-style-block>update a <code>style</code>
block</dfn> algorithm that applies for the style sheet language specified by the element's <code id=the-style-element:attr-style-type-4><a href=#attr-style-type>type</a></code> attribute, passing it the element's <dfn id=style-data>style
data</dfn>.</p>

<p>Once the attempts to obtain the style sheet's <a href=#critical-subresources id=the-style-element:critical-subresources>critical subresources</a>, if any, are
complete, or, if the style sheet has no <a href=#critical-subresources id=the-style-element:critical-subresources-2>critical subresources</a>, once the style sheet
has been parsed and processed, the user agent must, if the loads were successful or there were
none, <a href=#queue-a-task id=the-style-element:queue-a-task-2>queue a task</a> to <a href=#fire-a-simple-event id=the-style-element:fire-a-simple-event>fire a simple event</a> named <code id=the-style-element:event-load><a href=#event-load>load</a></code> at the <code id=the-style-element:the-style-element-21><a href=#the-style-element>style</a></code> element, or, if one of the style sheet's
none, <a href=#queue-a-task id=the-style-element:queue-a-task>queue a task</a> to <a href=#fire-a-simple-event id=the-style-element:fire-a-simple-event>fire a simple event</a> named <code id=the-style-element:event-load><a href=#event-load>load</a></code> at the <code id=the-style-element:the-style-element-21><a href=#the-style-element>style</a></code> element, or, if one of the style sheet's
<a href=#critical-subresources id=the-style-element:critical-subresources-3>critical subresources</a> failed to completely load for any reason (e.g. DNS error, HTTP
404 response, a connection being prematurely closed, unsupported Content-Type), <a href=#queue-a-task id=the-style-element:queue-a-task-3>queue a
404 response, a connection being prematurely closed, unsupported Content-Type), <a href=#queue-a-task id=the-style-element:queue-a-task-2>queue a
task</a> to <a href=#fire-a-simple-event id=the-style-element:fire-a-simple-event-2>fire a simple event</a> named <code id=the-style-element:event-error><a href=#event-error>error</a></code> at
the <code id=the-style-element:the-style-element-22><a href=#the-style-element>style</a></code> element. Non-network errors in processing the style sheet or its
subresources (e.g. CSS parse errors, PNG decoding errors) are not failures for the purposes of
6 index

</ul>

<p>...the user agent must <a href=#queue-a-task id=the-style-element:queue-a-task>queue a task</a> to invoke the <dfn id=update-a-style-block>update a <code>style</code>
<p>...the user agent must run the <dfn id=update-a-style-block>update a <code>style</code>
block</dfn> algorithm that applies for the style sheet language specified by the element's <code id=the-style-element:attr-style-type-4><a href=#attr-style-type>type</a></code> attribute, passing it the element's <dfn id=style-data>style
data</dfn>.</p>

<p>Once the attempts to obtain the style sheet's <a href=#critical-subresources id=the-style-element:critical-subresources>critical subresources</a>, if any, are
complete, or, if the style sheet has no <a href=#critical-subresources id=the-style-element:critical-subresources-2>critical subresources</a>, once the style sheet
has been parsed and processed, the user agent must, if the loads were successful or there were
none, <a href=#queue-a-task id=the-style-element:queue-a-task-2>queue a task</a> to <a href=#fire-a-simple-event id=the-style-element:fire-a-simple-event>fire a simple event</a> named <code id=the-style-element:event-load><a href=#event-load>load</a></code> at the <code id=the-style-element:the-style-element-21><a href=#the-style-element>style</a></code> element, or, if one of the style sheet's
none, <a href=#queue-a-task id=the-style-element:queue-a-task>queue a task</a> to <a href=#fire-a-simple-event id=the-style-element:fire-a-simple-event>fire a simple event</a> named <code id=the-style-element:event-load><a href=#event-load>load</a></code> at the <code id=the-style-element:the-style-element-21><a href=#the-style-element>style</a></code> element, or, if one of the style sheet's
<a href=#critical-subresources id=the-style-element:critical-subresources-3>critical subresources</a> failed to completely load for any reason (e.g. DNS error, HTTP
404 response, a connection being prematurely closed, unsupported Content-Type), <a href=#queue-a-task id=the-style-element:queue-a-task-3>queue a
404 response, a connection being prematurely closed, unsupported Content-Type), <a href=#queue-a-task id=the-style-element:queue-a-task-2>queue a
task</a> to <a href=#fire-a-simple-event id=the-style-element:fire-a-simple-event-2>fire a simple event</a> named <code id=the-style-element:event-error><a href=#event-error>error</a></code> at
the <code id=the-style-element:the-style-element-22><a href=#the-style-element>style</a></code> element. Non-network errors in processing the style sheet or its
subresources (e.g. CSS parse errors, PNG decoding errors) are not failures for the purposes of
2 source

</ul>

<p>...the user agent must <span>queue a task</span> to invoke the <dfn>update a <code>style</code>
<p>...the user agent must run the <dfn>update a <code>style</code>
block</dfn> algorithm that applies for the style sheet language specified by the element's <code
data-x="attr-style-type">type</code> attribute, passing it the element's <dfn>style
data</dfn>.</p>

0 comments on commit 24356c2

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