Created attachment 8517268 [details] 2014-11-05-02-30-19.png Steps to reproduce: 1. Open UI tests app 2. Choose API at the bottom 3. Choose Copy Paste 4. Long press to select a word 5. Rotate the device to landscape mode Result: The position of selection carets does not update. See the attached 2014-11-05-02-30-19.png Expected: The position of selection carets should be correct.
Created attachment 8517274 [details] [diff] [review] Update selection carets after reflow. r=roc (v1) Let SelectionCarets inherits from nsIReflowObserver so it could refresh its position after reflow. This fixes the incorrect position of selection carets after we rotate the device to change the screen from portrait mode to landscape mode and vice versa. Try result: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=2f494ed38bbd
Attachment #8517274 - Flags: review?(roc)
Attachment #8517274 - Flags: review?(roc) → review+
Created attachment 8517914 [details] [diff] [review] Update selection carets after reflow. r=roc (v2, carry r+) Rebase and delete an superfluous blank line in the constructor.
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.