[Webkit-unassigned] [Bug 106616] New: [Microdata] itemtype attribute must update correctly on adding or removing tokens

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 10 16:31:29 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=106616

           Summary: [Microdata] itemtype attribute must update correctly
                    on adding or removing tokens
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arko at motorola.com
                CC: rniwa at webkit.org
            Blocks: 92986


itemType.add() and itemType.remove() must update the itemtype attribute properly.

Test:

var element = document.createElement('div');
element.itemType.add('foo');
element.itemType.add('FOO');
alert(element.getAttribute('itemtype'));

Expected result: element.getAttribute('itemtype') should return 'foo FOO'
Actual result: returns null

Same behavior can be observed with itemref and itemprop attribute.

-- 
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