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

html5/markup/tools css2xml,1.10,1.11 generate-spec-source.xsl,1.301,1.302

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 30 Apr 2011 11:36:03 +0000
To: public-html-commits@w3.org
Message-Id: <E1QG8Sx-00032h-NR@lionel-hutz.w3.org>
Update of /sources/public/html5/markup/tools
In directory hutz:/tmp/cvs-serv11471/tools

Modified Files:
	css2xml generate-spec-source.xsl 
Log Message:
prune vendor-prefixes CSS props. b=12379


Index: generate-spec-source.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v
retrieving revision 1.301
retrieving revision 1.302
diff -u -d -r1.301 -r1.302
--- generate-spec-source.xsl	25 Feb 2011 07:05:31 -0000	1.301
+++ generate-spec-source.xsl	30 Apr 2011 11:36:01 -0000	1.302
@@ -3154,7 +3154,8 @@
   </xsl:template>
   <xsl:template name="get-spec-filename">
     <xsl:param name="ref"/>
-    <xsl:param name="base">http://developers.whatwg.org/</xsl:param>
+    <xsl:param name="base">http://dev.w3.org/html5/spec-author-view/</xsl:param>
+    <!-- * <xsl:param name="base">http://developers.whatwg.org/</xsl:param> -->
     <xsl:param name="fragment-file">../fragment-links.html</xsl:param>
     <xsl:for-each select="document($fragment-file)">
       <xsl:choose>

Index: css2xml
===================================================================
RCS file: /sources/public/html5/markup/tools/css2xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- css2xml	26 Apr 2009 10:53:16 -0000	1.10
+++ css2xml	30 Apr 2011 11:36:01 -0000	1.11
@@ -32,6 +32,7 @@
     next if ($selector_name =~ /::/);
     next if ($selector_name =~ /-webkit-autofill/);
     next if ($selector_name =~ /audio|video/);
+    next if ($selector_name =~ /meter|progress/);
     next if ($selector_name =~ /button|input|keygen|option|optgroup|select|textarea/);
     $selector_name =~ s/([^\[]+)(\[[^\]]+])/$1<span class="predicate">$2<\/span>/g;
     $selector_name =~ s/([^:]+)(:.+)/$1<span class="pseudo">$2<\/span>/g;
@@ -54,6 +55,8 @@
     for my $values (@{$property->{values}}) {
       my $propname = $property->{property};
       next if ($propname =~ /-webkit-rtl-ordering/);
+      next if ($propname =~ /-webkit-block-flow/);
+      next if ($propname =~ /-webkit-text-emphasis/);
       next if ($propname =~ /-webkit-text-security/);
       next if ($propname =~ /-webkit-box-align/);
       next if ($propname =~ /-webkit-box-orient/);
@@ -62,7 +65,13 @@
       next if ($propname =~ /-webkit-user-select/);
       $propname =~ s/-webkit-border-radius/border-radius/g;
       $propname =~ s/-webkit-margin-start/margin-start/g;
+      $propname =~ s/-webkit-margin-end/margin-end/g;
+      $propname =~ s/-webkit-margin-before/margin-before/g;
+      $propname =~ s/-webkit-margin-after/margin-after/g;
+      $propname =~ s/-webkit-padding-before/padding-before/g;
+      $propname =~ s/-webkit-padding-after/padding-after/g;
       $propname =~ s/-webkit-padding-start/padding-start/g;
+      $propname =~ s/-webkit-padding-end/padding-end/g;
       my $value = $values->{value};
       $value =~ s/__q//g;
       $value =~ s/darkGray/<i class="vendor-value">(internal value)<\/i>/g;
Received on Saturday, 30 April 2011 11:36:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 30 April 2011 11:41:17 GMT