This matches FF but not necessarily the spec: https://drafts.csswg.org/css-tables-3/#repeated-headers FF's behaviour seems the most sensible.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0ab5bebc6d97953cf7ee417a80cf453a5145dd8e commit 0ab5bebc6d97953cf7ee417a80cf453a5145dd8e Author: robhogan <robhogan@gmail.com> Date: Tue Dec 20 23:00:48 2016 Content of cell should avoid repeating headers when it straddles multiple pages The right thing to do here is not covered by the spec, so for now just fix our rendering bug by doing what firefox does. Opened a discussion at https://lists.w3.org/Archives/Public/www-style/2016Dec/0070.html. BUG= 675453 Review-Url: https://codereview.chromium.org/2587673003 Cr-Commit-Position: refs/heads/master@{#439906} [add] https://crrev.com/0ab5bebc6d97953cf7ee417a80cf453a5145dd8e/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page-expected.html [add] https://crrev.com/0ab5bebc6d97953cf7ee417a80cf453a5145dd8e/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page.html [modify] https://crrev.com/0ab5bebc6d97953cf7ee417a80cf453a5145dd8e/third_party/WebKit/Source/core/layout/LayoutBox.cpp [modify] https://crrev.com/0ab5bebc6d97953cf7ee417a80cf453a5145dd8e/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp [modify] https://crrev.com/0ab5bebc6d97953cf7ee417a80cf453a5145dd8e/third_party/WebKit/Source/core/layout/LayoutTableRow.h [modify] https://crrev.com/0ab5bebc6d97953cf7ee417a80cf453a5145dd8e/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
Comment 1 by robhogan@chromium.org
, Dec 18 20161.2 KB
1.2 KB View Download