[CSS Regions] Fix Layout/RegionsSelection.html in Mac platform
authorrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Dec 2013 22:35:19 +0000 (22:35 +0000)
committerrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Dec 2013 22:35:19 +0000 (22:35 +0000)
commit71a4ea8ac312497c1e2a8b4050718458826197e8
tree4797637039b2249a547f4e0b11ca226790b9247a
parentb784d27ee0ef0b32766028e66beccd7cb06c25a0
[CSS Regions] Fix Layout/RegionsSelection.html in Mac platform
https://bugs.webkit.org/show_bug.cgi?id=124963

Reviewed by Ryosuke Niwa.

Layout/RegionsSelection.html introduced in r159488 was not working in
Mac platform because of it was trying to use mouse events out of the
window dimensions. Use collapse() and extend() methods from Selection
object to solve the issue.

* Layout/resources/regions.js: Use collapse() and extend() instead of
mouse events.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160041 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/ChangeLog
PerformanceTests/Layout/resources/regions.js