Title: [280446] trunk/Source/WebCore
- Revision
- 280446
- Author
- za...@apple.com
- Date
- 2021-07-29 13:59:46 -0700 (Thu, 29 Jul 2021)
Log Message
[LFC][Integration] Disable hanging punctuation content
https://bugs.webkit.org/show_bug.cgi?id=228598
Reviewed by Antti Koivisto.
Currently we only check the root for hanging punctuation, but it is applicable to all elements including inline boxes.
* layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForChild):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (280445 => 280446)
--- trunk/Source/WebCore/ChangeLog 2021-07-29 20:43:17 UTC (rev 280445)
+++ trunk/Source/WebCore/ChangeLog 2021-07-29 20:59:46 UTC (rev 280446)
@@ -1,3 +1,15 @@
+2021-07-29 Alan Bujtas <za...@apple.com>
+
+ [LFC][Integration] Disable hanging punctuation content
+ https://bugs.webkit.org/show_bug.cgi?id=228598
+
+ Reviewed by Antti Koivisto.
+
+ Currently we only check the root for hanging punctuation, but it is applicable to all elements including inline boxes.
+
+ * layout/integration/LayoutIntegrationCoverage.cpp:
+ (WebCore::LayoutIntegration::canUseForChild):
+
2021-07-29 Kate Cheney <katherine_che...@apple.com>
GetIdentifierStringForPreferredVoiceInListWithLocale() is deprecated in Monterey
Modified: trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp (280445 => 280446)
--- trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp 2021-07-29 20:43:17 UTC (rev 280445)
+++ trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp 2021-07-29 20:59:46 UTC (rev 280446)
@@ -637,6 +637,8 @@
return false;
if (style.boxShadow())
return false;
+ if (!style.hangingPunctuation().isEmpty())
+ return false;
return true;
};
#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes