[BlackBerry] Handle the case that start/end position is out of unclipped selection region
https://bugs.webkit.org/show_bug.cgi?id=106486

Patch by Yongxin Dai <yodai@rim.com> on 2013-01-10
Reviewed by Rob Buis.

PR #270624
Unclipped selection region should cover start/end position of the selection.
Since we exclude hidden text when calculating unclipped selection region, the
start/end position can be out of unclipped selection region if it is for hidden
text. If that is the case, start/end handle will be invisible. To avoid invisible
handle, we take unclipped selection region as reference rectangle in the case.

Internally reviewed by Genevieve Mak, Mike Fenton

* WebKitSupport/SelectionHandler.cpp:
(BlackBerry::WebKit::referencePoint):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139295 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening.

Adding a platform-specific baseline for a CSS Regions test.
Adding a missing expectation for the fast/repaint/caret-with-transformation.html layout test.

* platform/gtk/TestExpectations:
* platform/gtk/fast/regions/selecting-text-through-different-region-flows-expected.txt: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139296 268f45cc-cd09-0410-ab3c-d52691b4dbfc