Fix broken fragments. Fix missing </code>
authorGary Kacmarcik <garykac@google.com>
Wed, 24 Sep 2014 12:19:25 -0700
changeset 678 492772f96198
parent 677 b43ce297f7b6
child 679 1a70a5158157
Fix broken fragments. Fix missing </code>
html/DOM3-Events.html
html/WD-DOM3-Events-20140925.html
html/fixup-static-export.py
--- a/html/DOM3-Events.html	Wed Sep 24 11:32:08 2014 -0700
+++ b/html/DOM3-Events.html	Wed Sep 24 12:19:25 2014 -0700
@@ -10259,7 +10259,7 @@
 
 			<p>Earlier versions of this specification were written in XML &mdash; the HTML, OMG IDL, Java and
 				ECMAScript bindings were all produced automatically.
-				Thanks to Joe English, author of <code>cost</a>,
+				Thanks to Joe English, author of <code>cost</code>,
 				which was used as the basis for producing DOM Level 1.
 				Thanks also to Gavin Nicol, who wrote the scripts which run on top of cost.
 				Arnaud Le Hors and Philippe Le H&#xE9;garet maintained the scripts.
--- a/html/WD-DOM3-Events-20140925.html	Wed Sep 24 11:32:08 2014 -0700
+++ b/html/WD-DOM3-Events-20140925.html	Wed Sep 24 12:19:25 2014 -0700
@@ -2856,7 +2856,7 @@
 						<p>The <a class="def" href="#glossary-un-initialized-value">un-initialized value</a>
 							of this attribute <em class="rfc2119" title="MUST">MUST</em> be <code>false</code>.
 							</p>
-					</dd></dl></div><div id="methods" class="section"><h5 id="h5_methods"><span class="secno">5.3.1.2 </span>Methods</h5><dl class="methods"><dt id="widl-MouseEvent-getModifierState-boolean-DOMString-keyArg"><code>getModifierState</code></dt><dd>
+					</dd></dl></div><div id="methods" class="section"><h5 id="h5_methods"><span class="secno">5.3.1.2 </span>Methods</h5><dl class="methods"><dt id="widl-MouseEvent-getModifierState"><code>getModifierState</code></dt><dd>
 						<p class="intro-dom">Introduced in DOM Level 3</p>
 
 						<p>Queries the state of a modifier using a key value.
@@ -4987,7 +4987,7 @@
 						<p><code>true</code> if the shift (<code class="key" title="Key Value">'Shift'</code>) key modifier was active.</p>
 
 						<p>The <a class="def" href="#glossary-un-initialized-value">un-initialized value</a> of this attribute <em class="rfc2119" title="MUST">MUST</em> be <code>false</code>.</p>
-					</dd></dl></div><div id="methods-1" class="section"><h5 id="h5_methods-1"><span class="secno">5.6.1.2 </span>Methods</h5><dl class="methods"><dt id="widl-KeyboardEvent-getModifierState-boolean-DOMString-keyArg"><code>getModifierState</code></dt><dd>
+					</dd></dl></div><div id="methods-1" class="section"><h5 id="h5_methods-1"><span class="secno">5.6.1.2 </span>Methods</h5><dl class="methods"><dt id="widl-KeyboardEvent-getModifierState"><code>getModifierState</code></dt><dd>
 						<p>Queries the state of a modifier using a key value.
 							See <a href="#keys-modifiers">Modifier keys</a> for a list of valid (case-sensitive) arguments to this method.
 							</p>
@@ -8086,7 +8086,7 @@
 				<pre class="idl"><span class="idlInterface" id="idl-def-CustomEvent">partial interface <span class="idlInterfaceID">CustomEvent</span> {
 <span class="idlSectionComment">    // Originally introduced (and deprecated) in DOM Level 3</span>
 <span class="idlMethod">    <span class="idlMethType">void</span> <span class="idlMethName"><a href="#widl-CustomEvent-initCustomEvent">initCustomEvent</a></span> (<span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">typeArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">bubblesArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">cancelableArg</span></span>, <span class="idlParam"><span class="idlParamType">any</span> <span class="idlParamName">detailArg</span></span>);</span>
-};</span></pre><div id="methods-2" class="section"><h5 id="h5_methods-2"><span class="secno">A.1.1.1 </span>Methods</h5><dl class="methods"><dt id="widl-CustomEvent-initCustomEvent-void-DOMString-typeArg-boolean-bubblesArg-boolean-cancelableArg-any-detailArg"><code>initCustomEvent</code></dt><dd>
+};</span></pre><div id="methods-2" class="section"><h5 id="h5_methods-2"><span class="secno">A.1.1.1 </span>Methods</h5><dl class="methods"><dt id="widl-CustomEvent-initCustomEvent-extra"><code>initCustomEvent</code></dt><dd>
 						<p>Initializes attributes of a <code>CustomEvent</code> object. This method has the
 							same behavior as <a href="#widl-Event-initEvent"><code>Event.initEvent()</code></a>.
 							</p>
