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

Unified Diff: LayoutTests/svg/custom/script-tests/invalid-length-units.js

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
« no previous file with comments | « LayoutTests/svg/custom/invalid-length-units-expected.txt ('k') | LayoutTests/svg/hixie/error/015.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/script-tests/invalid-length-units.js
diff --git a/LayoutTests/svg/custom/script-tests/invalid-length-units.js b/LayoutTests/svg/custom/script-tests/invalid-length-units.js
index c67f5c0a77322293d949f3509c2f521dc239928e..a89a248e352b733c0c613e86c681cfbb3690e468 100644
--- a/LayoutTests/svg/custom/script-tests/invalid-length-units.js
+++ b/LayoutTests/svg/custom/script-tests/invalid-length-units.js
@@ -19,8 +19,8 @@ trySettingLength(" ", "'0'");
trySettingLength("foo", "'0'");
trySettingLength("10foo", "'0'");
trySettingLength("px", "'0'");
-trySettingLength("10px ", "'0'");
-trySettingLength("10% ", "'0'");
+trySettingLength("10px ", "'10px'");
+trySettingLength("10% ", "'10%'");
trySettingLength("10 % ", "'0'");
trySettingLength("10 %", "'0'");
trySettingLength("10 px ", "'0'");
« no previous file with comments | « LayoutTests/svg/custom/invalid-length-units-expected.txt ('k') | LayoutTests/svg/hixie/error/015.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698