Changeset 187304 in webkit
- Timestamp:
- Jul 24, 2015, 12:02:10 AM (11 years ago)
- Location:
- branches/safari-601.1-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
editing/cocoa/EditorCocoa.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-601.1-branch/Source/WebCore/ChangeLog
r187302 r187304 1 2015-07-23 Lucas Forschler <lforschler@apple.com> 2 3 Merge r187130 4 5 2015-07-21 Jon Honeycutt <jhoneycutt@apple.com> 6 7 [iOS] Keyboard bold/italic/underline keys don't highlight after being 8 tapped to style a selection 9 https://bugs.webkit.org/show_bug.cgi?id=147164 10 <rdar://problem/21630806> 11 12 Reviewed by Ryosuke Niwa. 13 14 * editing/cocoa/EditorCocoa.mm: 15 (WebCore::Editor::styleForSelectionStart): 16 Use adjustedSelectionStartForStyleComputation(), which will ensure that 17 we're at the start of the selected node, not at the end of the node 18 before the selection. 19 1 20 2015-07-23 Lucas Forschler <lforschler@apple.com> 2 21 -
branches/safari-601.1-branch/Source/WebCore/editing/cocoa/EditorCocoa.mm
r186086 r187304 37 37 #import "SoftLinking.h" 38 38 #import "Text.h" 39 #import "htmlediting.h" 39 40 40 41 namespace WebCore { … … 48 49 return nullptr; 49 50 50 Position position = frame->selection().selection().visibleStart().deepEquivalent();51 Position position = adjustedSelectionStartForStyleComputation(frame->selection().selection()); 51 52 if (!position.isCandidate() || position.isNull()) 52 53 return nullptr;
Note:
See TracChangeset
for help on using the changeset viewer.