@@ -8106,8 +8106,8 @@
 
 				<pre class="idl"><span class="idlInterface" id="idl-def-UIEvent-1">partial interface <span class="idlInterfaceID">UIEvent</span> {
 <span class="idlSectionComment">    // Deprecated in DOM Level 3</span>
-<span class="idlMethod">    <span class="idlMethType">void</span> <span class="idlMethName"><a href="#widl-UIEvent-initUIEvent-void-DOMString-typeArg-boolean-bubblesArg-boolean-cancelableArg-Window-viewArg-long-detailArg">initUIEvent</a></span> (<span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">typeArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">bubblesArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">cancelableArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#dfn-window" class="internalDFN">Window</a>?</span> <span class="idlParamName">viewArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">detailArg</span></span>);</span>
-};</span></pre><div id="methods-3" class="section"><h5 id="h5_methods-3"><span class="secno">A.1.2.1 </span>Methods</h5><dl class="methods"><dt id="widl-UIEvent-initUIEvent-void-DOMString-typeArg-boolean-bubblesArg-boolean-cancelableArg-Window-viewArg-long-detailArg"><code>initUIEvent</code></dt><dd>
+<span class="idlMethod">    <span class="idlMethType">void</span> <span class="idlMethName"><a href="#widl-UIEvent-initUIEvent">initUIEvent</a></span> (<span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">typeArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">bubblesArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">cancelableArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#dfn-window" class="internalDFN">Window</a>?</span> <span class="idlParamName">viewArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">detailArg</span></span>);</span>
+};</span></pre><div id="methods-3" class="section"><h5 id="h5_methods-3"><span class="secno">A.1.2.1 </span>Methods</h5><dl class="methods"><dt id="widl-UIEvent-initUIEvent"><code>initUIEvent</code></dt><dd>
 						<p>Initializes attributes of an <code>UIEvent</code> object.
 							This method has the same behavior as <a href="#widl-Event-initEvent"><code>Event.initEvent()</code></a>.
 							</p>
@@ -8138,8 +8138,8 @@
 
 				<pre class="idl"><span class="idlInterface" id="idl-def-FocusEvent-1">partial interface <span class="idlInterfaceID">FocusEvent</span> {
 <span class="idlSectionComment">    // Originally introduced (and deprecated) in DOM Level 3</span>
-<span class="idlMethod">    <span class="idlMethType">void</span> <span class="idlMethName"><a href="#widl-FocusEvent-initFocusEvent-void-DOMString-typeArg-boolean-bubblesArg-boolean-cancelableArg-Window-viewArg-long-detailArg-EventTarget-relatedTargetArg">initFocusEvent</a></span> (<span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">typeArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">bubblesArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">cancelableArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#dfn-window" class="internalDFN">Window</a>?</span> <span class="idlParamName">viewArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">detailArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#interface-EventTarget" class="internalDFN">EventTarget</a>?</span> <span class="idlParamName">relatedTargetArg</span></span>);</span>
-};</span></pre><div id="methods-4" class="section"><h5 id="h5_methods-4"><span class="secno">A.1.3.1 </span>Methods</h5><dl class="methods"><dt id="widl-FocusEvent-initFocusEvent-void-DOMString-typeArg-boolean-bubblesArg-boolean-cancelableArg-Window-viewArg-long-detailArg-EventTarget-relatedTargetArg"><code>initFocusEvent</code></dt><dd>
+<span class="idlMethod">    <span class="idlMethType">void</span> <span class="idlMethName"><a href="#widl-FocusEvent-initFocusEvent">initFocusEvent</a></span> (<span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">typeArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">bubblesArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">cancelableArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#dfn-window" class="internalDFN">Window</a>?</span> <span class="idlParamName">viewArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">detailArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#interface-EventTarget" class="internalDFN">EventTarget</a>?</span> <span class="idlParamName">relatedTargetArg</span></span>);</span>
+};</span></pre><div id="methods-4" class="section"><h5 id="h5_methods-4"><span class="secno">A.1.3.1 </span>Methods</h5><dl class="methods"><dt id="widl-FocusEvent-initFocusEvent"><code>initFocusEvent</code></dt><dd>
 						<p>Initializes attributes of a <code>FocusEvent</code> object.
 							This method has the same behavior as
 							<a href="#widl-UIEvent-initUIEvent"><code>UIEvent.initUIEvent()</code></a>.
