<attachment>'s label baseline should match that of the surrounding text
[WebKit-https.git] / Source / WebCore / ChangeLog
index 2a4f72a..bf02f1b 100644 (file)
@@ -1,3 +1,24 @@
+2015-02-27  Timothy Horton  <timothy_horton@apple.com>
+
+        <attachment>'s label baseline should match that of the surrounding text
+        https://bugs.webkit.org/show_bug.cgi?id=142099
+        rdar://problem/19982495
+
+        Reviewed by Dan Bernstein.
+
+        * rendering/RenderAttachment.cpp:
+        (WebCore::RenderAttachment::baselinePosition):
+        * rendering/RenderAttachment.h:
+        Override baselinePosition and retrieve it from RenderTheme.
+
+        * rendering/RenderTheme.h:
+        (WebCore::RenderTheme::attachmentBaseline):
+        * rendering/RenderThemeMac.h:
+        * rendering/RenderThemeMac.mm:
+        (WebCore::AttachmentLayout::AttachmentLayout):
+        (WebCore::RenderThemeMac::attachmentBaseline):
+        Plumb the label baseline from AttachmentLayout to RenderAttachment.
+
 2015-02-27  Commit Queue  <commit-queue@webkit.org>
 
         Unreviewed, rolling out r180752.