[webkit-changes] [WebKit/WebKit] a47442: Ignore calc() values on colgroup elements

Ahmad Saleem noreply at github.com
Wed Oct 11 07:28:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a47442a35d9c773236814d0f5868a81db79cc8dc
      https://github.com/WebKit/WebKit/commit/a47442a35d9c773236814d0f5868a81db79cc8dc
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-10-11 (Wed, 11 Oct 2023)

  Changed paths:
    A LayoutTests/fast/table/calculated-width-on-col-within-colgroup-expected.txt
    A LayoutTests/fast/table/calculated-width-on-col-within-colgroup.html
    M Source/WebCore/rendering/AutoTableLayout.cpp

  Log Message:
  -----------
  Ignore calc() values on colgroup elements

https://bugs.webkit.org/show_bug.cgi?id=253841
rdar://problem/106692191

Reviewed by Alan Baradlay.

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

Merge - https://src.chromium.org/viewvc/blink?view=revision&revision=193912

This patch add condition to ignore calc() values on 'colgroup' elements to align with
web-spec.

* Source/WebCore/rendering/AutoTableLayout.cpp:
(AutoTableLayout::fullRecalc): Add 'isCalculated' condition
* LayoutTests/fast/table/calculated-width-on-col-within-colgroup.html: Add Test Case
* LayoutTests/fast/table/calculated-width-on-col-within-colgroup-expected.txt: Add Test Case Expectation

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




More information about the webkit-changes mailing list