It isn't clear if the layout test is telling us that: 1. there's a Chromium bug; non-Mac should render like Mac and isn't 2. the test needs to be modified so the results aren't platform dependent 3. the test needs to be modified to expect platform-dependent results
mitz, rniwa, could you give us some guidance on how you expect Chromium to handle this layout test?
https://bugs.webkit.org/show_bug.cgi?id=92636 --- Comment #3 from mitz@webkit.org 2012-07-30 07:16:06 PST --- The test is failing because of the different selection mode used in some non-OS X ports.
I think there may be a way for TestRunner or Internals to change the selection behavior, so that’s one option. Another option would be to consider both possible results as PASS. Yet another option would be to just remove that point from the test.
internals.settings.setEditingBehavior('mac') should do the trick.
Created attachment 155336 [details] patch v1 So, something like this then?
Thanks for the fix.
Fixed in r124084.