summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-whitespace-expected.txt
blob: f7dfc61cdea8aa8473cba40ccc6b3bf8b6b9238a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Test setting the href attribute of an HTMLAnchorElement to a URL with leading and trailing whitespace.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


Set href that starts with a space
PASS a.hostname is 'www.mydomain.com'
Set href that starts with a newline
PASS a.hostname is 'www.mydomain.com'
Set href that starts with a tab
PASS a.hostname is 'www.mydomain.com'
Set href that starts with a carriage return
PASS a.hostname is 'www.mydomain.com'
Set href that starts with a combination of newlines, spaces and tabs
PASS a.hostname is 'www.mydomain.com'
Set href that ends with a space
PASS a.hostname is 'www.mydomain.com'
Set href that ends with a newline
PASS a.hostname is 'www.mydomain.com'
Set href that ends with a tab
PASS a.hostname is 'www.mydomain.com'
Set href that ends with a carriage return
PASS a.hostname is 'www.mydomain.com'
Set href that ends with a combination of newlines, spaces and tabs
PASS a.hostname is 'www.mydomain.com'
Set href that starts and ends with a combination of newlines, spaces and tabs
PASS a.hostname is 'www.mydomain.com'
PASS successfullyParsed is true

TEST COMPLETE