Title: [281310] trunk/Source/WebCore
Revision
281310
Author
[email protected]
Date
2021-08-20 06:18:36 -0700 (Fri, 20 Aug 2021)

Log Message

[IFC][Integration] Enable custom hyphen strings
https://bugs.webkit.org/show_bug.cgi?id=229049

Reviewed by Antti Koivisto.

This was most likely the case of non-primary font handling in SLL. It just works in IFC.

* layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForStyle):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (281309 => 281310)


--- trunk/Source/WebCore/ChangeLog	2021-08-20 12:56:14 UTC (rev 281309)
+++ trunk/Source/WebCore/ChangeLog	2021-08-20 13:18:36 UTC (rev 281310)
@@ -1,3 +1,15 @@
+2021-08-20  Alan Bujtas  <[email protected]>
+
+        [IFC][Integration] Enable custom hyphen strings
+        https://bugs.webkit.org/show_bug.cgi?id=229049
+
+        Reviewed by Antti Koivisto.
+
+        This was most likely the case of non-primary font handling in SLL. It just works in IFC.
+
+        * layout/integration/LayoutIntegrationCoverage.cpp:
+        (WebCore::LayoutIntegration::canUseForStyle):
+
 2021-08-20  Tim Nguyen  <[email protected]>
 
         Initial implementation of inert subtrees

Modified: trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp (281309 => 281310)


--- trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp	2021-08-20 12:56:14 UTC (rev 281309)
+++ trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp	2021-08-20 13:18:36 UTC (rev 281310)
@@ -577,11 +577,6 @@
     // See RenderBlock::updateSecurityDiscCharacters.
     if (style.textSecurity() != TextSecurity::None)
         SET_REASON_AND_RETURN_IF_NEEDED(FlowHasTextSecurity, reasons, includeReasons);
-    if (style.hyphens() == Hyphens::Auto) {
-        auto textReasons = canUseForText(style.hyphenString(), style.fontCascade(), std::nullopt, false, includeReasons);
-        if (textReasons)
-            ADD_REASONS_AND_RETURN_IF_NEEDED(textReasons, reasons, includeReasons);
-    }
     return reasons;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to