WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
124963
[CSS Regions] Fix Layout/RegionsSelection.html in Mac platform
https://bugs.webkit.org/show_bug.cgi?id=124963
Summary
[CSS Regions] Fix Layout/RegionsSelection.html in Mac platform
Manuel Rego Casasnovas
Reported
2013-11-28 01:55:40 PST
The performance test Layout/RegionsSelection.html introduced in
r159488
is not working properly in Mac platform. In Mac it takes just a few milliseconds to run the test, while in GTK+ and Blink (Linux) it takes more than 1 second (of course depending on the the machine). It seems that the test actually is not selecting anything due to mouse events being done out of the window dimensions. I think we should use setBaseAndExtent() to fix this test and in the future if we think it's needed we could add a new test that fits in the window size performing selection using mouse events.
Attachments
Patch
(2.22 KB, patch)
2013-11-28 01:57 PST
,
Manuel Rego Casasnovas
no flags
Details
Formatted Diff
Diff
Patch
(2.28 KB, patch)
2013-12-03 13:42 PST
,
Manuel Rego Casasnovas
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Manuel Rego Casasnovas
Comment 1
2013-11-28 01:57:28 PST
Created
attachment 217987
[details]
Patch
Ryosuke Niwa
Comment 2
2013-12-03 13:19:37 PST
Comment on
attachment 217987
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=217987&action=review
> PerformanceTests/Layout/resources/regions.js:95 > + window.getSelection().setBaseAndExtent(paragraphs[0], 0, paragraphs[i], 0);
setBaseAndExtent is a non-standard API so perhaps we want to use collapse & extend? Also, we don't need "window.".
Manuel Rego Casasnovas
Comment 3
2013-12-03 13:42:19 PST
Created
attachment 218335
[details]
Patch
WebKit Commit Bot
Comment 4
2013-12-03 14:32:31 PST
Comment on
attachment 218335
[details]
Patch Clearing flags on attachment: 218335 Committed
r160041
: <
http://trac.webkit.org/changeset/160041
>
WebKit Commit Bot
Comment 5
2013-12-03 14:32:33 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug