RESOLVED FIXED 47471
convert editing/selection/script-tests/click-in-margins-inside-editable-div.js to use LayoutTestController::setEditingBehavior
https://bugs.webkit.org/show_bug.cgi?id=47471
Summary convert editing/selection/script-tests/click-in-margins-inside-editable-div.j...
Antonio Gomes
Reported 2010-10-10 11:47:26 PDT
... that way we can share the same expected result to all platforms.
Attachments
(committed r69489, r=kling) patch v1 (18.31 KB, patch)
2010-10-10 23:49 PDT, Antonio Gomes
no flags
Antonio Gomes
Comment 1 2010-10-10 23:49:11 PDT
Created attachment 70425 [details] (committed r69489, r=kling) patch v1 Patch converts the editing/selection/click-in-margins-inside-editable-div to make use of the LayoutTestController::setEditingBehavior machinary. That way, all platform specific editing behavior code paths can be test in the same execution, and we make it possible to share the same expected result file through all ports.
Antonio Gomes
Comment 2 2010-10-10 23:50:18 PDT
Ossy, could double check if patch is ok on qt buildbots, please?
Csaba Osztrogonác
Comment 3 2010-10-11 04:20:40 PDT
(In reply to comment #2) > Ossy, could double check if patch is ok on qt buildbots, please? Done. It works for me.
Andreas Kling
Comment 4 2010-10-11 06:31:34 PDT
Comment on attachment 70425 [details] (committed r69489, r=kling) patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=70425&action=review > LayoutTests/ChangeLog:9 > + LayoutTestController::setEditingBehavior machinary. That way, all platform specific editing behavior s/machinary/machinery/ > LayoutTests/editing/selection/script-tests/click-in-margins-inside-editable-div.js:71 > // Later we could break this into two tests, one that tests each platform's rules, > // since this is supported as a setting in the Settings object, but for now we'll > // just use separate expected results for Mac and other platforms. Seems like this comment should be removed now.
Antonio Gomes
Comment 5 2010-10-11 06:42:29 PDT
Comment on attachment 70425 [details] (committed r69489, r=kling) patch v1 Clearing flags on attachment: 70425. Committed r69489: <http://trac.webkit.org/changeset/69489>
Antonio Gomes
Comment 6 2010-10-11 06:42:56 PDT
(In reply to comment #3) > (In reply to comment #2) > > Ossy, could double check if patch is ok on qt buildbots, please? > Done. It works for me. Thank you for the help.
Note You need to log in before you can comment on or make changes to this bug.