[html5] r7549 - [giow] (2) Support <link crossorigin>. Affected topics: DOM APIs, HTML

whatwg at whatwg.org whatwg at whatwg.org
Wed Nov 28 16:43:00 PST 2012


Author: ianh
Date: 2012-11-28 16:42:58 -0800 (Wed, 28 Nov 2012)
New Revision: 7549

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Support <link crossorigin>.
Affected topics: DOM APIs, HTML

Modified: complete.html
===================================================================
--- complete.html	2012-11-29 00:23:09 UTC (rev 7548)
+++ complete.html	2012-11-29 00:42:58 UTC (rev 7549)
@@ -14247,6 +14247,7 @@
    <dt><a href=#element-dfn-attributes title=element-dfn-attributes>Content attributes</a>:</dt>
    <dd><a href=#global-attributes>Global attributes</a></dd>
    <dd><code title=attr-link-href><a href=#attr-link-href>href</a></code></dd>
+   <dd><code title=attr-link-crossorigin><a href=#attr-link-crossorigin>crossorigin</a></code></dd>
    <dd><code title=attr-link-rel><a href=#attr-link-rel>rel</a></code></dd>
    <dd><code title=attr-link-media><a href=#attr-link-media>media</a></code></dd>
    <dd><code title=attr-link-hreflang><a href=#attr-link-hreflang>hreflang</a></code></dd>
@@ -14258,6 +14259,7 @@
 <pre class=idl>interface <dfn id=htmllinkelement>HTMLLinkElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
            attribute boolean <a href=#dom-link-disabled title=dom-link-disabled>disabled</a>;
            attribute DOMString <a href=#dom-link-href title=dom-link-href>href</a>;
+           attribute DOMString <a href=#dom-link-crossorigin title=dom-link-crossOrigin>crossOrigin</a>;
            attribute DOMString <a href=#dom-link-rel title=dom-link-rel>rel</a>;
   readonly attribute <a href=#domtokenlist>DOMTokenList</a> <a href=#dom-link-rellist title=dom-link-relList>relList</a>;
            attribute DOMString <a href=#dom-link-media title=dom-link-media>media</a>;
@@ -14329,6 +14331,9 @@
 
   </div>
 
+  <p>The <dfn id=attr-link-crossorigin title=attr-link-crossorigin><code>crossorigin</code></dfn> attribute is a <a href=#cors-settings-attribute>CORS
+  settings attribute</a>. It is intended for use with external resource links.</p>
+
   <p>The exact behavior for links to external resources depends on the
   exact relationship, as defined for the relevant link type. Some of
   the attributes control whether or not the external resource is to be
@@ -14336,10 +14341,10 @@
 
   <div class=impl>
 
-  <p>For external resources that are represented in the
-  DOM (for example, style sheets), the DOM representation must be made
-  available even if the resource is not applied. To <dfn id=concept-link-obtain title=concept-link-obtain>obtain the resource</dfn>, the user
-  agent must run the following steps:</p>
+  <p>For external resources that are represented in the DOM (for example, style sheets), the DOM
+  representation must be made available (modulo cross-origin restrictions) even if the resource is
+  not applied. To <dfn id=concept-link-obtain title=concept-link-obtain>obtain the resource</dfn>, the user agent must
+  run the following steps:</p>
 
   <ol><li><p>If the <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute's
    value is the empty string, then abort these steps.</li>
@@ -14350,9 +14355,18 @@
 
    <li><p>If the previous step fails, then abort these steps.</li>
 
-   <li><p><a href=#fetch>Fetch</a><!--FETCH--> the resulting <a href=#absolute-url>absolute
-   URL</a>.</li> <!-- http-origin privacy sensitive -->
+   <li>
 
