text-decoration-skip: ink does not work with line wraps
[WebKit-https.git] / Source / WebCore / rendering / TextPainter.cpp
index fe8549cc55fe83235943f10315fd58b76e622159..d5bbdb92db49103d8b72bc5f5fcfe02b5f406dc5 100644 (file)
@@ -176,4 +176,11 @@ void TextPainter::paintTextInContext(GraphicsContext& context, float amountToInc
     m_savedDrawingStateForMask = savedDrawingStateForMask;
 }
 
+#if ENABLE(CSS3_TEXT_DECORATION_SKIP_INK)
+DashArray TextPainter::dashesForIntersectionsWithRect(const FloatRect& lineExtents)
+{
+    return m_font.dashesForIntersectionsWithRect(m_textRun, m_textOrigin, lineExtents);
+}
+#endif
+
 } // namespace WebCore