Title: [253324] trunk/Source/WebCore
Revision
253324
Author
[email protected]
Date
2019-12-10 07:15:14 -0800 (Tue, 10 Dec 2019)

Log Message

[LFC][Integration] Output hyphen strings
https://bugs.webkit.org/show_bug.cgi?id=205058

Reviewed by Zalan Bujtas.

* rendering/line/LineLayoutTraversalDisplayRunPath.h:
(WebCore::LineLayoutTraversal::DisplayRunPath::hasHyphen const):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (253323 => 253324)


--- trunk/Source/WebCore/ChangeLog	2019-12-10 14:38:06 UTC (rev 253323)
+++ trunk/Source/WebCore/ChangeLog	2019-12-10 15:15:14 UTC (rev 253324)
@@ -1,3 +1,13 @@
+2019-12-10  Antti Koivisto  <[email protected]>
+
+        [LFC][Integration] Output hyphen strings
+        https://bugs.webkit.org/show_bug.cgi?id=205058
+
+        Reviewed by Zalan Bujtas.
+
+        * rendering/line/LineLayoutTraversalDisplayRunPath.h:
+        (WebCore::LineLayoutTraversal::DisplayRunPath::hasHyphen const):
+
 2019-12-10  Zalan Bujtas  <[email protected]>
 
         [LFC][IFC] Fix fast/text/simple-line-layout-hyphenation-constrains.html

Modified: trunk/Source/WebCore/rendering/line/LineLayoutTraversalDisplayRunPath.h (253323 => 253324)


--- trunk/Source/WebCore/rendering/line/LineLayoutTraversalDisplayRunPath.h	2019-12-10 14:38:06 UTC (rev 253323)
+++ trunk/Source/WebCore/rendering/line/LineLayoutTraversalDisplayRunPath.h	2019-12-10 15:15:14 UTC (rev 253324)
@@ -62,7 +62,7 @@
     bool dirOverride() const { return false; }
     bool isLineBreak() const { return run().isLineBreak(); }
 
-    bool hasHyphen() const { return false; } // FIXME: Implement.
+    bool hasHyphen() const { return run().textContext()->needsHyphen(); }
     StringView text() const { return run().textContext()->content(); }
     unsigned localStartOffset() const { return run().textContext()->start(); }
     unsigned localEndOffset() const { return run().textContext()->end(); }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to