Get rid of Position::computedStyle
[WebKit-https.git] / Source / WebCore / ChangeLog
index 808d458ff9f361daf7aedceb044197be3881a778..5ec545d488359fbd53651b061293a57048264247 100644 (file)
@@ -1,3 +1,21 @@
+2013-05-30  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Get rid of Position::computedStyle
+        https://bugs.webkit.org/show_bug.cgi?id=117024
+
+        Reviewed by Andreas Kling.
+
+        Removed the function.
+
+        * dom/Position.cpp:
+        * dom/Position.h:
+        * editing/ApplyStyleCommand.cpp:
+        (WebCore::ApplyStyleCommand::positionToComputeInlineStyleChange): We need a position
+        inside the dummy element since we'll get the containing element's style instead
+        if we had the position before the dummy element.
+        * editing/EditingStyle.cpp:
+        (WebCore::StyleChange::StyleChange):
+
 2013-05-30  Seokju Kwon  <seokju.kwon@gmail.com>
 
         Remove obsolete forward declaration from InspectorFrontendHost.h