Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 67016b15476f5d4e7c6f9668461a2b53519fdc6b
      
https://github.com/WebKit/WebKit/commit/67016b15476f5d4e7c6f9668461a2b53519fdc6b
  Author: Alan Baradlay <[email protected]>
  Date:   2026-10-01 (Thu, 01 Oct 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-tables/fixed-layout-2-expected.txt
    M Source/WebCore/style/computed/StyleComputedStyle+GettersInlines.h

  Log Message:
  -----------
  [css-tables] table-layout: fixed is ignored when the width is intrinsic, 
min-intrinsic or a calc-size() over auto or max-content
https://bugs.webkit.org/show_bug.cgi?id=324991
<rdar://problem/188201473>

Reviewed by Antti Koivisto.

    <div style="width: 0">
      <table style="table-layout: fixed; width: calc-size(auto, size)">
        <tr><td style="width: 50px"><div style="width: 
100px"></div></td><td></td></tr>
      </table>
    </div>

The table is 50px wide, the width of its first column. It was 100px, because 
the table was laid out
in auto mode, where the column grows to fit its content.

A table is in fixed mode unless its inline size is auto or max-content.

* Source/WebCore/style/computed/StyleComputedStyle+GettersInlines.h:
(WebCore::Style::ComputedStyle::isFixedTableLayout const):
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-tables/fixed-layout-2-expected.txt:

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



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

Reply via email to