Skip to content

Commit

Permalink
[TablesNG] Fix dynamic table layout underinvalidation
Browse files Browse the repository at this point in the history
This might be possible cause of PaintCollapsedBorders
crash. It was observed by Ian as
https://crash.corp.google.com/browse?stbtiq=e4325a8e6177bb8c#0

Bug: 1192697
Change-Id: Idf447724d2ce6c8c3fca5f48985041f9ab2bdbf7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2787244
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#866812}
  • Loading branch information
Aleks Totic authored and chromium-wpt-export-bot committed Mar 25, 2021
1 parent 8c208d7 commit 8e9b781
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions css/css-tables/crashtests/dynamic_table_layout_crash.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<table id="target" style="border: solid; border-collapse: collapse; table-layout: fixed; width: 50px;">
<tr><td style="background: lime;">hi</td></tr>
<td colspan=3>there</td>
</table>
<script>
document.body.offsetTop;
document.getElementById('target').style.tableLayout = 'auto';
</script>

0 comments on commit 8e9b781

Please sign in to comment.