@@ -8160,8 +8160,8 @@
 
 				<pre class="idl"><span class="idlInterface" id="idl-def-MouseEvent-1">partial interface <span class="idlInterfaceID">MouseEvent</span> {
 <span class="idlSectionComment">    // Deprecated in DOM Level 3</span>
-<span class="idlMethod">    <span class="idlMethType">void</span> <span class="idlMethName"><a href="#widl-MouseEvent-initMouseEvent-void-DOMString-typeArg-boolean-bubblesArg-boolean-cancelableArg-Window-viewArg-long-detailArg-long-screenXArg-long-screenYArg-long-clientXArg-long-clientYArg-boolean-ctrlKeyArg-boolean-altKeyArg-boolean-shiftKeyArg-boolean-metaKeyArg-short-buttonArg-EventTarget-relatedTargetArg">initMouseEvent</a></span> (<span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">typeArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">bubblesArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">cancelableArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#dfn-window" class="internalDFN">Window</a>?</span> <span class="idlParamName">viewArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">detailArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">screenXArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">screenYArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">clientXArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">clientYArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">ctrlKeyArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">altKeyArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">shiftKeyArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">metaKeyArg</span></span>, <span class="idlParam"><span class="idlParamType">short</span> <span class="idlParamName">buttonArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#interface-EventTarget" class="internalDFN">EventTarget</a>?</span> <span class="idlParamName">relatedTargetArg</span></span>);</span>
-};</span></pre><div id="methods-5" class="section"><h5 id="h5_methods-5"><span class="secno">A.1.4.1 </span>Methods</h5><dl class="methods"><dt id="widl-MouseEvent-initMouseEvent-void-DOMString-typeArg-boolean-bubblesArg-boolean-cancelableArg-Window-viewArg-long-detailArg-long-screenXArg-long-screenYArg-long-clientXArg-long-clientYArg-boolean-ctrlKeyArg-boolean-altKeyArg-boolean-shiftKeyArg-boolean-metaKeyArg-short-buttonArg-EventTarget-relatedTargetArg"><code>initMouseEvent</code></dt><dd>
+<span class="idlMethod">    <span class="idlMethType">void</span> <span class="idlMethName"><a href="#widl-MouseEvent-initMouseEvent">initMouseEvent</a></span> (<span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">typeArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">bubblesArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">cancelableArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#dfn-window" class="internalDFN">Window</a>?</span> <span class="idlParamName">viewArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">detailArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">screenXArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">screenYArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">clientXArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">clientYArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">ctrlKeyArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">altKeyArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">shiftKeyArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">metaKeyArg</span></span>, <span class="idlParam"><span class="idlParamType">short</span> <span class="idlParamName">buttonArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#interface-EventTarget" class="internalDFN">EventTarget</a>?</span> <span class="idlParamName">relatedTargetArg</span></span>);</span>
+};</span></pre><div id="methods-5" class="section"><h5 id="h5_methods-5"><span class="secno">A.1.4.1 </span>Methods</h5><dl class="methods"><dt id="widl-MouseEvent-initMouseEvent"><code>initMouseEvent</code></dt><dd>
 						<p>Initializes attributes of a <code>MouseEvent</code> object.
 							This method has the same behavior as <a href="#widl-UIEvent-initUIEvent"><code>UIEvent.initUIEvent()</code></a>.
 							</p>
