Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0f0cfd3172f3641540cb33904a41cfe08aefdfde
      
https://github.com/WebKit/WebKit/commit/0f0cfd3172f3641540cb33904a41cfe08aefdfde
  Author: Alan Baradlay <[email protected]>
  Date:   2026-10-06 (Tue, 06 Oct 2026)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-tables/dynamic-table-cell-block-size-vertical-rl-expected.xht
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-tables/dynamic-table-cell-block-size-vertical-rl.html
    M Source/WebCore/rendering/RenderTableCell.cpp

  Log Message:
  -----------
  Changing a table cell's width does not resize its row in a vertical writing 
mode table
https://bugs.webkit.org/show_bug.cgi?id=326531
<rdar://problem/189322207>

Reviewed by Antti Koivisto.

  <table style="writing-mode: vertical-rl; border-spacing: 0">
    <tr><td id="cell" style="width: 200px; height: 100px; padding: 0"></td></tr>
  </table>
  <script>
    document.body.offsetTop;
    cell.style.width = "100px";
  </script>

The cell should shrink to 100px wide. Instead it kept its 200px width.

Let's compare the cell's size along the row's block axis.

Test: 
imported/w3c/web-platform-tests/css/css-tables/dynamic-table-cell-block-size-vertical-rl.html

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-tables/dynamic-table-cell-block-size-vertical-rl-expected.xht:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-tables/dynamic-table-cell-block-size-vertical-rl.html:
 Added.
* Source/WebCore/rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::styleDidChange):

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



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

Reply via email to