[webkit-changes] [WebKit/WebKit] f4a355: Table-layout:fixed is not applied when width is ma...

Ahmad Saleem noreply at github.com
Sat Feb 18 00:46:30 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f4a3552fc9e6f99ec970c124cb30733d438fac9e
      https://github.com/WebKit/WebKit/commit/f4a3552fc9e6f99ec970c124cb30733d438fac9e
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-02-18 (Sat, 18 Feb 2023)

  Changed paths:
    M Source/WebCore/rendering/style/RenderStyle.h

  Log Message:
  -----------
  Table-layout:fixed is not applied when width is max-content

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

Reviewed by Alan Baradlay.

This patch aligns WebKit with Blink / Chromium and Gecko / Firefox.

Merge - https://chromium.googlesource.com/chromium/src/+/8353c86f025f1556fa9fd18b516751259d49a7cf

This patch updates 'isFixedTableLayout' function to align with web-specification [1] and
fixes sizing issue in case of max-content.

[1] https://www.w3.org/TR/css-tables-3/#table-layout-property

In local testing, it has progressed following:

WPT Test: http://wpt.live/css/css-tables/fixed-layout-2.html
Sub-Test Progressed: Table-layout:fixed is not applied when width is max-content

* Source/WebCore/rendering/style/RenderStyle.h: Update as per above

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




More information about the webkit-changes mailing list