Border collapse problem with rowspan/colspan cells#57402
Border collapse problem with rowspan/colspan cells#57402webkit-commit-queue merged 1 commit intoWebKit:mainfrom
Conversation
|
EWS run on previous version of this PR (hash e4ede84) Details
|
|
If no WPT tests is being progressed by this, I will amend the patch to add one. |
e4ede84 to
c910942
Compare
|
EWS run on previous version of this PR (hash c910942) Details
|
Review time for @alanbaradlay 🙏 |
|
Maybe I should have put the expected above. 🤦 |
c910942 to
e089c10
Compare
|
EWS run on previous version of this PR (hash e089c10) Details |
e089c10 to
375f819
Compare
|
EWS run on previous version of this PR (hash 375f819) Details |
alanbaradlay
left a comment
There was a problem hiding this comment.
we should really stop committing tree dumps and use ref tests instead.(I had to rebaseline close to 10K the other day and it was not fun)
375f819 to
ef1a9cd
Compare
|
EWS run on current version of this PR (hash ef1a9cd) Details |
I was missing an |
|
TODO: export the test to WPT. |
https://bugs.webkit.org/show_bug.cgi?id=5515 rdar://94163960 Reviewed by Alan Baradlay. Currently for a table of 2 columns and 4 rows. * the first column has a rowspan = 3 (so 2 cells with one covering the first 3 rows) * the second column has 4 cells on 4 rows When specifiying a different bottom border color for each first 3 rows, WebKit is adopting the color of the first cell defined in the second colum for the bottom color of the rowspanned cell instead of the color of the third row like Gecko and Blink do. This patch is fixing and only this. It doesn't fix the more general issue for vertical border shared in between the rowspanned cell and the second column cells. This will need to be fixed in https://webkit.org/b/20260 as it requires a larger architectural change on border segmenting. This didn't have WPT tests before, this is adding one covering this behavior. Tests: imported/w3c/web-platform-tests/css/css-tables/rowspan-cell-border-after-color-ref.html imported/w3c/web-platform-tests/css/css-tables/rowspan-cell-border-after-color.html * LayoutTests/imported/w3c/web-platform-tests/css/css-tables/rowspan-cell-border-after-color-expected.html: Added. * LayoutTests/imported/w3c/web-platform-tests/css/css-tables/rowspan-cell-border-after-color-ref.html: Added. * LayoutTests/imported/w3c/web-platform-tests/css/css-tables/rowspan-cell-border-after-color.html: Added. * Source/WebCore/rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::computeCollapsedAfterBorder const): Canonical link: https://commits.webkit.org/306471@main
ef1a9cd to
c9af451
Compare
|
Committed 306471@main (c9af451): https://commits.webkit.org/306471@main Reviewed commits have been landed. Closing PR #57402 and removing active labels. |
|
I also opened w3c/csswg-drafts#13417 |
🛠 ios-apple
c9af451
ef1a9cd
🛠 win🧪 win-tests🧪 ios-wk2-wpt🛠 playstation🧪 mac-intel-wk2🛠 mac-safer-cpp