Fixed dynamic flow detection
authorPhilippe Le Hégaret <plh@w3.org>
Sat, 06 Jun 2009 01:00:05 +0000
changeset 146 435204e6612d
parent 145 83b0d0effe4a
child 147 a346b9e2d727
Fixed dynamic flow detection
testsuite/Report/report.xslt
--- a/testsuite/Report/report.xslt	Sat Jun 06 00:38:12 2009 +0000
+++ b/testsuite/Report/report.xslt	Sat Jun 06 01:00:05 2009 +0000
@@ -1327,14 +1327,14 @@
     <xsl:function name="t:isFlowFunction" as="xs:boolean">
       <xsl:param name='s' as="xs:string"/>
 
-      <xsl:value-of select='matches($s, "^(in|within|out)\((pixel|glyph|inline|line|block|character|word)(,(jump|smooth|fade)(,barWipe(,(leftToRight|topToBottom))?)?)?\)$")'/> 
+      <xsl:value-of select='matches($s, "^((in|out)\((glyph|line|character|word)(,(jump|smooth))?\))+$")'/> 
 
     </xsl:function>
 
     <xsl:function name="t:isDynamicFlow" as="xs:boolean">
       <xsl:param name='s' as="xs:string"/>
 
-      <xsl:value-of select='matches($s, "^((in|within|out)\((pixel|glyph|inline|line|block|character|word)(,(jump|smooth|fade)(,barWipe(,(leftToRight|topToBottom))?)?)?\))+( (intra|inter)\((auto|\d(\.\d)?(s|ms|f|t)?)\))+$")'/> 
+      <xsl:value-of select='matches($s, "^((in|out)\((glyph|line|character|word)(,(jump|smooth))?\))+((fill|clear)\((auto|\d(\.\d)?(s|ms|f|t)?)\))+$")'/> 
 
     </xsl:function>