Pubrules Cleanup
authorRyan Sleevi <sleevi@google.com>
Mon, 24 Jun 2013 10:29:11 -0700
changeset 52 f21a79981e5f
parent 51 ab98b450a090
child 53 0956666e55e0
Pubrules Cleanup
spec/Overview-WebCryptoAPI.xml
spec/Overview.html
spec/webcrypto.css
--- a/spec/Overview-WebCryptoAPI.xml	Mon Jun 17 18:26:50 2013 -0700
+++ b/spec/Overview-WebCryptoAPI.xml	Mon Jun 24 10:29:11 2013 -0700
@@ -17,11 +17,6 @@
     <title>Web Cryptography API</title>
 
     <link rel='stylesheet' href='webcrypto.css' type='text/css'/>
-    <style type="text/css">
-      .XXX { color: #E50000; background: white; border: solid red; padding: 0.5em; margin: 1em 0; }
-      .XXX > :first-child { margin-top: 0; }
-      p .XXX { line-height: 3em; }
-    </style>
     <script src='section-links.js' type='application/ecmascript'/>
     <script src='dfn.js' type='application/ecmascript'/>
     <!--[if IE]>
@@ -819,7 +814,7 @@
             the first item processed.
           </p>
           <p>
-            When a <code>CryptoOperation</code> is said to <dfn id="dfn-CryptoOperation">process data</dfn>, the user
+            When a <code>CryptoOperation</code> is said to <dfn id="dfn-CryptoOperation-process-data">process data</dfn>, the user
             agent must execute the following algorithm:
           </p>
           <ol>
@@ -1865,7 +1860,7 @@
           </div>
 
           <div id="SubtleCrypto-method-wrapKey" class="section">
-            <h4>The <dfn id="dfn-SubtleCrypto-method-wrapKey">wrapKey</dfn> method</h4>
+            <h4>The wrapKey method</h4>
             <p>
               When invoked, the <dfn id="dfn-SubtleCrypto-method-wrapKey">wrapKey</dfn> method <span class="RFC2119">MUST</span> perform the following steps: 
             </p>
@@ -1961,7 +1956,7 @@
           </div>
 
           <div id="SubtleCrypto-method-unwrapKey" class="section">
-            <h4>The <dfn id="dfn-SubtleCrypto-method-unwrapKey">unwrapKey</dfn> method</h4>
+            <h4>The unwrapKey method</h4>
             <p>
               When invoked, the <dfn id="dfn-SubtleCrypto-method-unwrapKey">unwrapKey</dfn> method <span class="RFC2119">MUST</span> perform the following steps: 
             </p>
@@ -2748,9 +2743,9 @@
                   </li>
                   <li>
                     <p>
-                      Upon the first attempt to process data, let <var>hash</var> be an initialized to an
-                      instance of the underlying hash algorithm indicated by the <code>"hash"</code>
-                      identifier of the context object's associated
+                      Upon the first attempt to <a href="#dfn-CryptoOperation-process-data">process data</a>,
+                      let <var>hash</var> be an initialized to an instance of the underlying hash algorithm
+                      indicated by the <code>"hash"</code> identifier of the context object's associated
                       <code><a href="#dfn-CryptoOperation-Algorithm">algorithm</a></code>.
                    </p>
                  </li>
@@ -2835,9 +2830,9 @@
                   </li>
                   <li>
                     <p>
-                      Upon the first attempt to process data, let <var>hash</var> be an initialized to an
-                      instance of the underlying hash algorithm indicated by the <code>"hash"</code>
-                      identifier of the context object's associated
+                      Upon the first attempt to <a href="#dfn-CryptoOperation-process-data">process data</a>,
+                      let <var>hash</var> be an initialized to an instance of the underlying hash algorithm
+                      indicated by the <code>"hash"</code> identifier of the context object's associated
                       <code><a href="#dfn-CryptoOperation-Algorithm">algorithm</a></code>.
                    </p>
                  </li>
--- a/spec/Overview.html	Mon Jun 17 18:26:50 2013 -0700
+++ b/spec/Overview.html	Mon Jun 24 10:29:11 2013 -0700
@@ -13,11 +13,6 @@
     <title>Web Cryptography API</title>
 
     <link rel="stylesheet" href="webcrypto.css" type="text/css" />
-    <style type="text/css">
-      .XXX { color: #E50000; background: white; border: solid red; padding: 0.5em; margin: 1em 0; }
-      .XXX &gt; :first-child { margin-top: 0; }
-      p .XXX { line-height: 3em; }
-    </style>
     <script src="section-links.js" type="application/ecmascript"></script>
     <script src="dfn.js" type="application/ecmascript"></script>
     <!--[if IE]>
@@ -33,7 +28,7 @@
   <link rel="stylesheet" href="//www.w3.org/StyleSheets/TR/W3C-ED" type="text/css" /></head>
 
   <body>
-    <div class="head"><div><a href="http://www.w3.org/"><img src="//www.w3.org/Icons/w3c_home" width="72" height="48" alt="W3C" /></a></div><h1>Web Cryptography API</h1><h2>W3C Editor’s Draft <em>17 June 2013</em></h2><dl><dt>Latest Editor’s Draft:</dt><dd><a href="http://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html">http://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html</a></dd><dt>Latest Published Version:</dt><dd><a href="http://www.w3.org/TR/WebCryptoAPI/">http://www.w3.org/TR/WebCryptoAPI/</a></dd><dt>Previous Version(s):</dt><dd><a href="https://dvcs.w3.org/hg/webcrypto-api/raw-file/0fe9b34c13fb/spec/Overview.html">https://dvcs.w3.org/hg/webcrypto-api/raw-file/0fe9b34c13fb/spec/Overview.html</a></dd><dt>Editors:</dt><dd><a href="http://ddahl.com/">David Dahl</a>, Mozilla Corporation &lt;ddahl@mozilla.com&gt;</dd><dd><a href="http://www.google.com/">Ryan Sleevi</a>, Google, Inc. &lt;sleevi@google.com&gt;</dd><dt>Participate:</dt><dd><p>Send feedback to <a href="mailto:public-webcrypto@w3.org?subject=%5BWebCryptoAPI%5D">public-webcrypto@w3.org</a> (<a href="http://lists.w3.org/Archives/Public/public-webcrypto/">archives</a>), or <a href="https://www.w3.org/Bugs/Public/enter_bug.cgi?product=Web%20Cryptography&amp;component=Web%20Cryptography%20API%20Document">file a bug</a> 
+    <div class="head"><div><a href="http://www.w3.org/"><img src="//www.w3.org/Icons/w3c_home" width="72" height="48" alt="W3C" /></a></div><h1>Web Cryptography API</h1><h2>W3C Editor’s Draft <em>24 June 2013</em></h2><dl><dt>Latest Editor’s Draft:</dt><dd><a href="http://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html">http://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html</a></dd><dt>Latest Published Version:</dt><dd><a href="http://www.w3.org/TR/WebCryptoAPI/">http://www.w3.org/TR/WebCryptoAPI/</a></dd><dt>Previous Version(s):</dt><dd><a href="https://dvcs.w3.org/hg/webcrypto-api/raw-file/0fe9b34c13fb/spec/Overview.html">https://dvcs.w3.org/hg/webcrypto-api/raw-file/0fe9b34c13fb/spec/Overview.html</a></dd><dt>Editors:</dt><dd><a href="http://ddahl.com/">David Dahl</a>, Mozilla Corporation &lt;ddahl@mozilla.com&gt;</dd><dd><a href="http://www.google.com/">Ryan Sleevi</a>, Google, Inc. &lt;sleevi@google.com&gt;</dd><dt>Participate:</dt><dd><p>Send feedback to <a href="mailto:public-webcrypto@w3.org?subject=%5BWebCryptoAPI%5D">public-webcrypto@w3.org</a> (<a href="http://lists.w3.org/Archives/Public/public-webcrypto/">archives</a>), or <a href="https://www.w3.org/Bugs/Public/enter_bug.cgi?product=Web%20Cryptography&amp;component=Web%20Cryptography%20API%20Document">file a bug</a> 
     (see <a href="https://www.w3.org/Bugs/Public/buglist.cgi?product=Web%20Cryptography&amp;component=Web%20Cryptography%20API%20Document&amp;resolution=---">existing bugs</a>).</p></dd></dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> &copy; view <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>&reg;</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href="http://www.ercim.org/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p></div><hr />
 
     <div class="section">
@@ -61,7 +56,7 @@
         report can be found in the <a href="http://www.w3.org/TR/">W3C technical
           reports index</a> at http://www.w3.org/TR/.
       </em></p><p>
-        This document is the 17 June 2013 <b>Editor’s Draft</b> of the
+        This document is the 24 June 2013 <b>Editor’s Draft</b> of the
         <cite>Web Cryptography API</cite> specification.
       
       Please send comments about this document to
@@ -828,7 +823,7 @@
             the first item processed.
           </p>
           <p>
-            When a <code>CryptoOperation</code> is said to <dfn id="dfn-CryptoOperation">process data</dfn>, the user
+            When a <code>CryptoOperation</code> is said to <dfn id="dfn-CryptoOperation-process-data">process data</dfn>, the user
             agent must execute the following algorithm:
           </p>
           <ol>
@@ -1874,7 +1869,7 @@
           </div>
 
           <div id="SubtleCrypto-method-wrapKey" class="section">
-            <h4>14.2.10. The <dfn id="dfn-SubtleCrypto-method-wrapKey">wrapKey</dfn> method</h4>
+            <h4>14.2.10. The wrapKey method</h4>
             <p>
               When invoked, the <dfn id="dfn-SubtleCrypto-method-wrapKey">wrapKey</dfn> method <span class="RFC2119">MUST</span> perform the following steps: 
             </p>
@@ -1970,7 +1965,7 @@
           </div>
 
           <div id="SubtleCrypto-method-unwrapKey" class="section">
-            <h4>14.2.11. The <dfn id="dfn-SubtleCrypto-method-unwrapKey">unwrapKey</dfn> method</h4>
+            <h4>14.2.11. The unwrapKey method</h4>
             <p>
               When invoked, the <dfn id="dfn-SubtleCrypto-method-unwrapKey">unwrapKey</dfn> method <span class="RFC2119">MUST</span> perform the following steps: 
             </p>
@@ -2757,9 +2752,9 @@
                   </li>
                   <li>
                     <p>
-                      Upon the first attempt to process data, let <var>hash</var> be an initialized to an
-                      instance of the underlying hash algorithm indicated by the <code>"hash"</code>
-                      identifier of the context object's associated
+                      Upon the first attempt to <a href="#dfn-CryptoOperation-process-data">process data</a>,
+                      let <var>hash</var> be an initialized to an instance of the underlying hash algorithm
+                      indicated by the <code>"hash"</code> identifier of the context object's associated
                       <code><a href="#dfn-CryptoOperation-Algorithm">algorithm</a></code>.
                    </p>
                  </li>
@@ -2844,9 +2839,9 @@
                   </li>
                   <li>
                     <p>
-                      Upon the first attempt to process data, let <var>hash</var> be an initialized to an
-                      instance of the underlying hash algorithm indicated by the <code>"hash"</code>
-                      identifier of the context object's associated
+                      Upon the first attempt to <a href="#dfn-CryptoOperation-process-data">process data</a>,
+                      let <var>hash</var> be an initialized to an instance of the underlying hash algorithm
+                      indicated by the <code>"hash"</code> identifier of the context object's associated
                       <code><a href="#dfn-CryptoOperation-Algorithm">algorithm</a></code>.
                    </p>
                  </li>
--- a/spec/webcrypto.css	Mon Jun 17 18:26:50 2013 -0700
+++ b/spec/webcrypto.css	Mon Jun 24 10:29:11 2013 -0700
@@ -292,3 +292,7 @@
 .dfnPanel :link, .dfnPanel :visited { color: black; }
 .dfnPanel p { font-weight: bolder; }
 .dfnPanel li { list-style-position: inside; }
+
+.XXX { color: #E50000; background: white; border: solid red; padding: 0.5em; margin: 1em 0; }
+.XXX > :first-child { margin-top: 0; }
+p .XXX { line-height: 3em; }