+    <p>Do a <a href=#potentially-cors-enabled-fetch>potentially CORS-enabled fetch</a><!--FETCH--> of the resulting <a href=#absolute-url>absolute
+    URL</a>, with the <i>mode</i> being the state of the element's <code title=attr-link-crossorigin><a href=#attr-link-crossorigin>crossorigin</a></code> content attribute, the <i title="">origin</i>
+    being the <a href=#origin>origin</a> of the <code><a href=#the-link-element>link</a></code> element's <code><a href=#document>Document</a></code>, and the
+    <i>default origin behaviour</i> set to <i>taint</i>.</p>
+
+    <p>The resource obtained in this fashion can be either <a href=#cors-same-origin>CORS-same-origin</a> or
+    <a href=#cors-cross-origin>CORS-cross-origin</a>.</p>
+
+   </li>
+
   </ol><p>User agents may opt to only try to obtain such resources when
   they are needed, instead of pro-actively <a href=#fetch title=fetch>fetching</a> all the external resources that are
   not applied.</p>
@@ -14576,6 +14590,10 @@
   <a href=#reflect>reflect</a> the respective content attributes of the same
   name.</p>
 
+  <p>The <dfn id=dom-link-crossorigin title=dom-link-crossOrigin><code>crossOrigin</code></dfn> IDL attribute must
+  <a href=#reflect>reflect</a> the <code title=attr-link-crossorigin><a href=#attr-link-crossorigin>crossorigin</a></code> content
+  attribute.</p>
+
   <p>The IDL attribute <dfn id=dom-link-rellist title=dom-link-rellist><code>relList</code></dfn> <span class=impl>must</span> <a href=#reflect title=reflect>reflect</a> the <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> content attribute.</p>
 
   </div>
@@ -15815,13 +15833,16 @@
 
   <div class=impl>
 
