OLD | NEW |
1 Tests that DOMNode properly tracks own and descendants' user properties. | 1 Tests that DOMNode properly tracks own and descendants' user properties. |
2 | 2 |
3 attr1 set on aNode | 3 attr1 set on aNode |
4 <!DOCTYPE html> | 4 <!DOCTYPE html> |
5 - <html> [descendantUserAttributeCounters:[attr1=1]] | 5 - <html> [descendantUserAttributeCounters:[attr1=1]] |
6 - <head> | 6 - <head> |
7 <script src="../../http/tests/inspector/inspector-test.js"></script> | 7 <script src="../../http/tests/inspector/inspector-test.js"></script> |
8 <script src="../../http/tests/inspector/elements-test.js"></script> | 8 <script src="../../http/tests/inspector/elements-test.js"></script> |
9 <script src="resources/user-properties.js"></script> | 9 <script src="resources/user-properties.js"></script> |
10 </head> | 10 </head> |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 - <html> [descendantUserAttributeCounters:[attr1=1,attr2=1]] | 113 - <html> [descendantUserAttributeCounters:[attr1=1,attr2=1]] |
114 - <head> | 114 - <head> |
115 <script src="../../http/tests/inspector/inspector-test.js"></script> | 115 <script src="../../http/tests/inspector/inspector-test.js"></script> |
116 <script src="../../http/tests/inspector/elements-test.js"></script> | 116 <script src="../../http/tests/inspector/elements-test.js"></script> |
117 <script src="resources/user-properties.js"></script> | 117 <script src="resources/user-properties.js"></script> |
118 </head> | 118 </head> |
119 - <body onload="runTest()"> [descendantUserAttributeCounters:[attr1=1,attr2=
1]] | 119 - <body onload="runTest()"> [descendantUserAttributeCounters:[attr1=1,attr2=
1]] |
120 <p>\nTests that DOMNode properly tracks own and descendants' user prop
erties.\n</p> | 120 <p>\nTests that DOMNode properly tracks own and descendants' user prop
erties.\n</p> |
121 - <div id="container"> [descendantUserAttributeCounters:[attr1=1,attr2=1
]] | 121 - <div id="container"> [descendantUserAttributeCounters:[attr1=1,attr2=1
]] |
122 <div id="child1"></div> | 122 <div id="child1"></div> |
123 - <div id="child2"> [userProperties:[attr2=anotherValue,attr1=true]] | 123 <div id="child2"></div> [userProperties:[attr2=anotherValue,attr1=
true]] |
124 </div> | |
125 </div> | 124 </div> |
126 + <div>…</div> | 125 + <div>…</div> |
127 </body> | 126 </body> |
128 </html> | 127 </html> |
129 child2 removed | 128 child2 removed |
130 <!DOCTYPE html> | 129 <!DOCTYPE html> |
131 - <html> | 130 - <html> |
132 - <head> | 131 - <head> |
133 <script src="../../http/tests/inspector/inspector-test.js"></script> | 132 <script src="../../http/tests/inspector/inspector-test.js"></script> |
134 <script src="../../http/tests/inspector/elements-test.js"></script> | 133 <script src="../../http/tests/inspector/elements-test.js"></script> |
135 <script src="resources/user-properties.js"></script> | 134 <script src="resources/user-properties.js"></script> |
136 </head> | 135 </head> |
137 - <body onload="runTest()"> | 136 - <body onload="runTest()"> |
138 <p>\nTests that DOMNode properly tracks own and descendants' user prop
erties.\n</p> | 137 <p>\nTests that DOMNode properly tracks own and descendants' user prop
erties.\n</p> |
139 - <div id="container"> | 138 - <div id="container"> |
140 <div id="child1"></div> | 139 <div id="child1"></div> |
141 </div> | 140 </div> |
142 + <div>…</div> | 141 + <div>…</div> |
143 </body> | 142 </body> |
144 </html> | 143 </html> |
145 | 144 |
OLD | NEW |