W3C home > Mailing lists > Public > public-html-commits@w3.org > May 2011

html5/spec-author-view/tools preprocess.xsl,1.15,1.16

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 06 May 2011 04:09:08 +0000
To: public-html-commits@w3.org
Message-Id: <E1QICLk-0005qU-Fd@lionel-hutz.w3.org>
Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv22347/tools

Modified Files:
	preprocess.xsl 
Log Message:
Fix event handler attribute interaction with ES (whatwg r6099)

[updated by splitter]


Index: preprocess.xsl
===================================================================
RCS file: /sources/public/html5/spec-author-view/tools/preprocess.xsl,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- preprocess.xsl	2 May 2011 15:42:33 -0000	1.15
+++ preprocess.xsl	6 May 2011 04:09:06 -0000	1.16
@@ -116,8 +116,17 @@
   <xsl:template match="td[@class='impl']">
     <td class="removed">&#160;</td>
   </xsl:template>
-  <xsl:template match="th[@class='impl']">
+   <xsl:template match="th[@class='impl']">
     <th class="removed">&#160;</th>
   </xsl:template>
+  <xsl:template match="h:dfn">
+    <dfn>
+      <xsl:copy-of select="@*"/>
+      <xsl:attribute name="role">button</xsl:attribute>
+      <xsl:attribute name="tabindex">0</xsl:attribute>
+      <xsl:attribute name="aria-haspopup">true</xsl:attribute>
+      <xsl:copy-of select="node()"/>
+    </dfn>
+  </xsl:template>
   <xsl:template match="link[@href[starts-with(.,'data:text/css')]]"/>
 </xsl:stylesheet>
Received on Friday, 6 May 2011 04:09:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 6 May 2011 04:11:19 GMT