[Webkit-unassigned] [Bug 80490] [Microdata] Implement cache mechanism for HTMLPropertiesCollection.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 12 00:42:19 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=80490
--- Comment #6 from Ryosuke Niwa <rniwa at webkit.org> 2012-03-12 00:42:19 PST ---
Thanks for the clarification.
(In reply to comment #5)
> With itemref attribute we can specify the additional properties of an item. Those properties will not be children of the item as they are added through itmref attribute.
>
> Now to find the properties of an item we do the below steps as per spec :
> 1. Find all children of the item with itemprop attribute.
If we're currently in one of these children, then we can simply look for the next sibling.
> 2. Find the properties which are added through the itemref attribute. In the example: find element with id 'id1', 'id2'. Then find the properties of id1, id2
We can probably cache a sorted (in tree order) list of these itemref ids. We can then use it to find the next element with the said id in the tree order.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list