[webkit-dev] Microdata document.getItems()

Gurpreet Kaur gur.trio at gmail.com
Sun Mar 11 21:16:48 PDT 2012


Hi Arko,

Were you able to run this test case? Presently only Opera supports
Microdata and these test cases have been uploaded by them. Just wanted to
know whether all the test cases are correct or not.

Thanks and Regards,
Gurpreet

On Fri, Mar 9, 2012 at 5:42 PM, Gurpreet Kaur <gur.trio at gmail.com> wrote:

> 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/20120312/5735859c/attachment.html>


More information about the webkit-dev mailing list