Title: [268285] trunk/Source/WebCore
- Revision
- 268285
- Author
- [email protected]
- Date
- 2020-10-09 13:05:42 -0700 (Fri, 09 Oct 2020)
Log Message
[LFC][Integration] Overflow clip blocks visual overflow
https://bugs.webkit.org/show_bug.cgi?id=217526
Reviewed by Antti Koivisto.
This is in preparation for enabling 'overflow: hidden' for IFC.
* layout/integration/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::collectOverflow):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (268284 => 268285)
--- trunk/Source/WebCore/ChangeLog 2020-10-09 20:04:13 UTC (rev 268284)
+++ trunk/Source/WebCore/ChangeLog 2020-10-09 20:05:42 UTC (rev 268285)
@@ -1,5 +1,17 @@
2020-10-09 Zalan Bujtas <[email protected]>
+ [LFC][Integration] Overflow clip blocks visual overflow
+ https://bugs.webkit.org/show_bug.cgi?id=217526
+
+ Reviewed by Antti Koivisto.
+
+ This is in preparation for enabling 'overflow: hidden' for IFC.
+
+ * layout/integration/LayoutIntegrationLineLayout.cpp:
+ (WebCore::LayoutIntegration::LineLayout::collectOverflow):
+
+2020-10-09 Zalan Bujtas <[email protected]>
+
[LFC][Integration] Expand the line content width with the caret when applicable
https://bugs.webkit.org/show_bug.cgi?id=217527
Modified: trunk/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp (268284 => 268285)
--- trunk/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp 2020-10-09 20:04:13 UTC (rev 268284)
+++ trunk/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp 2020-10-09 20:05:42 UTC (rev 268285)
@@ -295,7 +295,8 @@
for (auto& line : inlineContent()->lines) {
flow.addLayoutOverflow(Layout::toLayoutRect(line.scrollableOverflow()));
- flow.addVisualOverflow(Layout::toLayoutRect(line.inkOverflow()));
+ if (!flow.hasOverflowClip())
+ flow.addVisualOverflow(Layout::toLayoutRect(line.inkOverflow()));
}
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes