Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / elements / user-properties-expected.txt
1 Tests that DOMNode properly tracks own and descendants' user properties.
2
3 attr1 set on aNode
4   <!DOCTYPE html>
5 - <html> [descendantUserAttributeCounters:[attr1=1]]
6     - <head>
7           <script src="../../http/tests/inspector/inspector-test.js"></script>
8           <script src="../../http/tests/inspector/elements-test.js"></script>
9           <script src="resources/user-properties.js"></script>
10       </head>
11     - <body onload="runTest()"> [descendantUserAttributeCounters:[attr1=1]]
12           <p>\nTests that DOMNode properly tracks own and descendants' user properties.\n</p>
13         - <div id="container"> [descendantUserAttributeCounters:[attr1=1]]
14               <div id="child1"></div>
15             - <div id="child2"> [descendantUserAttributeCounters:[attr1=1]]
16                   <a href="#" id="aNode">Third-level node</a> [userProperties:[attr1=true]]
17               </div>
18           </div>
19       </body>
20   </html>
21 attr2 set on child2
22   <!DOCTYPE html>
23 - <html> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
24     - <head>
25           <script src="../../http/tests/inspector/inspector-test.js"></script>
26           <script src="../../http/tests/inspector/elements-test.js"></script>
27           <script src="resources/user-properties.js"></script>
28       </head>
29     - <body onload="runTest()"> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
30           <p>\nTests that DOMNode properly tracks own and descendants' user properties.\n</p>
31         - <div id="container"> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
32               <div id="child1"></div>
33             - <div id="child2"> [userProperties:[attr2=value], descendantUserAttributeCounters:[attr1=1]]
34                   <a href="#" id="aNode">Third-level node</a> [userProperties:[attr1=true]]
35               </div>
36           </div>
37       </body>
38   </html>
39 attr1 set on child2
40   <!DOCTYPE html>
41 - <html> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
42     - <head>
43           <script src="../../http/tests/inspector/inspector-test.js"></script>
44           <script src="../../http/tests/inspector/elements-test.js"></script>
45           <script src="resources/user-properties.js"></script>
46       </head>
47     - <body onload="runTest()"> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
48           <p>\nTests that DOMNode properly tracks own and descendants' user properties.\n</p>
49         - <div id="container"> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
50               <div id="child1"></div>
51             - <div id="child2"> [userProperties:[attr2=value,attr1=true], descendantUserAttributeCounters:[attr1=1]]
52                   <a href="#" id="aNode">Third-level node</a> [userProperties:[attr1=true]]
53               </div>
54           </div>
55       </body>
56   </html>
57 attr1 modified on aNode
58   <!DOCTYPE html>
59 - <html> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
60     - <head>
61           <script src="../../http/tests/inspector/inspector-test.js"></script>
62           <script src="../../http/tests/inspector/elements-test.js"></script>
63           <script src="resources/user-properties.js"></script>
64       </head>
65     - <body onload="runTest()"> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
66           <p>\nTests that DOMNode properly tracks own and descendants' user properties.\n</p>
67         - <div id="container"> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
68               <div id="child1"></div>
69             - <div id="child2"> [userProperties:[attr2=value,attr1=true], descendantUserAttributeCounters:[attr1=1]]
70                   <a href="#" id="aNode">Third-level node</a> [userProperties:[attr1=anotherValue]]
71               </div>
72           </div>
73       </body>
74   </html>
75 attr2 modified on child2
76   <!DOCTYPE html>
77 - <html> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
78     - <head>
79           <script src="../../http/tests/inspector/inspector-test.js"></script>
80           <script src="../../http/tests/inspector/elements-test.js"></script>
81           <script src="resources/user-properties.js"></script>
82       </head>
83     - <body onload="runTest()"> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
84           <p>\nTests that DOMNode properly tracks own and descendants' user properties.\n</p>
85         - <div id="container"> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
86               <div id="child1"></div>
87             - <div id="child2"> [userProperties:[attr2=anotherValue,attr1=true], descendantUserAttributeCounters:[attr1=1]]
88                   <a href="#" id="aNode">Third-level node</a> [userProperties:[attr1=anotherValue]]
89               </div>
90           </div>
91       </body>
92   </html>
93 attr1 removed from aNode
94   <!DOCTYPE html>
95 - <html> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
96     - <head>
97           <script src="../../http/tests/inspector/inspector-test.js"></script>
98           <script src="../../http/tests/inspector/elements-test.js"></script>
99           <script src="resources/user-properties.js"></script>
100       </head>
101     - <body onload="runTest()"> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
102           <p>\nTests that DOMNode properly tracks own and descendants' user properties.\n</p>
103         - <div id="container"> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
104               <div id="child1"></div>
105             - <div id="child2"> [userProperties:[attr2=anotherValue,attr1=true]]
106                   <a href="#" id="aNode">Third-level node</a>
107               </div>
108           </div>
109       </body>
110   </html>
111 aNode removed
112   <!DOCTYPE html>
113 - <html> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
114     - <head>
115           <script src="../../http/tests/inspector/inspector-test.js"></script>
116           <script src="../../http/tests/inspector/elements-test.js"></script>
117           <script src="resources/user-properties.js"></script>
118       </head>
119     - <body onload="runTest()"> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
120           <p>\nTests that DOMNode properly tracks own and descendants' user properties.\n</p>
121         - <div id="container"> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
122               <div id="child1"></div>
123               <div id="child2"></div> [userProperties:[attr2=anotherValue,attr1=true]]
124           </div>
125         + <div>…</div>
126       </body>
127   </html>
128 child2 removed
129   <!DOCTYPE html>
130 - <html>
131     - <head>
132           <script src="../../http/tests/inspector/inspector-test.js"></script>
133           <script src="../../http/tests/inspector/elements-test.js"></script>
134           <script src="resources/user-properties.js"></script>
135       </head>
136     - <body onload="runTest()">
137           <p>\nTests that DOMNode properly tracks own and descendants' user properties.\n</p>
138         - <div id="container">
139               <div id="child1"></div>
140           </div>
141         + <div>…</div>
142       </body>
143   </html>
144