Make outside-shape the default value for shape-inside
[WebKit-https.git] / Source / WebCore / ChangeLog
index 3e8bcbf926ef5365452b56f773105b55a7e10809..9f1c51025dd6a7f70de14131bc70c57ba215b70c 100644 (file)
@@ -1,3 +1,22 @@
+2013-02-14  Bear Travis  <betravis@adobe.com>
+
+        Make outside-shape the default value for shape-inside
+        https://bugs.webkit.org/show_bug.cgi?id=109605
+
+        Reviewed by Levi Weintraub.
+
+        Creating a single reference outside-shape value and setting it as the default
+        for shape-inside.
+
+        Existing tests cover the default value, just updating them to use outside-shape.
+
+        * rendering/style/RenderStyle.cpp:
+        (WebCore::RenderStyle::initialShapeInside): Define a local static outside-shape
+        value.
+        (WebCore):
+        * rendering/style/RenderStyle.h: Move the initialShapeInside method to the .cpp
+        file.
+
 2013-02-14  Min Qin  <qinmin@chromium.org>
 
         Passing alpha to DeferredImageDecoder once decoding completes