Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Issue 131993002: Stop infinite recursion when generating anonymous table boxes (Closed)

Created:
6 years, 11 months ago by Jens Widell
Modified:
6 years, 11 months ago
CC:
blink-reviews, bemjb+rendering_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Stop infinite recursion when generating anonymous table boxes Update the list of box types to expect directly inside (anonymous) table boxes to include 'table-column' (in addition to 'table-column-group' and 'table-caption'.) This fixes the code that looks for an existing anonymous table section to add a child to so that it doesn't accidentally try to add the child to the same table box again recursively. Also drop a couple of lines of code that had no effect in practice. BUG=330651 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165216

Patch Set 1 #

Patch Set 2 : add test case #

Total comments: 1

Patch Set 3 : address nit #

Total comments: 2

Patch Set 4 : update baseline too #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -5 lines) Patch
A LayoutTests/fast/table/crash-col-in-anonymous-table.html View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/crash-col-in-anonymous-table-expected.txt View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderTable.cpp View 4 chunks +11 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Jens Widell
Hi Julien, could you take a look at this patch?
6 years, 11 months ago (2014-01-09 16:13:58 UTC) #1
Julien - ping for review
The code change is fine but it's missing a test case: the bug has a ...
6 years, 11 months ago (2014-01-14 02:05:56 UTC) #2
Jens Widell
On 2014/01/14 02:05:56, Julien Chaffraix - PST wrote: > The code change is fine but ...
6 years, 11 months ago (2014-01-14 09:02:25 UTC) #3
Julien - ping for review
lgtm https://codereview.chromium.org/131993002/diff/70001/LayoutTests/fast/table/crash-col-in-anonymous-table.html File LayoutTests/fast/table/crash-col-in-anonymous-table.html (right): https://codereview.chromium.org/131993002/diff/70001/LayoutTests/fast/table/crash-col-in-anonymous-table.html#newcode19 LayoutTests/fast/table/crash-col-in-anonymous-table.html:19: <div>This test passes if it does not CRASH.</div> ...
6 years, 11 months ago (2014-01-15 17:30:20 UTC) #4
Jens Widell
On 2014/01/15 17:30:20, Julien Chaffraix - PST wrote: > lgtm Thanks! > https://codereview.chromium.org/131993002/diff/70001/LayoutTests/fast/table/crash-col-in-anonymous-table.html > File ...
6 years, 11 months ago (2014-01-15 17:44:18 UTC) #5
Julien - ping for review
https://codereview.chromium.org/131993002/diff/170001/LayoutTests/fast/table/crash-col-in-anonymous-table-expected.txt File LayoutTests/fast/table/crash-col-in-anonymous-table-expected.txt (right): https://codereview.chromium.org/131993002/diff/170001/LayoutTests/fast/table/crash-col-in-anonymous-table-expected.txt#newcode2 LayoutTests/fast/table/crash-col-in-anonymous-table-expected.txt:2: This test passes if it does not CRASH. You ...
6 years, 11 months ago (2014-01-15 19:21:43 UTC) #6
Jens Widell
https://codereview.chromium.org/131993002/diff/170001/LayoutTests/fast/table/crash-col-in-anonymous-table-expected.txt File LayoutTests/fast/table/crash-col-in-anonymous-table-expected.txt (right): https://codereview.chromium.org/131993002/diff/170001/LayoutTests/fast/table/crash-col-in-anonymous-table-expected.txt#newcode2 LayoutTests/fast/table/crash-col-in-anonymous-table-expected.txt:2: This test passes if it does not CRASH. On ...
6 years, 11 months ago (2014-01-15 19:36:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jl@opera.com/131993002/230001
6 years, 11 months ago (2014-01-16 06:12:09 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) wtf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=7687
6 years, 11 months ago (2014-01-16 07:25:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jl@opera.com/131993002/230001
6 years, 11 months ago (2014-01-16 12:33:31 UTC) #10
commit-bot: I haz the power
6 years, 11 months ago (2014-01-16 12:43:40 UTC) #11
Message was sent while issue was closed.
Change committed as 165216

Powered by Google App Engine
This is Rietveld 408576698