contenteditable justify commands applied to next paragraph as well
[WebKit-https.git] / Source / WebCore / ChangeLog
index efbf12f1a5802bbe6aa72c6699573fed8045de39..86a1bef76c0a7b4a38c367d3fe6bf627d899f439 100644 (file)
@@ -1,3 +1,22 @@
+2013-10-01  Santosh Mahto  <santosh.ma@samsung.com>
+
+        contenteditable justify commands applied to next paragraph as well
+        https://bugs.webkit.org/show_bug.cgi?id=90611
+
+        Reviewed by Ryosuke Niwa.
+
+        When the selection extends from first paragraph to start of next
+        paragraph then Justify command is applied to both the paragraph,
+        Instead it should be applied only to first paragraph.
+
+        Co-author: Sudarshan C P <sudarshan.cp@samsung.com>
+
+        Test: editing/execCommand/contenteditable-justify-next-paragraph.html
+
+        * editing/ApplyStyleCommand.cpp:
+        (WebCore::ApplyStyleCommand::applyBlockStyle):
+        Adjusted visibleEnd to previous position.
+
 2013-10-01  Andreas Kling  <akling@apple.com>
 
         Move mouse event dispatch from Node to Element.