Dear Ryosuke/Arko.<div><br></div><div>Thanks for the support and the quick response.</div><div><br></div><div>Regards,</div><div>Gurpreet<br><br><div class="gmail_quote">On Thu, Mar 8, 2012 at 2:50 PM, Ryosuke Niwa <span dir="ltr"><<a href="mailto:rniwa@webkit.org">rniwa@webkit.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div class="im">On Thu, Mar 8, 2012 at 12:57 AM, Gurpreet Kaur <span dir="ltr"><<a href="mailto:gur.trio@gmail.com" target="_blank">gur.trio@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>Yes I am using older webkit version and have just merged the Microdata patch. When I try to do alert(document.getItems()) via script  I get Object NodeList but .lenght returns 0.</div></blockquote><div><br></div></div>

<div>

That's not a good idea. There have been a number of recent changes to the way DynamicNodeList/HTMLCollection works. In particular, I remember Arko and I fixed a number of bugs in other parts of WebKit to make microdata API work. I highly recommend that you use a newer revision of WebKit that has microdata API instead of using an older revision and manually merging changes.</div>

<div class="im">

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>If possible Can you just explain how is the length calculated?</div></blockquote><div><br></div></div>

<div>

Look at definitions of those two classes.</div><div><br></div><font color="#888888"><div>- Ryosuke</div><div><br></div></font></div>
</blockquote></div><br></div>