File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1297,8 +1297,6 @@ u'html5lib/tests/testdata/tree-construction/tests8.dat::5::cElementTree::parser:
1297
1297
u'html5lib/tests/testdata/tree-construction/tests8.dat::5::cElementTree::parser::void-namespace': FAIL
1298
1298
u'html5lib/tests/testdata/tree-construction/tests8.dat::5::lxml::parser::namespaced': FAIL
1299
1299
u'html5lib/tests/testdata/tree-construction/tests8.dat::5::lxml::parser::void-namespace': FAIL
1300
- u'html5lib/tests/testdata/tree-construction/webkit01.dat::22::lxml::parser::namespaced': FAIL
1301
- u'html5lib/tests/testdata/tree-construction/webkit01.dat::22::lxml::parser::void-namespace': FAIL
1302
1300
u'html5lib/tests/testdata/tree-construction/webkit02.dat::14::DOM::parser::namespaced': FAIL
1303
1301
u'html5lib/tests/testdata/tree-construction/webkit02.dat::14::DOM::parser::void-namespace': FAIL
1304
1302
u'html5lib/tests/testdata/tree-construction/webkit02.dat::14::ElementTree::parser::namespaced': FAIL
Original file line number Diff line number Diff line change @@ -44,7 +44,11 @@ def __init__(self):
44
44
self ._childNodes = []
45
45
46
46
def appendChild (self , element ):
47
- self ._elementTree .getroot ().addnext (element ._element )
47
+ last = self ._elementTree .getroot ()
48
+ for last in self ._elementTree .getroot ().itersiblings ():
49
+ pass
50
+
51
+ last .addnext (element ._element )
48
52
49
53
def _getChildNodes (self ):
50
54
return self ._childNodes
You can’t perform that action at this time.
0 commit comments