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

Issue 341523002: Resolve percent lengths for abs. positioned tables against padding box. (Closed)

Created:
6 years, 6 months ago by andersr
Modified:
6 years, 5 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Resolve percent lengths for abs. positioned tables against padding box. According to CSS2.1: "[...] absolutely positioned elements whose containing block is based on a block container element, the percentage is calculated with respect to the width of the padding box of that element". BUG=366123 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177101

Patch Set 1 #

Total comments: 5

Patch Set 2 : Convert test to check-layout.js. #

Patch Set 3 : Rebase. #

Patch Set 4 : Specifically return a LayoutUnit in ternary operation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -1 line) Patch
A LayoutTests/fast/table/absolute-table-percent-lengths.html View 1 1 chunk +48 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/absolute-table-percent-lengths-expected.txt View 1 1 chunk +19 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderTable.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
andersr
6 years, 6 months ago (2014-06-17 13:35:20 UTC) #1
Julien - ping for review
https://codereview.chromium.org/341523002/diff/1/LayoutTests/fast/table/absolute-table-percent-lengths-expected.html File LayoutTests/fast/table/absolute-table-percent-lengths-expected.html (right): https://codereview.chromium.org/341523002/diff/1/LayoutTests/fast/table/absolute-table-percent-lengths-expected.html#newcode9 LayoutTests/fast/table/absolute-table-percent-lengths-expected.html:9: float: left; Do we really need some relative float? ...
6 years, 6 months ago (2014-06-17 20:57:43 UTC) #2
andersr
Thanks for the feedback. https://codereview.chromium.org/341523002/diff/1/LayoutTests/fast/table/absolute-table-percent-lengths-expected.html File LayoutTests/fast/table/absolute-table-percent-lengths-expected.html (right): https://codereview.chromium.org/341523002/diff/1/LayoutTests/fast/table/absolute-table-percent-lengths-expected.html#newcode24 LayoutTests/fast/table/absolute-table-percent-lengths-expected.html:24: div:nth-child(4) span.tbl { left: 0; ...
6 years, 6 months ago (2014-06-18 05:42:40 UTC) #3
andersr
PTAL
6 years, 6 months ago (2014-06-18 06:30:21 UTC) #4
Julien - ping for review
lgtm
6 years, 6 months ago (2014-06-25 19:38:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andersr@opera.com/341523002/20001
6 years, 6 months ago (2014-06-25 19:38:28 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_blink_compile_dbg on tryserver.blink ...
6 years, 6 months ago (2014-06-25 20:36:13 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-25 20:45:29 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_chromium_gn_rel/builds/1668)
6 years, 6 months ago (2014-06-25 20:45:29 UTC) #9
andersr
The CQ bit was checked by andersr@opera.com
6 years, 5 months ago (2014-06-27 12:22:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andersr@opera.com/341523002/60001
6 years, 5 months ago (2014-06-27 12:23:16 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-06-27 13:29:42 UTC) #12
Message was sent while issue was closed.
Change committed as 177101

Powered by Google App Engine
This is Rietveld 408576698