This project is archived and is in readonly mode.

#500 ✓resolved
Radoslav Hodnicak

Request.HTML.processHTML() broken in 1.2.1

Reported by Radoslav Hodnicak | November 27th, 2008 @ 09:57 AM | in 1.3.0 rc2 (closed)

mootools 1.2:


html = new Request.HTML;
div = html.processHTML('<div id="1" class="test">a</div>').childNodes[0];
div.id => "1"
div.className => "test"

mootools 1.2.1:


html = new Request.HTML;
div = html.processHTML('<div id="1" class="test">a</div>').childNodes[0];
div.id => undefined
div.className => undefined

I suspect this is caused by the new clone() implementation

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Attachments

Pages