Index: LayoutTests/fast/xsl/mozilla-tests-expected.txt |
diff --git a/LayoutTests/fast/xsl/mozilla-tests-expected.txt b/LayoutTests/fast/xsl/mozilla-tests-expected.txt |
index f8af8116eb55bffab94ce003da6396b768f36a9b..fbc35e9d4bab34c2e148abe5926c211c87d83804 100644 |
--- a/LayoutTests/fast/xsl/mozilla-tests-expected.txt |
+++ b/LayoutTests/fast/xsl/mozilla-tests-expected.txt |
@@ -76,95 +76,95 @@ Test: |
Desired Result:Red Text |
Result:Red Text |
Axis Identifiers (these should work, I need more test cases though) |
-Test: <xsl:if test="descendant::z">true</xsl:if> |
+Test: <xsl:if test="descendant::z">true</xsl:if> |
Desired Result: true |
Result: true |
-Test: <xsl:if test="not(descendant-or-self::no-element)">true</xsl:if> |
+Test: <xsl:if test="not(descendant-or-self::no-element)">true</xsl:if> |
Desired Result: true |
Result: true |
-Test: <xsl:value-of select="count(x/attribute::*)"/> |
+Test: <xsl:value-of select="count(x/attribute::*)"/> |
Desired Result: 1 |
Result: 1 |
Creating Elements with xsl:element and xsl:attribute |
-Test: <xsl:element name="FONT"> |
+Test: <xsl:element name="FONT"> |
<xsl:attribute name="COLOR">blue</xsl:attribute> |
Passed |
</xsl:element> |
Desired Result: Passed |
-Result: Passed |
+Result: Passed |
Using Attribute Sets |
-Test: <FONT xsl:use-attribute-sets="style1"> |
+Test: <FONT xsl:use-attribute-sets="style1"> |
Passed |
</FONT> |
Desired Result: Passed |
-Result: Passed |
-Test: <xsl:element name="FONT" use-attribute-sets="style1 style2"> |
+Result: Passed |
+Test: <xsl:element name="FONT" use-attribute-sets="style1 style2"> |
Passed |
</xsl:element> |
Desired Result: Passed |
-Result: Passed |
+Result: Passed |
Numbering (only simple numbering currently implemented) |
-Test: <xsl:number value="4"/> |
+Test: <xsl:number value="4"/> |
Desired Result: 4 |
Result: 4 |
-Test: see source |
-Desired Result: 1. x |
+Test: see source |
+Desired Result: 1. x |
1. y |
1. z |
Result: 1. x |
1. y |
1. z |
Additive Expressions |
-Test: <xsl:value-of select="70+4"/> |
+Test: <xsl:value-of select="70+4"/> |
Desired Result: 74 |
Result: 74 |
-Test: <xsl:value-of select="-70+4"/> |
+Test: <xsl:value-of select="-70+4"/> |
Desired Result: -66 |
Result: -66 |
-Test: <xsl:value-of select="1900+70+8-4"/> |
+Test: <xsl:value-of select="1900+70+8-4"/> |
Desired Result: 1974 |
Result: 1974 |
-Test: <xsl:value-of select="(4+5)-(9+9)"/> |
+Test: <xsl:value-of select="(4+5)-(9+9)"/> |
Desired Result: -9 |
Result: -9 |
Multiplicative Expressions |
-Test: <xsl:value-of select="7*4"/> |
+Test: <xsl:value-of select="7*4"/> |
Desired Result: 28 |
Result: 28 |
-Test: <xsl:value-of select="7mod 4"/> |
+Test: <xsl:value-of select="7mod 4"/> |
Desired Result: 3 |
Result: 3 |
-Test: <xsl:value-of select="7div 4"/> |
+Test: <xsl:value-of select="7div 4"/> |
Desired Result: 1.75 |
Result: 1.75 |
-Test: <xsl:value-of select="7div 0"/> |
+Test: <xsl:value-of select="7div 0"/> |
Desired Result: Infinity |
Result: Infinity |
-Test: <xsl:value-of select="0 div 0"/> |
+Test: <xsl:value-of select="0 div 0"/> |
Desired Result: NaN |
Result: NaN |
-Test: <xsl:variable name="x" select="7*3"/> |
+Test: <xsl:variable name="x" select="7*3"/> |
<xsl:variable name="y" select="3"/> |
<xsl:value-of select="$x div $y"/> |
Desired Result: 7 |
Result: 7 |
Precedence tests |
-Test: <xsl:value-of select="2 mod 2 = 0"/> |
+Test: <xsl:value-of select="2 mod 2 = 0"/> |
Desired Result: true |
Result: true |
-Test: <xsl:value-of select="5 mod 2 < 5 and 2*6 >= 12"/> |
+Test: <xsl:value-of select="5 mod 2 < 5 and 2*6 >= 12"/> |
Desired Result: true |
Result: true |
-Test: <xsl:value-of select="5 mod 2 < 5 and 2*6>12"/> |
+Test: <xsl:value-of select="5 mod 2 < 5 and 2*6>12"/> |
Desired Result: false |
Result: false |
-Test: <xsl:value-of select="4+5*3"/> |
+Test: <xsl:value-of select="4+5*3"/> |
Desired Result: 19 |
Result: 19 |
-Test: <xsl:value-of select="4+5*3+(6-4)*7"/> |
+Test: <xsl:value-of select="4+5*3+(6-4)*7"/> |
Desired Result: 33 |
Result: 33 |
Automatic Result Type Conversion |
-Test: <xsl:value-of select="'747' + 8"/> |
+Test: <xsl:value-of select="'747' + 8"/> |
Desired Result: 755 |
Result: 755 |