Bug 38009 - Selection change notification not posted for change in writing direction
Summary: Selection change notification not posted for change in writing direction
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-22 15:44 PDT by Justin Garcia
Modified: 2010-04-22 15:44 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Garcia 2010-04-22 15:44:19 PDT
For an ApplyStyleCommand("direction:ltr") on the following DOM:

<div style="direction:rtl">^<br></div>

we don't send a selection change notification after the operation because the old selection and new selection are the "same".  The change in the DOM was so minor that the old selection is still valid and setSelection() doesn't bother sending a selection change notification.

Test case coming.