Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: LayoutTests/svg/custom/invalid-length-units-expected.txt

Issue 302643004: [SVG2] Allow leading and trailing whitespace in svg attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@relax_todouble_wtf
Patch Set: split tests to combat slow xp trybots Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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'

Powered by Google App Engine
This is Rietveld 408576698