[Webkit-unassigned] [Bug 12249] FCKeditor: <hr>, <ul> and <ol> have id="undefined"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 13 12:41:53 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=12249





------- Comment #20 from darin at apple.com  2007-03-13 12:41 PDT -------
(From update of attachment 13614)
It's usually not good to base things on argCount. Instead it's better to look
at whether args are undefined. Passing undefined should normally have the same
behavior as not passing additional arguments at all. Since undefined toBoolean
becomes false, and undefined to valueToStringWithUndefinedOrNullCheck becomes a
null strings I don't think we need the if statements at all in
JSDocument::execCommand. If we need them, why?


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