| Index: LayoutTests/inspector/elements/user-properties-expected.txt
|
| diff --git a/LayoutTests/inspector/elements/user-properties-expected.txt b/LayoutTests/inspector/elements/user-properties-expected.txt
|
| index 7f33c3f43e2a6af9370087b8b429de17cad9a81c..b06f9e1f913bba6d600d65a390cce348f8bcf54f 100644
|
| --- a/LayoutTests/inspector/elements/user-properties-expected.txt
|
| +++ b/LayoutTests/inspector/elements/user-properties-expected.txt
|
| @@ -2,107 +2,107 @@ Tests that DOMNode properly tracks own and descendants' user properties.
|
|
|
| attr1 set on aNode
|
| <!DOCTYPE html>
|
| -- <html> [descendantUserAttributeCounters:[attr1=1]]
|
| +- <html> [subtreeMarkerCount:1]
|
| - <head>
|
| <script src="../../http/tests/inspector/inspector-test.js"></script>
|
| <script src="../../http/tests/inspector/elements-test.js"></script>
|
| <script src="resources/user-properties.js"></script>
|
| </head>
|
| - - <body onload="runTest()"> [descendantUserAttributeCounters:[attr1=1]]
|
| + - <body onload="runTest()"> [subtreeMarkerCount:1]
|
| <p>\nTests that DOMNode properly tracks own and descendants' user properties.\n</p>
|
| - - <div id="container"> [descendantUserAttributeCounters:[attr1=1]]
|
| + - <div id="container"> [subtreeMarkerCount:1]
|
| <div id="child1"></div>
|
| - - <div id="child2"> [descendantUserAttributeCounters:[attr1=1]]
|
| - <a href="#" id="aNode">Third-level node</a> [userProperties:[attr1=true]]
|
| + - <div id="child2"> [subtreeMarkerCount:1]
|
| + <a href="#" id="aNode">Third-level node</a> [markers:[attr1=true], subtreeMarkerCount:1]
|
| </div>
|
| </div>
|
| </body>
|
| </html>
|
| attr2 set on child2
|
| <!DOCTYPE html>
|
| -- <html> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
|
| +- <html> [subtreeMarkerCount:2]
|
| - <head>
|
| <script src="../../http/tests/inspector/inspector-test.js"></script>
|
| <script src="../../http/tests/inspector/elements-test.js"></script>
|
| <script src="resources/user-properties.js"></script>
|
| </head>
|
| - - <body onload="runTest()"> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
|
| + - <body onload="runTest()"> [subtreeMarkerCount:2]
|
| <p>\nTests that DOMNode properly tracks own and descendants' user properties.\n</p>
|
| - - <div id="container"> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
|
| + - <div id="container"> [subtreeMarkerCount:2]
|
| <div id="child1"></div>
|
| - - <div id="child2"> [userProperties:[attr2=value], descendantUserAttributeCounters:[attr1=1]]
|
| - <a href="#" id="aNode">Third-level node</a> [userProperties:[attr1=true]]
|
| + - <div id="child2"> [markers:[attr2=value], subtreeMarkerCount:2]
|
| + <a href="#" id="aNode">Third-level node</a> [markers:[attr1=true], subtreeMarkerCount:1]
|
| </div>
|
| </div>
|
| </body>
|
| </html>
|
| attr1 set on child2
|
| <!DOCTYPE html>
|
| -- <html> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
|
| +- <html> [subtreeMarkerCount:3]
|
| - <head>
|
| <script src="../../http/tests/inspector/inspector-test.js"></script>
|
| <script src="../../http/tests/inspector/elements-test.js"></script>
|
| <script src="resources/user-properties.js"></script>
|
| </head>
|
| - - <body onload="runTest()"> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
|
| + - <body onload="runTest()"> [subtreeMarkerCount:3]
|
| <p>\nTests that DOMNode properly tracks own and descendants' user properties.\n</p>
|
| - - <div id="container"> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
|
| + - <div id="container"> [subtreeMarkerCount:3]
|
| <div id="child1"></div>
|
| - - <div id="child2"> [userProperties:[attr2=value,attr1=true], descendantUserAttributeCounters:[attr1=1]]
|
| - <a href="#" id="aNode">Third-level node</a> [userProperties:[attr1=true]]
|
| + - <div id="child2"> [markers:[attr2=value,attr1=true], subtreeMarkerCount:3]
|
| + <a href="#" id="aNode">Third-level node</a> [markers:[attr1=true], subtreeMarkerCount:1]
|
| </div>
|
| </div>
|
| </body>
|
| </html>
|
| attr1 modified on aNode
|
| <!DOCTYPE html>
|
| -- <html> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
|
| +- <html> [subtreeMarkerCount:3]
|
| - <head>
|
| <script src="../../http/tests/inspector/inspector-test.js"></script>
|
| <script src="../../http/tests/inspector/elements-test.js"></script>
|
| <script src="resources/user-properties.js"></script>
|
| </head>
|
| - - <body onload="runTest()"> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
|
| + - <body onload="runTest()"> [subtreeMarkerCount:3]
|
| <p>\nTests that DOMNode properly tracks own and descendants' user properties.\n</p>
|
| - - <div id="container"> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
|
| + - <div id="container"> [subtreeMarkerCount:3]
|
| <div id="child1"></div>
|
| - - <div id="child2"> [userProperties:[attr2=value,attr1=true], descendantUserAttributeCounters:[attr1=1]]
|
| - <a href="#" id="aNode">Third-level node</a> [userProperties:[attr1=anotherValue]]
|
| + - <div id="child2"> [markers:[attr2=value,attr1=true], subtreeMarkerCount:3]
|
| + <a href="#" id="aNode">Third-level node</a> [markers:[attr1=anotherValue], subtreeMarkerCount:1]
|
| </div>
|
| </div>
|
| </body>
|
| </html>
|
| attr2 modified on child2
|
| <!DOCTYPE html>
|
| -- <html> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
|
| +- <html> [subtreeMarkerCount:3]
|
| - <head>
|
| <script src="../../http/tests/inspector/inspector-test.js"></script>
|
| <script src="../../http/tests/inspector/elements-test.js"></script>
|
| <script src="resources/user-properties.js"></script>
|
| </head>
|
| - - <body onload="runTest()"> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
|
| + - <body onload="runTest()"> [subtreeMarkerCount:3]
|
| <p>\nTests that DOMNode properly tracks own and descendants' user properties.\n</p>
|
| - - <div id="container"> [descendantUserAttributeCounters:[attr1=2,attr2=1]]
|
| + - <div id="container"> [subtreeMarkerCount:3]
|
| <div id="child1"></div>
|
| - - <div id="child2"> [userProperties:[attr2=anotherValue,attr1=true], descendantUserAttributeCounters:[attr1=1]]
|
| - <a href="#" id="aNode">Third-level node</a> [userProperties:[attr1=anotherValue]]
|
| + - <div id="child2"> [markers:[attr2=anotherValue,attr1=true], subtreeMarkerCount:3]
|
| + <a href="#" id="aNode">Third-level node</a> [markers:[attr1=anotherValue], subtreeMarkerCount:1]
|
| </div>
|
| </div>
|
| </body>
|
| </html>
|
| attr1 removed from aNode
|
| <!DOCTYPE html>
|
| -- <html> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
|
| +- <html> [subtreeMarkerCount:2]
|
| - <head>
|
| <script src="../../http/tests/inspector/inspector-test.js"></script>
|
| <script src="../../http/tests/inspector/elements-test.js"></script>
|
| <script src="resources/user-properties.js"></script>
|
| </head>
|
| - - <body onload="runTest()"> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
|
| + - <body onload="runTest()"> [subtreeMarkerCount:2]
|
| <p>\nTests that DOMNode properly tracks own and descendants' user properties.\n</p>
|
| - - <div id="container"> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
|
| + - <div id="container"> [subtreeMarkerCount:2]
|
| <div id="child1"></div>
|
| - - <div id="child2"> [userProperties:[attr2=anotherValue,attr1=true]]
|
| + - <div id="child2"> [markers:[attr2=anotherValue,attr1=true], subtreeMarkerCount:2]
|
| <a href="#" id="aNode">Third-level node</a>
|
| </div>
|
| </div>
|
| @@ -110,29 +110,29 @@ attr1 removed from aNode
|
| </html>
|
| aNode removed
|
| <!DOCTYPE html>
|
| -- <html> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
|
| +- <html> [subtreeMarkerCount:2]
|
| - <head>
|
| <script src="../../http/tests/inspector/inspector-test.js"></script>
|
| <script src="../../http/tests/inspector/elements-test.js"></script>
|
| <script src="resources/user-properties.js"></script>
|
| </head>
|
| - - <body onload="runTest()"> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
|
| + - <body onload="runTest()"> [subtreeMarkerCount:2]
|
| <p>\nTests that DOMNode properly tracks own and descendants' user properties.\n</p>
|
| - - <div id="container"> [descendantUserAttributeCounters:[attr1=1,attr2=1]]
|
| + - <div id="container"> [subtreeMarkerCount:2]
|
| <div id="child1"></div>
|
| - <div id="child2"></div> [userProperties:[attr2=anotherValue,attr1=true]]
|
| + <div id="child2"></div> [markers:[attr2=anotherValue,attr1=true], subtreeMarkerCount:2]
|
| </div>
|
| </body>
|
| </html>
|
| child2 removed
|
| <!DOCTYPE html>
|
| -- <html>
|
| +- <html> [subtreeMarkerCount:2]
|
| - <head>
|
| <script src="../../http/tests/inspector/inspector-test.js"></script>
|
| <script src="../../http/tests/inspector/elements-test.js"></script>
|
| <script src="resources/user-properties.js"></script>
|
| </head>
|
| - - <body onload="runTest()">
|
| + - <body onload="runTest()"> [subtreeMarkerCount:2]
|
| <p>\nTests that DOMNode properly tracks own and descendants' user properties.\n</p>
|
| - <div id="container">
|
| <div id="child1"></div>
|
|
|