Index: LayoutTests/svg/custom/invalid-length-units-expected.txt |
diff --git a/LayoutTests/svg/custom/invalid-length-units-expected.txt b/LayoutTests/svg/custom/invalid-length-units-expected.txt |
index ab0244a4ca977168b7c1c7e72c1c7b61ea9cdf6d..dff7a6fd886afb086f2400dafebb0b53c68a80da 100644 |
--- a/LayoutTests/svg/custom/invalid-length-units-expected.txt |
+++ b/LayoutTests/svg/custom/invalid-length-units-expected.txt |
@@ -2,8 +2,6 @@ CONSOLE ERROR: Error: Invalid value for <rect> attribute x=" " |
CONSOLE ERROR: Error: Invalid value for <rect> attribute x="foo" |
CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10foo" |
CONSOLE ERROR: Error: Invalid value for <rect> attribute x="px" |
-CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10px " |
-CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10% " |
CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 % " |
CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 %" |
CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 px " |
@@ -18,8 +16,8 @@ PASS rect.setAttribute('x', ' '); rect.x.baseVal.valueAsString is '0' |
PASS rect.setAttribute('x', 'foo'); rect.x.baseVal.valueAsString is '0' |
PASS rect.setAttribute('x', '10foo'); rect.x.baseVal.valueAsString is '0' |
PASS rect.setAttribute('x', 'px'); rect.x.baseVal.valueAsString is '0' |
-PASS rect.setAttribute('x', '10px '); rect.x.baseVal.valueAsString is '0' |
-PASS rect.setAttribute('x', '10% '); rect.x.baseVal.valueAsString is '0' |
+PASS rect.setAttribute('x', '10px '); rect.x.baseVal.valueAsString is '10px' |
+PASS rect.setAttribute('x', '10% '); rect.x.baseVal.valueAsString is '10%' |
PASS rect.setAttribute('x', '10 % '); rect.x.baseVal.valueAsString is '0' |
PASS rect.setAttribute('x', '10 %'); rect.x.baseVal.valueAsString is '0' |
PASS rect.setAttribute('x', '10 px '); rect.x.baseVal.valueAsString is '0' |