Status: Untriaged Owner: ---- CC: [email protected], [email protected], [email protected] Labels: Type-Bug Pri-2 OS-Mac Area-WebKit Size-Medium LayoutTests LTTF
New issue 20833 by [email protected]: Chrome Mac should use Mac editing behaviors instead of Windows editing behaviors http://code.google.com/p/chromium/issues/detail?id=20833 Some editing behaviors are controlled by a setting, such as: 1) Clicking below the last line of an editable area puts the caret at the end of the last line on Mac, but in the middle of the last line on Windows. 2) Pushing the down arrow key on the last line puts the caret at the end of the last line on Mac, but does nothing on Windows. A similar case exists on the top line. The setting is set based on PLATFORM(MAC), so Chrome, no matter what platform, falls back to Windows behaviors. See WebKit/WebCore/page/Settings.cpp where it sets EditingMacBehavior or EditingWindowsBehavior depending on PLATFORM(MAC). The right fix is probably to change PLATFORM(MAC) to OS(MAC), but that will need buy off from WebKit (maciej?). This issue causes at least the following LayoutTests to fail: LayoutTests/editing/selection/click-in-margins-inside-editable-div.html LayoutTests/editing/selection/click-in-padding-with-multiple-line-boxes.html Another bug showing a symptom of this: http://code.google.com/p/chromium/issues/detail?id=20029 -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
