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

Issue 192603003: ASSERTION FAILED: type() == Percent in WebCore::Length::percent (Closed)

Created:
6 years, 9 months ago by reni
Modified:
6 years, 6 months ago
CC:
Julien - ping for review, alancutter (OOO until 2018), blink-reviews, eseidel, ojan
Base URL:
https://chromium.googlesource.com/chromium/blink.git@extractedstyle
Visibility:
Public.

Description

Ignoring math expressions involving percentages for widths and heights on table elements According to the standard, math expressions involving percentages for widths and heights on table elements have to be treated as if "auto" had been specified. The patch implements this fallback. BUG=350852 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176946

Patch Set 1 #

Patch Set 2 : Update according to Mikes comment. #

Patch Set 3 : Trying to fix old chuck mismatch error of the last git cl upload. #

Total comments: 1

Patch Set 4 : Support for fixed table layouts, test update and comments #

Total comments: 5

Patch Set 5 : Test update and typo fix. #

Patch Set 6 : Uploading again due to the previous 502 response. #

Patch Set 7 : Fix typo in the expected. #

Total comments: 2

Patch Set 8 : Test update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -2 lines) Patch
A LayoutTests/fast/css/handling-calc-on-table-as-auto.html View 1 2 3 4 5 6 7 1 chunk +25 lines, -0 lines 0 comments Download
A LayoutTests/fast/css/handling-calc-on-table-as-auto-expected.txt View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/rendering/AutoTableLayout.cpp View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
M Source/core/rendering/FixedTableLayout.cpp View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
reni
6 years, 9 months ago (2014-03-10 10:40:27 UTC) #1
eseidel
Darin is unlikely to be your correct reviewer. I think Mike has worked on Calc ...
6 years, 9 months ago (2014-03-10 17:38:04 UTC) #2
reni
On 2014/03/10 17:38:04, eseidel wrote: > Darin is unlikely to be your correct reviewer. I ...
6 years, 9 months ago (2014-03-10 18:46:36 UTC) #3
Mike Lawther (Google)
Thanks for finding this problem. This is a really quick review - apologies for the ...
6 years, 9 months ago (2014-03-10 22:46:08 UTC) #4
reni
Thanks for the review. I won't be here in the next couple of days but ...
6 years, 9 months ago (2014-03-11 18:51:23 UTC) #5
eseidel
Mike: are you saying this change is wrong? Do we still want the layout test?
6 years, 6 months ago (2014-05-30 00:24:25 UTC) #6
Mike Lawther (Google)
On 2014/05/30 00:24:25, eseidel wrote: > Mike: are you saying this change is wrong? Do ...
6 years, 6 months ago (2014-05-30 02:23:23 UTC) #7
reni
First, the bug is still valid and the test case still triggers the assertion failure. ...
6 years, 6 months ago (2014-06-02 11:59:33 UTC) #8
reni
First, the bug is still valid and the test case still triggers the assertion failure. ...
6 years, 6 months ago (2014-06-02 11:59:35 UTC) #9
eseidel
Looks good. On Monday, June 2, 2014, <rhodovan.u-szeged@partner.samsung.com> wrote: > First, the bug is still ...
6 years, 6 months ago (2014-06-02 15:06:12 UTC) #10
Mike Lawther (Google)
On 2014/06/02 15:06:12, eseidel wrote: > Looks good. > > On Monday, June 2, 2014, ...
6 years, 6 months ago (2014-06-04 16:37:40 UTC) #11
reni
On 2014/06/04 16:37:40, Mike Lawther (Google) wrote: > On 2014/06/02 15:06:12, eseidel wrote: > > ...
6 years, 6 months ago (2014-06-06 21:11:22 UTC) #12
reni
The CQ bit was checked by rhodovan.u-szeged@partner.samsung.com
6 years, 6 months ago (2014-06-06 21:11:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rhodovan.u-szeged@partner.samsung.com/192603003/40001
6 years, 6 months ago (2014-06-06 21:11:48 UTC) #14
Mike Lawther (Google)
> Thanks for the review! I'm not familiar with the table code either but I'll ...
6 years, 6 months ago (2014-06-06 21:21:04 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-06 22:27:40 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-06 22:30:32 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/7230)
6 years, 6 months ago (2014-06-06 22:30:33 UTC) #18
Julien - ping for review
https://codereview.chromium.org/192603003/diff/40001/Source/core/rendering/AutoTableLayout.cpp File Source/core/rendering/AutoTableLayout.cpp (right): https://codereview.chromium.org/192603003/diff/40001/Source/core/rendering/AutoTableLayout.cpp#newcode296 Source/core/rendering/AutoTableLayout.cpp:296: if (cellLogicalWidth.isZero() || cellLogicalWidth.isCalculated()) The specification intentionally allows 'auto' ...
6 years, 6 months ago (2014-06-09 23:23:03 UTC) #19
reni
Code, test and comments are updated according to the review.
6 years, 6 months ago (2014-06-20 09:02:27 UTC) #20
Mike Lawther (Google)
On 2014/06/20 09:02:27, renata.hodovan wrote: > Code, test and comments are updated according to the ...
6 years, 6 months ago (2014-06-23 06:29:20 UTC) #21
Julien - ping for review
lgtm https://codereview.chromium.org/192603003/diff/60001/LayoutTests/fast/css/calculated-length-as-percent-crash.html File LayoutTests/fast/css/calculated-length-as-percent-crash.html (right): https://codereview.chromium.org/192603003/diff/60001/LayoutTests/fast/css/calculated-length-as-percent-crash.html#newcode4 LayoutTests/fast/css/calculated-length-as-percent-crash.html:4: <body onload="checkLayout('td')"> Let's add a description of what ...
6 years, 6 months ago (2014-06-23 17:09:24 UTC) #22
Julien - ping for review
https://codereview.chromium.org/192603003/diff/60001/LayoutTests/fast/css/calculated-length-as-percent-crash.html File LayoutTests/fast/css/calculated-length-as-percent-crash.html (right): https://codereview.chromium.org/192603003/diff/60001/LayoutTests/fast/css/calculated-length-as-percent-crash.html#newcode1 LayoutTests/fast/css/calculated-length-as-percent-crash.html:1: <!DOCTYPE html> Also the test is not checking for ...
6 years, 6 months ago (2014-06-23 17:09:57 UTC) #23
reni
6 years, 6 months ago (2014-06-24 16:43:55 UTC) #24
Julien - ping for review
lgtm https://codereview.chromium.org/192603003/diff/120001/LayoutTests/fast/css/handling-calc-on-table-as-auto.html File LayoutTests/fast/css/handling-calc-on-table-as-auto.html (right): https://codereview.chromium.org/192603003/diff/120001/LayoutTests/fast/css/handling-calc-on-table-as-auto.html#newcode8 LayoutTests/fast/css/handling-calc-on-table-as-auto.html:8: checkLayout('td'); AFAICT you can just say checkLayout("td, table") ...
6 years, 6 months ago (2014-06-24 18:57:34 UTC) #25
reni
6 years, 6 months ago (2014-06-25 16:20:50 UTC) #26
Julien - ping for review
lgtm
6 years, 6 months ago (2014-06-25 18:38:12 UTC) #27
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-25 19:34:35 UTC) #28
commit-bot: I haz the power
6 years, 6 months ago (2014-06-25 20:30:02 UTC) #29
Message was sent while issue was closed.
Change committed as 176946

Powered by Google App Engine
This is Rietveld 408576698