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

Issue 23628004: Tables with display:inline rendered in wrong position. (Closed)

Created:
7 years, 3 months ago by a.suchit
Modified:
7 years, 3 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, leviw+renderwatch, Julien - ping for review
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Tables with display:inline rendered as block element. Table was created as inline renderer and another table block renderer wrapper is created for table's content. So it was displayed as block element and all its style properties also associated with inline renderer and was not applied to table. Creating table inline-table renderer wrapper for table's content if parent is inline except inline-block parent. R=eseidel@chromium.org BUG=53693 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157368

Patch Set 1 #

Total comments: 3

Patch Set 2 : Added a new test case #

Patch Set 3 : Creating inline table during render tree construction #

Total comments: 7

Patch Set 4 : Review comments addressed #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -60 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/table-display-inline.html View 1 2 3 1 chunk +63 lines, -0 lines 0 comments Download
A LayoutTests/platform/linux/fast/table/table-display-inline-expected.txt View 1 2 3 1 chunk +106 lines, -0 lines 0 comments Download
M LayoutTests/platform/win/tables/mozilla/bugs/bug3037-1-expected.txt View 1 2 3 1 chunk +21 lines, -29 lines 0 comments Download
M LayoutTests/tables/mozilla/bugs/bug3037-1-expected.txt View 1 2 3 1 chunk +21 lines, -29 lines 0 comments Download
M Source/core/rendering/RenderInline.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTable.cpp View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
suchit.agrawal
7 years, 3 months ago (2013-08-28 08:56:50 UTC) #1
esprehn
https://codereview.chromium.org/23628004/diff/1/Source/core/rendering/RenderObject.cpp File Source/core/rendering/RenderObject.cpp (right): https://codereview.chromium.org/23628004/diff/1/Source/core/rendering/RenderObject.cpp#newcode170 Source/core/rendering/RenderObject.cpp:170: return new RenderTable(element); This does not appear correct, if ...
7 years, 3 months ago (2013-08-28 18:17:54 UTC) #2
suchit.agrawal
https://codereview.chromium.org/23628004/diff/1/Source/core/rendering/RenderObject.cpp File Source/core/rendering/RenderObject.cpp (right): https://codereview.chromium.org/23628004/diff/1/Source/core/rendering/RenderObject.cpp#newcode170 Source/core/rendering/RenderObject.cpp:170: return new RenderTable(element); On 2013/08/28 18:17:54, esprehn wrote: > ...
7 years, 3 months ago (2013-08-29 04:31:09 UTC) #3
suchit.agrawal
https://codereview.chromium.org/23628004/diff/1/Source/core/rendering/RenderObject.cpp File Source/core/rendering/RenderObject.cpp (right): https://codereview.chromium.org/23628004/diff/1/Source/core/rendering/RenderObject.cpp#newcode170 Source/core/rendering/RenderObject.cpp:170: return new RenderTable(element); On 2013/08/29 04:31:09, suchit.agrawal wrote: > ...
7 years, 3 months ago (2013-08-29 05:49:05 UTC) #4
esprehn
On 2013/08/29 05:49:05, suchit.agrawal wrote: > https://codereview.chromium.org/23628004/diff/1/Source/core/rendering/RenderObject.cpp > File Source/core/rendering/RenderObject.cpp (right): > > https://codereview.chromium.org/23628004/diff/1/Source/core/rendering/RenderObject.cpp#newcode170 > ...
7 years, 3 months ago (2013-08-29 19:36:28 UTC) #5
a.suchit
On 2013/08/29 19:36:28, esprehn wrote: > On 2013/08/29 05:49:05, suchit.agrawal wrote: > > > https://codereview.chromium.org/23628004/diff/1/Source/core/rendering/RenderObject.cpp ...
7 years, 3 months ago (2013-08-30 16:21:31 UTC) #6
a.suchit
I have updated the patch as you suggested me on IRC. Now, I am creating ...
7 years, 3 months ago (2013-09-02 14:44:18 UTC) #7
esprehn
Why do you only check table elements? That doesn't seem correct (and isn't per the ...
7 years, 3 months ago (2013-09-04 07:19:42 UTC) #8
a.suchit
https://codereview.chromium.org/23628004/diff/26001/Source/core/rendering/RenderInline.cpp File Source/core/rendering/RenderInline.cpp (right): https://codereview.chromium.org/23628004/diff/26001/Source/core/rendering/RenderInline.cpp#newcode305 Source/core/rendering/RenderInline.cpp:305: if (!newChild->isInline() && !newChild->isTablePart() && !newChild->isFloatingOrOutOfFlowPositioned()) { On 2013/09/04 ...
7 years, 3 months ago (2013-09-04 13:15:01 UTC) #9
eseidel
Looks reasonable. YOu need to wait for elliot to l-g-t-m however.
7 years, 3 months ago (2013-09-04 17:21:21 UTC) #10
Julien - ping for review
The first line of the description doesn't tell me anything useful (What does "wrong position" ...
7 years, 3 months ago (2013-09-04 21:08:37 UTC) #11
esprehn
LGTM, while I believe Julien that this is will be reverted there's no test cases ...
7 years, 3 months ago (2013-09-06 04:13:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.suchit@samsung.com/23628004/34001
7 years, 3 months ago (2013-09-06 05:32:13 UTC) #13
commit-bot: I haz the power
Can't process patch for file LayoutTests/platform/linux/fast/table/table-display-inline-expected.png. Binary file support is temporarilly disabled due to a ...
7 years, 3 months ago (2013-09-06 05:32:15 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.suchit@samsung.com/23628004/49001
7 years, 3 months ago (2013-09-06 06:06:43 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.suchit@samsung.com/23628004/63001
7 years, 3 months ago (2013-09-06 07:10:35 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.suchit@samsung.com/23628004/77001
7 years, 3 months ago (2013-09-06 11:03:21 UTC) #17
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-09-06 12:32:29 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.suchit@samsung.com/23628004/87001
7 years, 3 months ago (2013-09-06 12:36:04 UTC) #19
commit-bot: I haz the power
7 years, 3 months ago (2013-09-06 14:25:33 UTC) #20
Message was sent while issue was closed.
Change committed as 157368

Powered by Google App Engine
This is Rietveld 408576698