[Webkit-unassigned] [Bug 21409] New: select.add(hrElement) doesn't fail

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 6 13:41:22 PDT 2008


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

           Summary: select.add(hrElement) doesn't fail
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ian at hixie.ch


HTMLSelectElement::add has the following line of code:
    if (!element || !(element->hasLocalName(optionTag) ||
element->hasLocalName(hrTag)))
As far as I can tell, the check for the <hr> element is completely bogus.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list