[Webkit-unassigned] [Bug 16309] List elements created in contentEditable gets an incorrect id attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 11 14:02:47 PST 2007


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





------- Comment #5 from justin.garcia at apple.com  2007-12-11 14:02 PDT -------
(In reply to comment #3)
> The arguments can not be omitted in Firefox and using false as the last
> argument works fine in IE, FF and Opera so it's only Safari who has a problem
> with it but I guess we could simply start using null instead will go though the
> code to use that then.

FireFox and Opera don't appear to support the ability to set an id with the
third argument at all so I don't think they are a fair comparison.

IE6 doesn't either for that matter, unless I'm missing something.  Here's my
testcase:

<body contenteditable="true">
<script>
document.body.focus();
document.execCommand("InsertUnorderedList", false, "hello");
alert(document.getElementsByTagName("ul")[0].id);
<script>
</body>


> 


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