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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 11 10:58:07 PDT 2007


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


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at webkit.org




------- Comment #15 from ap at webkit.org  2007-03-11 10:58 PDT -------
(In reply to comment #12)
> By ECMA definition, "undefined == null". Calling back the execCommand definition for
> InsertHorizontalRule, the second and third parameters may be omitted or *set to null*.

While it is true that "undefined == null", this doesn't mean that "undefined"
and "null" are the same. For example, they give different results when
converted to string.

Looks like IE has a non-documented quirk when converting to what they call a
"variant" (see
<http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/execcommand.asp>)
- they treat undefined as null in this particular case. I'm not sure if it can
be expressed in IDL, CC'ing Sam Weinig to comment on this.


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