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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 10 02:45:40 PST 2007


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


fredck at fredck.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




------- Comment #7 from fredck at fredck.com  2007-03-10 02:45 PDT -------
(In reply to comment #5)
> Seems like we're behaving correctly, closing.

According to the only "standards" we have regarding it, only the first
parameter is required. The rest is optional. Check this out:
http://msdn.microsoft.com/workshop/author/dhtml/reference/constants/inserthorizontalrule.asp

So it is correct to call document.execCommand('InsertHorizontalRule'). Actually
this is its most common usage, as it is quite uncommon to require an id for
those elements (developers would be forced to implement a unique id provider
logic just to avoid id duplications).

Just to correct my last comment, the TC is giving id="false" because it is
actually passing "false" as the third parameter, instead of null. I'll be
attaching a new TC which gives id="undefined" instead, by just omitting that
parameter.


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