[Webkit-unassigned] [Bug 44598] New: DOM Selection: collapseToStart() and collapseToEnd() should throw INVALID_STATE_ERR if there's no selection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 25 03:39:03 PDT 2010


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

           Summary: DOM Selection: collapseToStart() and collapseToEnd()
                    should throw INVALID_STATE_ERR if there's no selection
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: HTML5
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andreas.kling at nokia.com


Selection.collapseToStart() and Selection.collapseToEnd() should throw INVALID_STATE_ERR if no selection is made.

This would cause us to pass the following test on IE Test Center:
http://samples.msdn.microsoft.com/ietestcenter/html5/selection/emptyselection_invalidStateErr.htm

Spec links:
http://www.whatwg.org/specs/web-apps/current-work/#dom-selection-collapsetostart
http://www.whatwg.org/specs/web-apps/current-work/#dom-selection-collapsetoend

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