Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b8b7e862b86cf6d61017f0bf6455a9cc5083b648
      
https://github.com/WebKit/WebKit/commit/b8b7e862b86cf6d61017f0bf6455a9cc5083b648
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M Source/WebCore/rendering/AutoTableLayout.cpp
    M Source/WebCore/rendering/AutoTableLayout.h

  Log Message:
  -----------
  Extract AutoTableLayout::isColumnCollapsed helper
https://bugs.webkit.org/show_bug.cgi?id=316638
rdar://179074841

Reviewed by Dan Glastonbury.

The "is this column collapsed?" check (colElement() non-null and
visibility:collapse) was duplicated 12 times across recalcColumn() and
layout(). Factor it into a single isColumnCollapsed() helper. No change in
behavior.

* Source/WebCore/rendering/AutoTableLayout.cpp:
(WebCore::AutoTableLayout::isColumnCollapsed const):
(WebCore::AutoTableLayout::recalcColumn):
(WebCore::AutoTableLayout::layout):
* Source/WebCore/rendering/AutoTableLayout.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to