@@ -8212,8 +8212,8 @@
 
 				<pre class="idl"><span class="idlInterface" id="idl-def-WheelEvent-1">partial interface <span class="idlInterfaceID">WheelEvent</span> {
 <span class="idlSectionComment">    // Originally introduced (and deprecated) in DOM Level 3</span>
-<span class="idlMethod">    <span class="idlMethType">void</span> <span class="idlMethName"><a href="#widl-WheelEvent-initWheelEvent-void-DOMString-typeArg-boolean-bubblesArg-boolean-cancelableArg-Window-viewArg-long-detailArg-long-screenXArg-long-screenYArg-long-clientXArg-long-clientYArg-short-buttonArg-EventTarget-relatedTargetArg-DOMString-modifiersListArg-double-deltaXArg-double-deltaYArg-double-deltaZArg-unsigned-long-deltaMode">initWheelEvent</a></span> (<span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">typeArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">bubblesArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">cancelableArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#dfn-window" class="internalDFN">Window</a>?</span> <span class="idlParamName">viewArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">detailArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">screenXArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">screenYArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">clientXArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">clientYArg</span></span>, <span class="idlParam"><span class="idlParamType">short</span> <span class="idlParamName">buttonArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#interface-EventTarget" class="internalDFN">EventTarget</a>?</span> <span class="idlParamName">relatedTargetArg</span></span>, <span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">modifiersListArg</span></span>, <span class="idlParam"><span class="idlParamType">double</span> <span class="idlParamName">deltaXArg</span></span>, <span class="idlParam"><span class="idlParamType">double</span> <span class="idlParamName">deltaYArg</span></span>, <span class="idlParam"><span class="idlParamType">double</span> <span class="idlParamName">deltaZArg</span></span>, <span class="idlParam"><span class="idlParamType">unsigned long</span> <span class="idlParamName">deltaMode</span></span>);</span>
-};</span></pre><div id="methods-6" class="section"><h5 id="h5_methods-6"><span class="secno">A.1.5.1 </span>Methods</h5><dl class="methods"><dt id="widl-WheelEvent-initWheelEvent-void-DOMString-typeArg-boolean-bubblesArg-boolean-cancelableArg-Window-viewArg-long-detailArg-long-screenXArg-long-screenYArg-long-clientXArg-long-clientYArg-short-buttonArg-EventTarget-relatedTargetArg-DOMString-modifiersListArg-double-deltaXArg-double-deltaYArg-double-deltaZArg-unsigned-long-deltaMode"><code>initWheelEvent</code></dt><dd>
+<span class="idlMethod">    <span class="idlMethType">void</span> <span class="idlMethName"><a href="#widl-WheelEvent-initWheelEvent">initWheelEvent</a></span> (<span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">typeArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">bubblesArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">cancelableArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#dfn-window" class="internalDFN">Window</a>?</span> <span class="idlParamName">viewArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">detailArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">screenXArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">screenYArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">clientXArg</span></span>, <span class="idlParam"><span class="idlParamType">long</span> <span class="idlParamName">clientYArg</span></span>, <span class="idlParam"><span class="idlParamType">short</span> <span class="idlParamName">buttonArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#interface-EventTarget" class="internalDFN">EventTarget</a>?</span> <span class="idlParamName">relatedTargetArg</span></span>, <span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">modifiersListArg</span></span>, <span class="idlParam"><span class="idlParamType">double</span> <span class="idlParamName">deltaXArg</span></span>, <span class="idlParam"><span class="idlParamType">double</span> <span class="idlParamName">deltaYArg</span></span>, <span class="idlParam"><span class="idlParamType">double</span> <span class="idlParamName">deltaZArg</span></span>, <span class="idlParam"><span class="idlParamType">unsigned long</span> <span class="idlParamName">deltaMode</span></span>);</span>
+};</span></pre><div id="methods-6" class="section"><h5 id="h5_methods-6"><span class="secno">A.1.5.1 </span>Methods</h5><dl class="methods"><dt id="widl-WheelEvent-initWheelEvent"><code>initWheelEvent</code></dt><dd>
 						<p>Initializes attributes of a <code>WheelEvent</code> object.
 							This method has the same behavior as
 							<a href="#widl-MouseEvent-initMouseEvent"><code>MouseEvent.initMouseEvent()</code></a>.
@@ -8245,8 +8245,8 @@
 					to preserve this inconsistency for compatibility with existing implementations.</p></div>
 				<pre class="idl"><span class="idlInterface" id="idl-def-KeyboardEvent-1">partial interface <span class="idlInterfaceID">KeyboardEvent</span> {
 <span class="idlSectionComment">    // Originally introduced (and deprecated) in DOM Level 3</span>
-<span class="idlMethod">    <span class="idlMethType">void</span> <span class="idlMethName"><a href="#widl-KeyboardEvent-initKeyboardEvent-void-DOMString-typeArg-boolean-bubblesArg-boolean-cancelableArg-Window-viewArg-DOMString-keyArg-unsigned-long-locationArg-DOMString-modifiersListArg-boolean-repeat-DOMString-locale">initKeyboardEvent</a></span> (<span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">typeArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">bubblesArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">cancelableArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#dfn-window" class="internalDFN">Window</a>?</span> <span class="idlParamName">viewArg</span></span>, <span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">keyArg</span></span>, <span class="idlParam"><span class="idlParamType">unsigned long</span> <span class="idlParamName">locationArg</span></span>, <span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">modifiersListArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">repeat</span></span>, <span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">locale</span></span>);</span>
-};</span></pre><div id="methods-7" class="section"><h5 id="h5_methods-7"><span class="secno">A.1.6.1 </span>Methods</h5><dl class="methods"><dt id="widl-KeyboardEvent-initKeyboardEvent-void-DOMString-typeArg-boolean-bubblesArg-boolean-cancelableArg-Window-viewArg-DOMString-keyArg-unsigned-long-locationArg-DOMString-modifiersListArg-boolean-repeat-DOMString-locale"><code>initKeyboardEvent</code></dt><dd>
+<span class="idlMethod">    <span class="idlMethType">void</span> <span class="idlMethName"><a href="#widl-KeyboardEvent-initKeyboardEvent">initKeyboardEvent</a></span> (<span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">typeArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">bubblesArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">cancelableArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#dfn-window" class="internalDFN">Window</a>?</span> <span class="idlParamName">viewArg</span></span>, <span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">keyArg</span></span>, <span class="idlParam"><span class="idlParamType">unsigned long</span> <span class="idlParamName">locationArg</span></span>, <span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">modifiersListArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">repeat</span></span>, <span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">locale</span></span>);</span>
+};</span></pre><div id="methods-7" class="section"><h5 id="h5_methods-7"><span class="secno">A.1.6.1 </span>Methods</h5><dl class="methods"><dt id="widl-KeyboardEvent-initKeyboardEvent"><code>initKeyboardEvent</code></dt><dd>
 						<p>Initializes attributes of a <a href="#interface-KeyboardEvent"><code>KeyboardEvent</code></a> object.
 							This method has the same behavior as <a href="#widl-UIEvent-initUIEvent"><code>UIEvent.initUIEvent()</code></a>.
 							The value of <a href="#widl-UIEvent-detail"><code>UIEvent.detail</code></a> remains undefined.
