[Webkit-unassigned] [Bug 257575] New: RenderTable::BottomSection() should return the last rendered table section

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 31 17:21:04 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=257575

            Bug ID: 257575
           Summary: RenderTable::BottomSection() should return the last
                    rendered table section
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Hi Team,

Just came across following potential bug fix but without Layout Test case, so I would leave it for someone else to fix but just wanted to raise.

Blink Commit: https://chromium.googlesource.com/chromium/src.git/+/9c14979722d3761c5449f3ef9f68bd2fee4f82a0

WebKit Source: https://github.com/WebKit/WebKit/blob/734687da6292d68e3d571f781719887cc8e74bbd/Source/WebCore/rendering/RenderTable.cpp#L1435

Patch:

if (m_foot)
        return m_foot.get();
    if (m_head && !firstBody())
        return m_head.get();
    for (RenderObject* child = lastChild(); child; child = child->previousSibling()) {
        if (child == m_head)
            continue;


____________-

Just wanted to raise, so we can fix it.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230601/fed7b51e/attachment-0001.htm>


More information about the webkit-unassigned mailing list