Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 437719382e91fcf4c4210cbf7455c4d9971718f8 https://github.com/WebKit/WebKit/commit/437719382e91fcf4c4210cbf7455c4d9971718f8 Author: Alan Baradlay <za...@apple.com> Date: 2025-08-11 (Mon, 11 Aug 2025)
Changed paths: M Source/WebCore/rendering/RenderTableSection.cpp Log Message: ----------- [orthogonal td] Intrinsic padding computation needs logical width on orthogonal table cells https://bugs.webkit.org/show_bug.cgi?id=297147 Reviewed by Antti Koivisto. Intrinsic padding is specific to table cells. It's what keeps cell content center aligned (non-observable). With non-orthogonal content, row's logical height is used to compute the center position. In case of orthogonal content though, we need the logical width of the cell (in table orientation) to compute the center position for such orthogonal content. (e.g. horizontal table's cell width is needed to center the vertical content). * Source/WebCore/rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::layoutRows): call cellLogicalWidthInTableDirectionIncludingColumnSpan when we need to pass _width_ geometry to RenderTableCell::computeIntrinsicPadding. Canonical link: https://commits.webkit.org/298502@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes