[webkit-changes] [WebKit/WebKit] f6a9f2: Table DOM manipulations that require reflow do not...

Alan Baradlay noreply at github.com
Fri Oct 4 12:21:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f6a9f208c8d7f588ff424d67162e6685de681407
      https://github.com/WebKit/WebKit/commit/f6a9f208c8d7f588ff424d67162e6685de681407
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-10-04 (Fri, 04 Oct 2024)

  Changed paths:
    A LayoutTests/fast/table/incorrect-preferred-widths-when-going-from-fixed-to-auto-expected.html
    A LayoutTests/fast/table/incorrect-preferred-widths-when-going-from-fixed-to-auto.html
    M Source/WebCore/rendering/RenderTable.cpp

  Log Message:
  -----------
  Table DOM manipulations that require reflow do not always trigger reflow
https://bugs.webkit.org/show_bug.cgi?id=280852

Reviewed by Antti Koivisto.

When going from fixed to auto table layout, cell's preferred widths need to be set back to dirty
as fixed layout cleans without computing them (there's some reason for that, see FixedTableLayout::calcWidthArray).

* LayoutTests/fast/table/incorrect-preferred-widths-when-going-from-fixed-to-auto-expected.html: Added.
* LayoutTests/fast/table/incorrect-preferred-widths-when-going-from-fixed-to-auto.html: Added.
* Source/WebCore/rendering/RenderTable.cpp:
(WebCore::RenderTable::styleDidChange):

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



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


More information about the webkit-changes mailing list