Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / regions / cssom / webkit-named-flow-collection-expected.txt
1 Tests WebKitNamedFlowCollection interface
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 Test WebKitNamedFlowCollection length property
7 PASS document.webkitGetNamedFlows().length is 0
8 PASS region1.style.webkitFlowFrom = 'flow1'; document.webkitGetNamedFlows().length is 1
9 PASS region2.style.webkitFlowFrom = 'flow2'; document.webkitGetNamedFlows().length is 2
10 PASS region1.style.webkitFlowFrom = ''; document.webkitGetNamedFlows().length is 1
11 PASS region2.style.webkitFlowFrom = ''; document.webkitGetNamedFlows().length is 0
12 Test WebKitNamedFlowCollection index getter
13 PASS (document.webkitGetNamedFlows()[0].name == 'flow1' && document.webkitGetNamedFlows()[1].name == 'flow2')         || (document.webkitGetNamedFlows()[0].name == 'flow2' && document.webkitGetNamedFlows()[1].name == 'flow1') is true
14 Test WebKitNamedFlowCollection name getter
15 PASS document.webkitGetNamedFlows().flow1.name is "flow1"
16 PASS document.webkitGetNamedFlows().flow2.name is "flow2"
17 PASS document.webkitGetNamedFlows().undefinedNamedProperty is undefined.
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21