[Webkit-unassigned] [Bug 10734] New: HTMLOptionElement should not allow setting the text and index attributes

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon Sep 4 15:39:13 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10734

           Summary: HTMLOptionElement should not allow setting the text and
                    index attributes
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: sam.weinig at gmail.com


According to the DOM spec, both the "text" and "index" attributes of the
HTMLOptionElement should be readonly
(http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/html.html#ID-70901257).
 We currently allow setting for both, but throw an exception when setting the
"index" element.

One issue may be that the DOM Level 1 (Version 1.0) spec says that the "index"
element shouldn't be readonly, and that fact is noted in the IDL with a FIXME
that states, "FIXME: We disallow setting in violation of DOM 1 HTML".


-- 
Configure bugmail: http://bugzilla.opendarwin.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