'Test that C{parentNode} attributes are set to meaningful values when
we are parsing HTML that lacks a root node.'

def test_lenientParenting(self):

    s = '<br/><br/>'
    d = microdom.parseString(s, beExtremelyLenient=1)
    self.assertIdentical(d.documentElement, d.documentElement.firstChild().parentNode)
