blob: ffcd826117c4af876b46feada4cf3e96367204ad [file] [log] [blame]
org.eclipse.wst.html.core.tests.parser.ElementTest
Source :
<a><b e="f" c="d"><g /><h /></b></a>
StructuredDocument Regions :
[0, 3] (<a>)
[3, 18] (<b e="f" c="d">)
[18, 23] (<g />)
[23, 28] (<h />)
[28, 32] (</b>)
[32, 36] (</a>)
Tree :
#document
--a/a@[0, 3] (<a>)@[32, 36] (</a>)
----b/b@[3, 18] (<b e&#61;"f" c&#61;"d">)@[28, 32] (</b>)
------g/@[18, 23] (<g />)
------h/@[23, 28] (<h />)
Source :
<a><i e="f" c="d"><g /><h /></i></a>
StructuredDocument Regions :
[0, 3] (<a>)
[3, 18] (<i e="f" c="d">)
[18, 23] (<g />)
[23, 28] (<h />)
[28, 32] (</i>)
[32, 36] (</a>)
Tree :
#document
--a/a@[0, 3] (<a>)@[32, 36] (</a>)
----i/i@[3, 18] (<i e&#61;"f" c&#61;"d">)@[28, 32] (</i>)
------g/@[18, 23] (<g />)
------h/@[23, 28] (<h />)