[webkit-changes] [WebKit/WebKit] 80f5cf: Invalidate table borders with writing mode changes

Ahmad Saleem noreply at github.com
Mon Feb 10 07:02:50 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 80f5cfefbfe9c625416a0007849ab8fa9c6294b5
      https://github.com/WebKit/WebKit/commit/80f5cfefbfe9c625416a0007849ab8fa9c6294b5
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2025-02-10 (Mon, 10 Feb 2025)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-tables/border-writing-mode-dynamic-001-expected.txt
    M Source/WebCore/rendering/style/RenderStyleInlines.h

  Log Message:
  -----------
  Invalidate table borders with writing mode changes

https://bugs.webkit.org/show_bug.cgi?id=287361
rdar://144479912

Reviewed by Tim Nguyen.

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

In this patch, we ensure that we invalidate collapsed table borders whenever
writing mode changes by updating 'borderIsEquivalentForPainting'.

Credits to Tim Nguyen for help in coming up with proper fix.

* Source/WebCore/rendering/style/RenderStyleInlines.h:
(borderIsEquivalentForPainting):
* LayoutTests/imported/w3c/web-platform-tests/css/css-tables/border-writing-mode-dynamic-001-expected.txt:

Canonical link: https://commits.webkit.org/290160@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