Summary: | DOM Selection: collapseToStart() and collapseToEnd() should throw INVALID_STATE_ERR if there's no selection | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ap | ||||
Priority: | P2 | Keywords: | HTML5 | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Andreas Kling
2010-08-25 03:39:03 PDT
Created attachment 65396 [details]
Proposed patch
Do these raise an exception in Firefox? Raising exceptions where we didn't use to can be a significant compatibility issue, because if any page depended on the old behavior, it often stops working completely. (In reply to comment #2) > Do these raise an exception in Firefox? No, only IE9 implements this behavior so far AFAIK. Comment on attachment 65396 [details] Proposed patch Clearing flags on attachment: 65396 Committed r66590: <http://trac.webkit.org/changeset/66590> All reviewed patches have been landed. Closing bug. |