[webkit-dev] Microdata document.getItems()

Gurpreet Kaur gur.trio at gmail.com
Fri Mar 9 04:12:16 PST 2012


Dear Arko,

I have one request. Can you run the below test cases and let me know the
result?
http://w3c-test.org/html/tests/submission/Opera/microdata/001.html

Regards,
Gurpreet

On Thu, Mar 8, 2012 at 5:48 PM, Gurpreet Kaur <gur.trio at gmail.com> wrote:

> Dear Ryosuke/Arko.
>
> Thanks for the support and the quick response.
>
> Regards,
> Gurpreet
>
>
> On Thu, Mar 8, 2012 at 2:50 PM, Ryosuke Niwa <rniwa at webkit.org> wrote:
>
>> On Thu, Mar 8, 2012 at 12:57 AM, Gurpreet Kaur <gur.trio at gmail.com>wrote:
>>>
>>> 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.
>>>
>>
>>  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.
>>
>> If possible Can you just explain how is the length calculated?
>>>
>>
>>  Look at definitions of those two classes.
>>
>> - Ryosuke
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120309/0fb17142/attachment.html>


More information about the webkit-dev mailing list