-  <p>For <code><a href=#the-style-element>style</a></code> elements, if the user agent does not
-  support the specified styling language, then the <code title=dom-LinkStyle-sheet><a href=#dom-linkstyle-sheet>sheet</a></code> attribute of the element's
-  <code><a href=#linkstyle>LinkStyle</a></code> interface must return null. Similarly,
-  <code><a href=#the-link-element>link</a></code> elements that do not represent <a href=#link-type-stylesheet title=rel-stylesheet>external resource links that contribute to
-  the styling processing model</a> (i.e. that do not have a <code title=rel-stylesheet><a href=#link-type-stylesheet>stylesheet</a></code> keyword in their <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute), or for which <a href=#the-link-is-an-alternative-stylesheet>the
-  link is an alternative stylesheet</a> but whose <code title=dom-title><a href=#dom-title>title</a></code> content attribute is absent or empty,
-  must have their <code><a href=#linkstyle>LinkStyle</a></code> interface's <code title=dom-LinkStyle-sheet><a href=#dom-linkstyle-sheet>sheet</a></code> attribute return null.</p>
+  <p>For <code><a href=#the-style-element>style</a></code> elements, if the user agent does not support the specified styling
+  language, then the <code title=dom-LinkStyle-sheet><a href=#dom-linkstyle-sheet>sheet</a></code> attribute of the element's
+  <code><a href=#linkstyle>LinkStyle</a></code> interface must return null. Similarly, <code><a href=#the-link-element>link</a></code> elements that do
+  not represent <a href=#link-type-stylesheet title=rel-stylesheet>external resource links that contribute to the styling
+  processing model</a> (i.e. that do not have a <code title=rel-stylesheet><a href=#link-type-stylesheet>stylesheet</a></code>
+  keyword in their <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute), for which <a href=#the-link-is-an-alternative-stylesheet>the link is an
+  alternative stylesheet</a> but whose <code title=dom-title><a href=#dom-title>title</a></code> content attribute is
+  absent or empty, or whose resource is <a href=#cors-cross-origin>CORS-cross-origin</a>, must have their
+  <code><a href=#linkstyle>LinkStyle</a></code> interface's <code title=dom-LinkStyle-sheet><a href=#dom-linkstyle-sheet>sheet</a></code> attribute return
+  null.</p>
 
   <p>Otherwise, the <code><a href=#linkstyle>LinkStyle</a></code> interface's <code title=dom-LinkStyle-sheet><a href=#dom-linkstyle-sheet>sheet</a></code> attribute must return a
   <code><a href=#stylesheet>StyleSheet</a></code> object with the following properties: <a href=#refsCSSOM>[CSSOM]</a></p>
@@ -101145,6 +101166,7 @@
      <td>empty</td>
      <td><a href=#global-attributes title="global attributes">globals</a>;
          <code title=attr-link-href><a href=#attr-link-href>href</a></code>;
+         <code title=attr-link-crossorigin><a href=#attr-link-crossorigin>crossorigin</a></code>;
          <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code>;
          <code title=attr-link-media><a href=#attr-link-media>media</a></code>;
          <code title=attr-link-hreflang><a href=#attr-link-hreflang>hreflang</a></code>;
@@ -101389,10 +101411,11 @@
      <td>script, data, or script documentation*</td>
      <td><a href=#global-attributes title="global attributes">globals</a>;
          <code title=attr-script-src><a href=#attr-script-src>src</a></code>;
+         <code title=attr-script-type><a href=#attr-script-type>type</a></code>;
+         <code title=attr-script-charset><a href=#attr-script-charset>charset</a></code>;
          <code title=attr-script-async><a href=#attr-script-async>async</a></code>;
          <code title=attr-script-defer><a href=#attr-script-defer>defer</a></code>;
-         <code title=attr-script-type><a href=#attr-script-type>type</a></code>;
-         <code title=attr-script-charset><a href=#attr-script-charset>charset</a></code></td>
+         <code title=attr-script-crossorigin><a href=#attr-script-crossorigin>crossorigin</a></code></td>
      <td><code><a href=#htmlscriptelement>HTMLScriptElement</a></code></td>
     <tr><th><code><a href=#the-section-element>section</a></code></th>
      <td>Generic document or application section</td>
@@ -102187,6 +102210,8 @@
     <tr><th> <code title="">crossorigin</code>
      <td> <code title=attr-media-crossorigin><a href=#attr-media-crossorigin>audio</a></code>;
           <code title=attr-img-crossorigin><a href=#attr-img-crossorigin>img</a></code>;
+          <code title=attr-link-crossorigin><a href=#attr-link-crossorigin>link</a></code>;
+          <code title=attr-script-crossorigin><a href=#attr-script-crossorigin>script</a></code>;
           <code title=attr-media-crossorigin><a href=#attr-media-crossorigin>video</a></code>
      <td> How the element handles crossorigin requests.
      <td> "<code title=attr-crossorigin-anonymous-keyword><a href=#attr-crossorigin-anonymous-keyword>anonymous</a></code>"; "<code title=attr-crossorigin-use-credentials-keyword><a href=#attr-crossorigin-use-credentials-keyword>use-credentials</a></code>"
@@ -104847,6 +104872,7 @@
   Rob S,
   Robert Blaut,
   Robert Collins,
+  Robert Kieffer,
   Robert Millan,
   Robert O'Callahan,
   Robert Sayre,

Modified: index
===================================================================
--- index	2012-11-29 00:23:09 UTC (rev 7548)
+++ index	2012-11-29 00:42:58 UTC (rev 7549)
@@ -14247,6 +14247,7 @@
    <dt><a href=#element-dfn-attributes title=element-dfn-attributes>Content attributes</a>:</dt>
    <dd><a href=#global-attributes>Global attributes</a></dd>
    <dd><code title=attr-link-href><a href=#attr-link-href>href</a></code></dd>
+   <dd><code title=attr-link-crossorigin><a href=#attr-link-crossorigin>crossorigin</a></code></dd>
    <dd><code title=attr-link-rel><a href=#attr-link-rel>rel</a></code></dd>
    <dd><code title=attr-link-media><a href=#attr-link-media>media</a></code></dd>
    <dd><code title=attr-link-hreflang><a href=#attr-link-hreflang>hreflang</a></code></dd>
@@ -14258,6 +14259,7 @@
 <pre class=idl>interface <dfn id=htmllinkelement>HTMLLinkElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
            attribute boolean <a href=#dom-link-disabled title=dom-link-disabled>disabled</a>;
            attribute DOMString <a href=#dom-link-href title=dom-link-href>href</a>;
+           attribute DOMString <a href=#dom-link-crossorigin title=dom-link-crossOrigin>crossOrigin</a>;
            attribute DOMString <a href=#dom-link-rel title=dom-link-rel>rel</a>;
   readonly attribute <a href=#domtokenlist>DOMTokenList</a> <a href=#dom-link-rellist title=dom-link-relList>relList</a>;
            attribute DOMString <a href=#dom-link-media title=dom-link-media>media</a>;
@@ -14329,6 +14331,9 @@
 
   </div>
 
+  <p>The <dfn id=attr-link-crossorigin title=attr-link-crossorigin><code>crossorigin</code></dfn> attribute is a <a href=#cors-settings-attribute>CORS
+  settings attribute</a>. It is intended for use with external resource links.</p>
+
   <p>The exact behavior for links to external resources depends on the
   exact relationship, as defined for the relevant link type. Some of
   the attributes control whether or not the external resource is to be
@@ -14336,10 +14341,10 @@
 
   <div class=impl>
 
-  <p>For external resources that are represented in the
-  DOM (for example, style sheets), the DOM representation must be made
-  available even if the resource is not applied. To <dfn id=concept-link-obtain title=concept-link-obtain>obtain the resource</dfn>, the user
-  agent must run the following steps:</p>
+  <p>For external resources that are represented in the DOM (for example, style sheets), the DOM
+  representation must be made available (modulo cross-origin restrictions) even if the resource is
+  not applied. To <dfn id=concept-link-obtain title=concept-link-obtain>obtain the resource</dfn>, the user agent must
+  run the following steps:</p>
 
   <ol><li><p>If the <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute's
    value is the empty string, then abort these steps.</li>
@@ -14350,9 +14355,18 @@
 
    <li><p>If the previous step fails, then abort these steps.</li>
 
-   <li><p><a href=#fetch>Fetch</a><!--FETCH--> the resulting <a href=#absolute-url>absolute
-   URL</a>.</li> <!-- http-origin privacy sensitive -->
+   <li>
 
+    <p>Do a <a href=#potentially-cors-enabled-fetch>potentially CORS-enabled fetch</a><!--FETCH--> of the resulting <a href=#absolute-url>absolute
+    URL</a>, with the <i>mode</i> being the state of the element's <code title=attr-link-crossorigin><a href=#attr-link-crossorigin>crossorigin</a></code> content attribute, the <i title="">origin</i>
+    being the <a href=#origin>origin</a> of the <code><a href=#the-link-element>link</a></code> element's <code><a href=#document>Document</a></code>, and the
+    <i>default origin behaviour</i> set to <i>taint</i>.</p>
+
+    <p>The resource obtained in this fashion can be either <a href=#cors-same-origin>CORS-same-origin</a> or
+    <a href=#cors-cross-origin>CORS-cross-origin</a>.</p>
+
+   </li>
+
   </ol><p>User agents may opt to only try to obtain such resources when
   they are needed, instead of pro-actively <a href=#fetch title=fetch>fetching</a> all the external resources that are
   not applied.</p>
@@ -14576,6 +14590,10 @@
   <a href=#reflect>reflect</a> the respective content attributes of the same
   name.</p>
 
+  <p>The <dfn id=dom-link-crossorigin title=dom-link-crossOrigin><code>crossOrigin</code></dfn> IDL attribute must
+  <a href=#reflect>reflect</a> the <code title=attr-link-crossorigin><a href=#attr-link-crossorigin>crossorigin</a></code> content
+  attribute.</p>
+
   <p>The IDL attribute <dfn id=dom-link-rellist title=dom-link-rellist><code>relList</code></dfn> <span class=impl>must</span> <a href=#reflect title=reflect>reflect</a> the <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> content attribute.</p>
 
   </div>
@@ -15815,13 +15833,16 @@
 
   <div class=impl>
 
-  <p>For <code><a href=#the-style-element>style</a></code> elements, if the user agent does not
-  support the specified styling language, then the <code title=dom-LinkStyle-sheet><a href=#dom-linkstyle-sheet>sheet</a></code> attribute of the element's
-  <code><a href=#linkstyle>LinkStyle</a></code> interface must return null. Similarly,
-  <code><a href=#the-link-element>link</a></code> elements that do not represent <a href=#link-type-stylesheet title=rel-stylesheet>external resource links that contribute to
-  the styling processing model</a> (i.e. that do not have a <code title=rel-stylesheet><a href=#link-type-stylesheet>stylesheet</a></code> keyword in their <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute), or for which <a href=#the-link-is-an-alternative-stylesheet>the
-  link is an alternative stylesheet</a> but whose <code title=dom-title><a href=#dom-title>title</a></code> content attribute is absent or empty,
-  must have their <code><a href=#linkstyle>LinkStyle</a></code> interface's <code title=dom-LinkStyle-sheet><a href=#dom-linkstyle-sheet>sheet</a></code> attribute return null.</p>
+  <p>For <code><a href=#the-style-element>style</a></code> elements, if the user agent does not support the specified styling
+  language, then the <code title=dom-LinkStyle-sheet><a href=#dom-linkstyle-sheet>sheet</a></code> attribute of the element's
+  <code><a href=#linkstyle>LinkStyle</a></code> interface must return null. Similarly, <code><a href=#the-link-element>link</a></code> elements that do
+  not represent <a href=#link-type-stylesheet title=rel-stylesheet>external resource links that contribute to the styling
+  processing model</a> (i.e. that do not have a <code title=rel-stylesheet><a href=#link-type-stylesheet>stylesheet</a></code>
+  keyword in their <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute), for which <a href=#the-link-is-an-alternative-stylesheet>the link is an
+  alternative stylesheet</a> but whose <code title=dom-title><a href=#dom-title>title</a></code> content attribute is
+  absent or empty, or whose resource is <a href=#cors-cross-origin>CORS-cross-origin</a>, must have their
+  <code><a href=#linkstyle>LinkStyle</a></code> interface's <code title=dom-LinkStyle-sheet><a href=#dom-linkstyle-sheet>sheet</a></code> attribute return
+  null.</p>
 
   <p>Otherwise, the <code><a href=#linkstyle>LinkStyle</a></code> interface's <code title=dom-LinkStyle-sheet><a href=#dom-linkstyle-sheet>sheet</a></code> attribute must return a
   <code><a href=#stylesheet>StyleSheet</a></code> object with the following properties: <a href=#refsCSSOM>[CSSOM]</a></p>
@@ -101145,6 +101166,7 @@
      <td>empty</td>
      <td><a href=#global-attributes title="global attributes">globals</a>;
          <code title=attr-link-href><a href=#attr-link-href>href</a></code>;
+         <code title=attr-link-crossorigin><a href=#attr-link-crossorigin>crossorigin</a></code>;
          <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code>;
          <code title=attr-link-media><a href=#attr-link-media>media</a></code>;
          <code title=attr-link-hreflang><a href=#attr-link-hreflang>hreflang</a></code>;
@@ -101389,10 +101411,11 @@
      <td>script, data, or script documentation*</td>
      <td><a href=#global-attributes title="global attributes">globals</a>;
          <code title=attr-script-src><a href=#attr-script-src>src</a></code>;
+         <code title=attr-script-type><a href=#attr-script-type>type</a></code>;
+         <code title=attr-script-charset><a href=#attr-script-charset>charset</a></code>;
          <code title=attr-script-async><a href=#attr-script-async>async</a></code>;
          <code title=attr-script-defer><a href=#attr-script-defer>defer</a></code>;
-         <code title=attr-script-type><a href=#attr-script-type>type</a></code>;
-         <code title=attr-script-charset><a href=#attr-script-charset>charset</a></code></td>
+         <code title=attr-script-crossorigin><a href=#attr-script-crossorigin>crossorigin</a></code></td>
      <td><code><a href=#htmlscriptelement>HTMLScriptElement</a></code></td>
     <tr><th><code><a href=#the-section-element>section</a></code></th>
      <td>Generic document or application section</td>
@@ -102187,6 +102210,8 @@
     <tr><th> <code title="">crossorigin</code>
      <td> <code title=attr-media-crossorigin><a href=#attr-media-crossorigin>audio</a></code>;
           <code title=attr-img-crossorigin><a href=#attr-img-crossorigin>img</a></code>;
+          <code title=attr-link-crossorigin><a href=#attr-link-crossorigin>link</a></code>;
+          <code title=attr-script-crossorigin><a href=#attr-script-crossorigin>script</a></code>;
           <code title=attr-media-crossorigin><a href=#attr-media-crossorigin>video</a></code>
      <td> How the element handles crossorigin requests.
      <td> "<code title=attr-crossorigin-anonymous-keyword><a href=#attr-crossorigin-anonymous-keyword>anonymous</a></code>"; "<code title=attr-crossorigin-use-credentials-keyword><a href=#attr-crossorigin-use-credentials-keyword>use-credentials</a></code>"
@@ -104847,6 +104872,7 @@
   Rob S,
   Robert Blaut,
   Robert Collins,
+  Robert Kieffer,
   Robert Millan,
   Robert O'Callahan,
   Robert Sayre,

Modified: source
===================================================================
--- source	2012-11-29 00:23:09 UTC (rev 7548)
+++ source	2012-11-29 00:42:58 UTC (rev 7549)
@@ -14831,6 +14831,7 @@
    <dt><span title="element-dfn-attributes">Content attributes</span>:</dt>
    <dd><span>Global attributes</span></dd>
    <dd><code title="attr-link-href">href</code></dd>
+   <dd><code title="attr-link-crossorigin">crossorigin</code></dd>
    <dd><code title="attr-link-rel">rel</code></dd>
    <dd><code title="attr-link-media">media</code></dd>
    <dd><code title="attr-link-hreflang">hreflang</code></dd>
@@ -14842,6 +14843,7 @@
 <pre class="idl">interface <dfn>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
            attribute boolean <span title="dom-link-disabled">disabled</span>;
            attribute DOMString <span title="dom-link-href">href</span>;
+           attribute DOMString <span title="dom-link-crossOrigin">crossOrigin</span>;
            attribute DOMString <span title="dom-link-rel">rel</span>;
   readonly attribute <span>DOMTokenList</span> <span title="dom-link-relList">relList</span>;
            attribute DOMString <span title="dom-link-media">media</span>;
@@ -14928,6 +14930,9 @@
 
   </div>
 
+  <p>The <dfn title="attr-link-crossorigin"><code>crossorigin</code></dfn> attribute is a <span>CORS
+  settings attribute</span>. It is intended for use with external resource links.</p>
+
   <p>The exact behavior for links to external resources depends on the
   exact relationship, as defined for the relevant link type. Some of
   the attributes control whether or not the external resource is to be
@@ -14935,11 +14940,10 @@
 
   <div class="impl">
 
-  <p>For external resources that are represented in the
-  DOM (for example, style sheets), the DOM representation must be made
-  available even if the resource is not applied. To <dfn
-  title="concept-link-obtain">obtain the resource</dfn>, the user
-  agent must run the following steps:</p>
+  <p>For external resources that are represented in the DOM (for example, style sheets), the DOM
+  representation must be made available (modulo cross-origin restrictions) even if the resource is
+  not applied. To <dfn title="concept-link-obtain">obtain the resource</dfn>, the user agent must
+  run the following steps:</p>
 
   <ol>
 
@@ -14953,9 +14957,19 @@
 
    <li><p>If the previous step fails, then abort these steps.</p></li>
 
-   <li><p><span>Fetch</span><!--FETCH--> the resulting <span>absolute
-   URL</span>.</p></li> <!-- http-origin privacy sensitive -->
+   <li>
 
+    <p>Do a <span>potentially CORS-enabled fetch</span><!--FETCH--> of the resulting <span>absolute
+    URL</span>, with the <i>mode</i> being the state of the element's <code
+    title="attr-link-crossorigin">crossorigin</code> content attribute, the <i title="">origin</i>
+    being the <span>origin</span> of the <code>link</code> element's <code>Document</code>, and the
+    <i>default origin behaviour</i> set to <i>taint</i>.</p>
+
+    <p>The resource obtained in this fashion can be either <span>CORS-same-origin</span> or
+    <span>CORS-cross-origin</span>.</p>
+
+   </li>
+
   </ol>
 
   <p>User agents may opt to only try to obtain such resources when
@@ -15218,6 +15232,10 @@
   <span>reflect</span> the respective content attributes of the same
   name.</p>
 
+  <p>The <dfn title="dom-link-crossOrigin"><code>crossOrigin</code></dfn> IDL attribute must
+  <span>reflect</span> the <code title="attr-link-crossorigin">crossorigin</code> content
+  attribute.</p>
+
   <p>The IDL attribute <dfn
   title="dom-link-rellist"><code>relList</code></dfn> <span
   class="impl">must</span> <span title="reflect">reflect</span> the <code
@@ -16629,19 +16647,16 @@
 
   <div class="impl">
 
-  <p>For <code>style</code> elements, if the user agent does not
-  support the specified styling language, then the <code
-  title="dom-LinkStyle-sheet">sheet</code> attribute of the element's
-  <code>LinkStyle</code> interface must return null. Similarly,
-  <code>link</code> elements that do not represent <span
-  title="rel-stylesheet">external resource links that contribute to
-  the styling processing model</span> (i.e. that do not have a <code
-  title="rel-stylesheet">stylesheet</code> keyword in their <code
-  title="attr-link-rel">rel</code> attribute), or for which <span>the
-  link is an alternative stylesheet</span> but whose <code
-  title="dom-title">title</code> content attribute is absent or empty,
-  must have their <code>LinkStyle</code> interface's <code
-  title="dom-LinkStyle-sheet">sheet</code> attribute return null.</p>
+  <p>For <code>style</code> elements, if the user agent does not support the specified styling
+  language, then the <code title="dom-LinkStyle-sheet">sheet</code> attribute of the element's
+  <code>LinkStyle</code> interface must return null. Similarly, <code>link</code> elements that do
+  not represent <span title="rel-stylesheet">external resource links that contribute to the styling
+  processing model</span> (i.e. that do not have a <code title="rel-stylesheet">stylesheet</code>
+  keyword in their <code title="attr-link-rel">rel</code> attribute), for which <span>the link is an
+  alternative stylesheet</span> but whose <code title="dom-title">title</code> content attribute is
+  absent or empty, or whose resource is <span>CORS-cross-origin</span>, must have their
+  <code>LinkStyle</code> interface's <code title="dom-LinkStyle-sheet">sheet</code> attribute return
+  null.</p>
 
   <p>Otherwise, the <code>LinkStyle</code> interface's <code
   title="dom-LinkStyle-sheet">sheet</code> attribute must return a
@@ -118403,6 +118418,7 @@
      <td>empty</td>
      <td><span title="global attributes">globals</span>;
          <code title="attr-link-href">href</code>;
+         <code title="attr-link-crossorigin">crossorigin</code>;
          <code title="attr-link-rel">rel</code>;
          <code title="attr-link-media">media</code>;
          <code title="attr-link-hreflang">hreflang</code>;
@@ -118716,10 +118732,11 @@
      <td>script, data, or script documentation*</td>
      <td><span title="global attributes">globals</span>;
          <code title="attr-script-src">src</code>;
+         <code title="attr-script-type">type</code>;
+         <code title="attr-script-charset">charset</code>;
          <code title="attr-script-async">async</code>;
          <code title="attr-script-defer">defer</code>;
-         <code title="attr-script-type">type</code>;
-         <code title="attr-script-charset">charset</code></td>
+         <code title="attr-script-crossorigin">crossorigin</code></td>
      <td><code>HTMLScriptElement</code></td>
     </tr>
 
@@ -119648,6 +119665,8 @@
      <th> <code title="">crossorigin</code>
      <td> <code title="attr-media-crossorigin">audio</code>;
           <code title="attr-img-crossorigin">img</code>;
+          <code title="attr-link-crossorigin">link</code>;
+          <code title="attr-script-crossorigin">script</code>;
           <code title="attr-media-crossorigin">video</code>
      <td> How the element handles crossorigin requests.
      <td> "<code title="attr-crossorigin-anonymous-keyword">anonymous</code>"; "<code title="attr-crossorigin-use-credentials-keyword">use-credentials</code>"
@@ -122796,6 +122815,7 @@
   Rob S,
   Robert Blaut,
   Robert Collins,
+  Robert Kieffer,
   Robert Millan,
   Robert O'Callahan,
   Robert Sayre,




More information about the Commit-Watchers mailing list