1. Support for itemid attribute. The itemid attribute specified, to give a global identifier for the Microdata item, so that it can be related to other items on pages elsewhere on the Web. The itemid attribute, if specified, must have a value that is a valid URL potentially surrounded by spaces. Here is the spec : http://www.whatwg.org/specs/web-apps/current-work/multipage/microdata.html#attr-itemid 2. Add test-cases for itemid attribute.
Created attachment 112666 [details] Patch
Comment on attachment 112666 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=112666&action=review > Source/WebCore/ChangeLog:8 > + The itemid attribute specified, to give a global identifier for the Microdata item. specified, to give?
Created attachment 112697 [details] Updated patch
Hi Ryosuke, can you please review the patch? Thanks.
Comment on attachment 112697 [details] Updated patch View in context: https://bugs.webkit.org/attachment.cgi?id=112697&action=review > LayoutTests/fast/dom/MicroData/itemid-attribute-test-expected.txt:18 > +PASS createElement('div', {itemid: ' http://example.com/foo '}).itemId == 'http://example.com/foo'; is true You should test leading whitespace as well.
Created attachment 113049 [details] Updated patch Incorporating review comments.
Comment on attachment 113049 [details] Updated patch Clearing flags on attachment: 113049 Committed r98888: <http://trac.webkit.org/changeset/98888>
All reviewed patches have been landed. Closing bug.