<attachment>'s label baseline should match that of the surrounding text
[WebKit-https.git] / Source / WebCore / rendering / RenderAttachment.cpp
index 3228078..cf99a44 100644 (file)
@@ -80,6 +80,11 @@ void RenderAttachment::representedFileChanged()
     repaint();
 }
 
+int RenderAttachment::baselinePosition(FontBaseline, bool, LineDirectionMode, LinePositionMode) const
+{
+    return document().page()->theme().attachmentBaseline(*this);
+}
+
 } // namespace WebCore
 
 #endif