git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
text-decoration-skip: ink does not work with line wraps
[WebKit-https.git]
/
Source
/
WebCore
/
rendering
/
TextPainter.cpp
diff --git
a/Source/WebCore/rendering/TextPainter.cpp
b/Source/WebCore/rendering/TextPainter.cpp
index fe8549cc55fe83235943f10315fd58b76e622159..d5bbdb92db49103d8b72bc5f5fcfe02b5f406dc5 100644
(file)
--- a/
Source/WebCore/rendering/TextPainter.cpp
+++ b/
Source/WebCore/rendering/TextPainter.cpp
@@
-176,4
+176,11
@@
void TextPainter::paintTextInContext(GraphicsContext& context, float amountToInc
m_savedDrawingStateForMask = savedDrawingStateForMask;
}
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
} // namespace WebCore