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

Side by Side 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 unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: Error: Invalid value for <rect> attribute x=" " 1 CONSOLE ERROR: Error: Invalid value for <rect> attribute x=" "
2 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="foo" 2 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="foo"
3 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10foo" 3 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10foo"
4 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="px" 4 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="px"
5 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10px "
6 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10% "
7 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 % " 5 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 % "
8 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 %" 6 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 %"
9 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 px " 7 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 px "
10 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 px" 8 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 px"
11 Tests handling of invalid SVG length units. 9 Tests handling of invalid SVG length units.
12 10
13 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 11 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
14 12
15 13
16 PASS rect.setAttribute('x', ''); rect.x.baseVal.valueAsString is '0' 14 PASS rect.setAttribute('x', ''); rect.x.baseVal.valueAsString is '0'
17 PASS rect.setAttribute('x', ' '); rect.x.baseVal.valueAsString is '0' 15 PASS rect.setAttribute('x', ' '); rect.x.baseVal.valueAsString is '0'
18 PASS rect.setAttribute('x', 'foo'); rect.x.baseVal.valueAsString is '0' 16 PASS rect.setAttribute('x', 'foo'); rect.x.baseVal.valueAsString is '0'
19 PASS rect.setAttribute('x', '10foo'); rect.x.baseVal.valueAsString is '0' 17 PASS rect.setAttribute('x', '10foo'); rect.x.baseVal.valueAsString is '0'
20 PASS rect.setAttribute('x', 'px'); rect.x.baseVal.valueAsString is '0' 18 PASS rect.setAttribute('x', 'px'); rect.x.baseVal.valueAsString is '0'
21 PASS rect.setAttribute('x', '10px '); rect.x.baseVal.valueAsString is '0' 19 PASS rect.setAttribute('x', '10px '); rect.x.baseVal.valueAsString is '10px'
22 PASS rect.setAttribute('x', '10% '); rect.x.baseVal.valueAsString is '0' 20 PASS rect.setAttribute('x', '10% '); rect.x.baseVal.valueAsString is '10%'
23 PASS rect.setAttribute('x', '10 % '); rect.x.baseVal.valueAsString is '0' 21 PASS rect.setAttribute('x', '10 % '); rect.x.baseVal.valueAsString is '0'
24 PASS rect.setAttribute('x', '10 %'); rect.x.baseVal.valueAsString is '0' 22 PASS rect.setAttribute('x', '10 %'); rect.x.baseVal.valueAsString is '0'
25 PASS rect.setAttribute('x', '10 px '); rect.x.baseVal.valueAsString is '0' 23 PASS rect.setAttribute('x', '10 px '); rect.x.baseVal.valueAsString is '0'
26 PASS rect.setAttribute('x', '10 px'); rect.x.baseVal.valueAsString is '0' 24 PASS rect.setAttribute('x', '10 px'); rect.x.baseVal.valueAsString is '0'
27 PASS rect.setAttribute('x', '10'); rect.x.baseVal.valueAsString is '10' 25 PASS rect.setAttribute('x', '10'); rect.x.baseVal.valueAsString is '10'
28 PASS rect.setAttribute('x', '10%'); rect.x.baseVal.valueAsString is '10%' 26 PASS rect.setAttribute('x', '10%'); rect.x.baseVal.valueAsString is '10%'
29 PASS rect.setAttribute('x', '10em'); rect.x.baseVal.valueAsString is '10em' 27 PASS rect.setAttribute('x', '10em'); rect.x.baseVal.valueAsString is '10em'
30 PASS rect.setAttribute('x', '10ex'); rect.x.baseVal.valueAsString is '10ex' 28 PASS rect.setAttribute('x', '10ex'); rect.x.baseVal.valueAsString is '10ex'
31 PASS rect.setAttribute('x', '10px'); rect.x.baseVal.valueAsString is '10px' 29 PASS rect.setAttribute('x', '10px'); rect.x.baseVal.valueAsString is '10px'
32 PASS rect.setAttribute('x', '10cm'); rect.x.baseVal.valueAsString is '10cm' 30 PASS rect.setAttribute('x', '10cm'); rect.x.baseVal.valueAsString is '10cm'
33 PASS rect.setAttribute('x', '10mm'); rect.x.baseVal.valueAsString is '10mm' 31 PASS rect.setAttribute('x', '10mm'); rect.x.baseVal.valueAsString is '10mm'
34 PASS rect.setAttribute('x', '10pt'); rect.x.baseVal.valueAsString is '10pt' 32 PASS rect.setAttribute('x', '10pt'); rect.x.baseVal.valueAsString is '10pt'
35 PASS rect.setAttribute('x', '10pc'); rect.x.baseVal.valueAsString is '10pc' 33 PASS rect.setAttribute('x', '10pc'); rect.x.baseVal.valueAsString is '10pc'
36 PASS successfullyParsed is true 34 PASS successfullyParsed is true
37 35
38 TEST COMPLETE 36 TEST COMPLETE
39 37
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698