File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ newelem:setAttribute("test", "---")
107107assert (newelem .attributes .length == 1 )
108108newelem :setAttribute (" xyz" , " +++" )
109109assert (newelem .attributes .length == 2 )
110+ -- TODO: assert(newelem.attributes[2].ownerElement == newelem)
110111assert (newelem :getAttribute (" test" ) == " ---" )
111112assert (newelem :getAttribute (" xyz" ) == " +++" )
112113assert (newelem :getAttribute (" xyz" ) == newelem .attributes [2 ].value )
@@ -204,6 +205,7 @@ assert(main:hasAttributes() == true)
204205assert (main .attributes .length == 2 )
205206assert (main :hasAttribute (" class" ) == true )
206207assert (main :getAttribute (" class" ) == " foo bar baz etc" )
208+ -- TODO: assert(main.attributes.class.ownerElement == main)
207209assert (main .id == " main" )
208210assert (main .id == main .attributes .id .value )
209211assert (main .id == main .attributes .id .textContent )
You can’t perform that action at this time.
0 commit comments