[Webkit-unassigned] [Bug 30836] Creating a link when selecting multiple nodes creates multiple links

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 27 16:30:16 PDT 2009


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


Julie Parent <jparent at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |GoogleBug
                 CC|                            |enrica at apple.com,
                   |                            |jparent at google.com
     Ever Confirmed|0                           |1




--- Comment #1 from Julie Parent <jparent at google.com>  2009-10-27 16:30:16 PDT ---
Standalone demo:
http://www.plexode.com/cgi-bin/eval3.py#ht=%3Cdiv%20id%3D'foo'%20contentEditable%3Efoo%3Cb%3Ebar%3C%2Fb%3Ebaz%3C%2Fdiv%3E&ohh=1&ohj=1&jt=gebi('foo').focus()%3B%0Adocument.execCommand(%22SelectAll%22)%3B%0Adocument.execCommand(%22createLink%22%2C%20false%2C%20%22http%3A%2F%2Fwww.google.com%22)%3B%0A%0A%2F%2F%20Should%20have%20only%20one%20anchor%20tag%0Aif%20(foo.getElementsByTagName('A').length%20%3D%3D%201)%20%7B%0A%20%20alert(%22PASS%22)%3B%0A%7D%20else%20%7B%0A%20%20alert(%22FAIL%22)%3B%0A%7D&ojh=1&ojj=1&ms=100&oth=0&otj=0&cex=1,
will alert PASS if one link is created, FAIL otherwise

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