REGRESSION (r160908): Unable to unset bold while entering text
[WebKit-https.git] / Source / WebCore / ChangeLog
index 58e574d..6e63043 100644 (file)
@@ -1,3 +1,26 @@
+2014-06-23  Antti Koivisto  <antti@apple.com>
+
+        REGRESSION (r160908): Unable to unset bold while entering text
+        https://bugs.webkit.org/show_bug.cgi?id=134196
+        <rdar://problem/17051653>
+
+        Reviewed by Andreas Kling.
+        
+        No test, this code path is used by some WK1 API clients only.
+
+        * editing/Editor.cpp:
+        (WebCore::Editor::styleForSelectionStart):
+        
+            This needs to update the style before requesting the renderer.
+
+        * editing/Editor.h:
+        * editing/ios/EditorIOS.mm:
+        (WebCore::styleForSelectionStart): Deleted.
+        * editing/mac/EditorMac.mm:
+        (WebCore::styleForSelectionStart): Deleted.
+        
+            Removed the duplicated functions, moved to Editor.cpp.
+
 2014-06-23  Alex Christensen  <achristensen@webkit.org>
 
         [iOS] Fix video in WebGL.