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

Issue 895953003: Insert an anonymous inline-table when inserting a table part under an inline. (Closed)

Created:
5 years, 10 months ago by mstensho (USE GERRIT)
Modified:
5 years, 10 months ago
CC:
blink-reviews, blink-reviews-rendering, Dominik Röttsches, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Insert an anonymous inline-table when inserting a table part under an inline. The spec says that if the parent of the table part is an inline, we must wrap it inside an inline-table instead of a table. Apart from giving correct rendering, this change also helps avoid establishing (incorrect) inline continuations in some cases. BUG=327832, 452591, 53693, 2032 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189941

Patch Set 1 #

Patch Set 2 : rebase master #

Patch Set 3 : Code review - lump similar tests together in one file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -3 lines) Patch
M LayoutTests/TestExpectations View 1 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/fast/block/float/float-not-removed-from-pre-block-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
A LayoutTests/fast/table/caption-in-inline.html View 1 chunk +23 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/caption-in-inline-expected.txt View 1 chunk +17 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/column-in-inline.html View 1 chunk +7 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/column-in-inline-expected.html View 1 chunk +4 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/display-as-inline.html View 1 chunk +17 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/display-as-inline-expected.txt View 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/row-in-inline-block.html View 1 chunk +14 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/row-in-inline-block-expected.txt View 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/table-parts-in-inline.html View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/table-parts-in-inline-expected.txt View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M Source/core/layout/LayoutTable.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderInline.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (5 generated)
mstensho (USE GERRIT)
While investigating issue 453488, I discovered that inline continuations are established (so that an anonymous ...
5 years, 10 months ago (2015-02-05 07:24:55 UTC) #2
leviw_travelin_and_unemployed
I may have combined some of these similar tests into one, but that's just a ...
5 years, 10 months ago (2015-02-10 21:41:29 UTC) #3
mstensho (USE GERRIT)
On 2015/02/10 21:41:29, leviw wrote: > I may have combined some of these similar tests ...
5 years, 10 months ago (2015-02-10 22:25:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/895953003/40001
5 years, 10 months ago (2015-02-10 22:26:30 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_dbg/builds/44496)
5 years, 10 months ago (2015-02-10 23:52:40 UTC) #9
leviw_travelin_and_unemployed
Great! Thanks!
5 years, 10 months ago (2015-02-10 23:58:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/895953003/40001
5 years, 10 months ago (2015-02-10 23:58:39 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=189941
5 years, 10 months ago (2015-02-11 01:15:03 UTC) #13
mstensho (USE GERRIT)
5 years, 10 months ago (2015-02-13 17:33:00 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/925823003/ by mstensho@opera.com.

The reason for reverting is: Caused bug 458184, and more. I'll reland a new CL
for this as soon as I figure out how to do so without breaking stuff.

I think what needs to be fixed is to add some logic in RenderInline::addChild()
/ addChildBlahblah(), to drill down to the actual parent of |beforeChild|, if
specified. Looks like anonymous inline-level boxes is a rather unknown concept
in the engine..

Powered by Google App Engine
This is Rietveld 408576698