1 Tests that DOMNode properly tracks own and descendants' user properties.
5 - <html> [descendantUserAttributeCounters:[attr1=1]]
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>
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]]
23 - <html> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
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>
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]]
41 - <html> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
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>
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]]
57 attr1 modified on aNode
59 - <html> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
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>
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]]
75 attr2 modified on child2
77 - <html> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
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>
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]]
93 attr1 removed from aNode
95 - <html> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
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>
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>
113 - <html> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
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>
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]]
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>
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>