[Webkit-unassigned] [Bug 17735] New: queryCommandEnabled('Unlink') returns true with any selection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 9 18:34:20 PDT 2008


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

           Summary: queryCommandEnabled('Unlink') returns true with any
                    selection
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: All
               URL: http://tom.me.uk/2008/3/webkit-execcommand-unlink.html
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tom at tom.me.uk


document.queryCommandEnabled('Unlink') always returns true when any text in an
editable region is selected, whether it contains a link or not. 

It should only return true when a link is within the selection, meaning
document.execCommand('Unlink') would have any effect. This is how IE does it.

See URL for testcase.


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