[Webkit-unassigned] [Bug 37130] Add the const modififier to HTMLLabelElement::correspondingControl

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 5 18:34:42 PDT 2010


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





--- Comment #2 from Darin Adler <darin at apple.com>  2010-04-05 18:34:41 PST ---
(From update of attachment 52594)
Generally speaking, it's not all that helpful to have const in the DOM tree.
You can't traverse the tree without losing the const modifier anyway, so it's
not normally a useful distinction, although we do have const here and there on
DOM objects. Similarly, the notion of a const pointer to a DOM element doesn't
exist in JavaScript or even in Objective-C.

Is it really important to be able to do this operation on a const
HTMLLabelElement*? When would one of those even arise?

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