@@ -8278,8 +8278,8 @@
 					to preserve this inconsistency for compatibility with existing implementations.</p></div>
 				<pre class="idl"><span class="idlInterface" id="idl-def-CompositionEvent-1">partial interface <span class="idlInterfaceID">CompositionEvent</span> {
 <span class="idlSectionComment">    // Originally introduced (and deprecated) in DOM Level 3</span>
-<span class="idlMethod">    <span class="idlMethType">void</span> <span class="idlMethName"><a href="#widl-CompositionEvent-initCompositionEvent-void-DOMString-typeArg-boolean-bubblesArg-boolean-cancelableArg-Window-viewArg-DOMString-dataArg-DOMString-locale">initCompositionEvent</a></span> (<span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">typeArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">bubblesArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">cancelableArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#dfn-window" class="internalDFN">Window</a>?</span> <span class="idlParamName">viewArg</span></span>, <span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">dataArg</span></span>, <span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">locale</span></span>);</span>
-};</span></pre><div id="methods-8" class="section"><h5 id="h5_methods-8"><span class="secno">A.1.7.1 </span>Methods</h5><dl class="methods"><dt id="widl-CompositionEvent-initCompositionEvent-void-DOMString-typeArg-boolean-bubblesArg-boolean-cancelableArg-Window-viewArg-DOMString-dataArg-DOMString-locale"><code>initCompositionEvent</code></dt><dd>
+<span class="idlMethod">    <span class="idlMethType">void</span> <span class="idlMethName"><a href="#widl-CompositionEvent-initCompositionEvent">initCompositionEvent</a></span> (<span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">typeArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">bubblesArg</span></span>, <span class="idlParam"><span class="idlParamType">boolean</span> <span class="idlParamName">cancelableArg</span></span>, <span class="idlParam"><span class="idlParamType"><a href="#dfn-window" class="internalDFN">Window</a>?</span> <span class="idlParamName">viewArg</span></span>, <span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">dataArg</span></span>, <span class="idlParam"><span class="idlParamType">DOMString</span> <span class="idlParamName">locale</span></span>);</span>
+};</span></pre><div id="methods-8" class="section"><h5 id="h5_methods-8"><span class="secno">A.1.7.1 </span>Methods</h5><dl class="methods"><dt id="widl-CompositionEvent-initCompositionEvent"><code>initCompositionEvent</code></dt><dd>
 						<p>Initializes attributes of a <code>CompositionEvent</code> object.
 							This method has the same behavior as <a href="#widl-UIEvent-initUIEvent"><code>UIEvent.initUIEvent()</code></a>.
 							The value of <a href="#widl-UIEvent-detail"><code>UIEvent.detail</code></a> remains undefined.
@@ -9515,7 +9515,7 @@
 						<p>The <a class="def" href="#glossary-un-initialized-value">un-initialized value</a> of
 							this attribute <em class="rfc2119" title="MUST">MUST</em> be <code>null</code>.
 							</p>
-					</dd></dl></div><div id="methods-9" class="section"><h5 id="h5_methods-9"><span class="secno">C.4.1.2 </span>Methods</h5><dl class="methods"><dt id="widl-MutationEvent-initMutationEvent-void-DOMString-typeArg-boolean-bubblesArg-boolean-cancelableArg-Node-relatedNodeArg-DOMString-prevValueArg-DOMString-newValueArg-DOMString-attrNameArg-unsigned-short-attrChangeArg"><code>initMutationEvent</code></dt><dd>
+					</dd></dl></div><div id="methods-9" class="section"><h5 id="h5_methods-9"><span class="secno">C.4.1.2 </span>Methods</h5><dl class="methods"><dt id="widl-MutationEvent-initMutationEvent"><code>initMutationEvent</code></dt><dd>
 						<p>Initializes attributes of a <code>MutationEvent</code> object.
 							This method has the same behavior as <a href="#widl-Event-initEvent"><code>Event.initEvent()</code></a>.
 							</p>
@@ -10668,8 +10668,7 @@
 
 			<p>Earlier versions of this specification were written in XML — the HTML, OMG IDL, Java and
 				ECMAScript bindings were all produced automatically.
-				Thanks to Joe English, author of
-					<a class="normative" href="http://www.flightlab.com/cost/">cost</a>,
+				Thanks to Joe English, author of <code>cost</code>,
 				which was used as the basis for producing DOM Level 1.
 				Thanks also to Gavin Nicol, who wrote the scripts which run on top of cost.
 				Arnaud Le Hors and Philippe Le Hégaret maintained the scripts.
@@ -11252,4 +11251,5 @@
 		</div>
 	</div>  
 <!-- references -->
-</body></html>
+
+</body></html>
\ No newline at end of file
--- a/html/fixup-static-export.py	Wed Sep 24 11:32:08 2014 -0700
+++ b/html/fixup-static-export.py	Wed Sep 24 12:19:25 2014 -0700
@@ -153,6 +153,7 @@
 replacestr = [
 	['\[US-<acronym title="American Standard Code for Information Interchange">ASCII</acronym>\]', '[US-ASCII]'],
 	['id="idl-def-KeyboardEventInit">partial dictionary', 'id="idl-def-KeyboardEventInit-extra">partial dictionary'],
+	['<dl class="methods"><dt id="widl-CustomEvent-initCustomEvent"><code>initCustomEvent</code>', '<dl class="methods"><dt id="widl-CustomEvent-initCustomEvent-extra"><code>initCustomEvent</code>'],
 ]
 
 def replace(line):