Title: [295204] trunk/Source/WebCore/rendering/RenderTable.cpp
Revision
295204
Author
commit-qu...@webkit.org
Date
2022-06-03 06:59:08 -0700 (Fri, 03 Jun 2022)

Log Message

Layout table captions in simplified layout
https://bugs.webkit.org/show_bug.cgi?id=241262

Patch by Rob Buis <rb...@igalia.com> on 2022-06-03
Reviewed by Alan Bujtas.

Layout table captions in simplified layout.

* Source/WebCore/rendering/RenderTable.cpp:
(WebCore::RenderTable::simplifiedNormalFlowLayout):

Canonical link: https://commits.webkit.org/251261@main

Modified Paths

Diff

Modified: trunk/Source/WebCore/rendering/RenderTable.cpp (295203 => 295204)


--- trunk/Source/WebCore/rendering/RenderTable.cpp	2022-06-03 13:31:49 UTC (rev 295203)
+++ trunk/Source/WebCore/rendering/RenderTable.cpp	2022-06-03 13:59:08 UTC (rev 295204)
@@ -413,6 +413,8 @@
 
 void RenderTable::simplifiedNormalFlowLayout()
 {
+    for (auto& caption : m_captions)
+        caption->layoutIfNeeded();
     for (RenderTableSection* section = topSection(); section; section = sectionBelow(section)) {
         section->layoutIfNeeded();
         section->computeOverflowFromCells();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to