Remove duplicate figure captions.
authorGary Kacmarcik <garykac@google.com>
Tue, 04 Jun 2013 11:58:35 -0700
changeset 416 7c9bdb1ee920
parent 415 2d03486a991f
child 417 3af9a4e6464d
Remove duplicate figure captions.

Respec automatically adds auto-numbered figure captions when class="figure" so the hard-coded figure captions can be removed.
Also, properly mark the respec script as "text/javascript" and update the default mail subject (in the mailto: urls for the editors) to "DOM3-event Spec".
html/DOM3-Events.html
--- a/html/DOM3-Events.html	Tue Jun 04 11:17:35 2013 -0700
+++ b/html/DOM3-Events.html	Tue Jun 04 11:58:35 2013 -0700
@@ -9,8 +9,7 @@
 	<link rel="stylesheet" type="text/css" href="spec-WD.css" />
 	<link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/w3c-tr.css" />
 	<link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-WD" />
-	<script src='https://www.w3.org/Tools/respec/respec-w3c-common' class='remove' async></script>
-
+	<script type="text/javascript" src='https://www.w3.org/Tools/respec/respec-w3c-common' class='remove' async></script>
 	<script type="text/javascript">
 	var respecConfig = {
 		specStatus: "WD",
@@ -19,13 +18,13 @@
 			{
 				name: "Travis Leithead", 
 				company: "Microsoft Corp.",
-				url: "mailto:travis.leithead@microsoft.com?subject=%5Bkey-event%5D%20Spec%20Feedback",
+				url: "mailto:travis.leithead@microsoft.com?subject=%5BDOM3-event%5D%20Spec%20Feedback",
 				companyURL: "http://www.microsoft.com"
 			},
 			{
 				name: "Gary Kacmarcik", 
 				company: "Google, Inc.",
-				url: "mailto:garykac@google.com?subject=%5Bkey-event%5D%20Spec%20Feedback",
+				url: "mailto:garykac@google.com?subject=%5BDOM3-event%5D%20Spec%20Feedback",
 				companyURL: "http://www.google.com"
 			},
 			{
@@ -590,7 +589,6 @@
 				<object type="image/svg+xml" data="images/eventflow.svg" width="520" height="560">
 					<img src="images/eventflow.png" alt="graphical representation of an event dispatched in a DOM tree using the DOM event flow" title="graphical representation of an event dispatched in a DOM tree using the DOM event flow" />
 				</object>
-				<p style="text-align: left"><em>Figure 1: graphical representation of an event dispatched in a DOM tree using the DOM event flow</em></p>
 			</div>
 
 			<p>Event objects are dispatched to an <a class="def" href="#glossary-event-target">event target</a>. At the beginning
@@ -971,7 +969,6 @@
 			<object type="image/svg+xml" data="images/event-inheritance.svg" width="960" height="230">
 				<img src="images/event-inheritance.png" alt="graphical representation of the DOM3 Events interface inheritance" />
 			</object>
-			<p><em>Figure 2: graphical representation of the DOM3 Events interface inheritance</em></p>
 		</div>
 
 		<section id="interface-Event">
@@ -3515,8 +3512,7 @@
 						absolute position on a web page. Element C is a child of B, and B is a child of A in the DOM:</p>
 
 					<div class="figure" style="text-align: center">
-						<img src="images/stacked-event-mouse-dispatch.png" alt="graphical representation of three stacked elements all on top of each other. The bottom element is labeled A and the top element is C" title="graphical representation of elements stacked on top of each other" />
-						<p style="text-align: left"><em>Figure 3: graphical representation of three stacked elements all on top of each other, with the pointing device moving over the stack.</em></p>
+						<img src="images/stacked-event-mouse-dispatch.png" alt="graphical representation of three stacked elements all on top of each other. The bottom element is labeled A and the top element is C" title="graphical representation of three stacked elements all on top of each other, with the pointing device moving over the stack." />
 					</div>
 
 					<p>When the pointing device is moved from outside the element stack to the element labeled C and then moved out again, the following series of events occur:</p>
@@ -6186,7 +6182,6 @@
 						<object type="image/svg+xml" data="images/ISOIEC-9995-3-FCD-2009A.svg" width="900" height="300">
 							<img src="images/ISOIEC-9995-3-FCD-2009A.png" alt="A graphical depiction of an ISO standard defining layouts of computer keyboards, ISO/IEC 9995, parts 2 and 3" />
 						</object>
-						<p><em>Figure 4: A graphical depiction of an ISO standard defining layouts of computer keyboards, ISO 9995, parts 2 and 3</em></p>
 					</div>
 				</section>
 
@@ -6206,7 +6201,6 @@
 						<object type="image/svg+xml" data="images/ISOIEC-9995-8-2006.svg" width="180" height="240">
 							<img src="images/ISOIEC-9995-8-2006.png" alt="A graphical depiction of an ISO standard defining layouts of numeric keypads, with distribution of letters on the keys, ISO/IEC 9995-8:2006" />
 						</object>
-						<p><em>Figure 5: A graphical depiction of an ISO standard defining layouts of numeric keypads, with distribution of letters on the keys, ISO/IEC 9995-8:2006</em></p>
 					</div>
 				</section>
 
@@ -6224,7 +6218,6 @@
 						<object type="image/svg+xml" data="images/remote-control.svg" width="102" height="422">
 							<img src="images/remote-control.png" alt="A graphical depiction of a media remote control, with buttons mapped to specific keys values" />
 						</object>
-						<p><em>Figure 6: A graphical depiction of a media remote control, with buttons mapped to specific keys values</em></p>
 					</div>
 
 				</section>