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

Issue 1065563005: Allow whitespace inside anonymous table cells (Closed)

Created:
5 years, 8 months ago by rhogan
Modified:
5 years, 5 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Allow whitespace inside anonymous table cells IE and FF allow whitespace inside anonymous table cells. We don't because we're not careful enough when determining when to allow whitespace. Check if the space we want to add will end up in anonymous table cell and if so, allow it. Test=LayoutTests/fast/table/whitespace-in-anonymous-table-cells.html BUG=473832 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198429

Patch Set 1 #

Total comments: 9

Patch Set 2 : Updated #

Total comments: 2

Patch Set 3 : Updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -1 line) Patch
M LayoutTests/TestExpectations View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M LayoutTests/fast/block/float/float-not-removed-from-pre-block-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/table/table-row-before-after-content-around-table-cell-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/table/table-row-split2-expected.txt View 1 2 chunks +6 lines, -0 lines 0 comments Download
M LayoutTests/fast/table/table-section-split2-expected.txt View 1 2 chunks +6 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/whitespace-in-anonymous-table-cells.html View 1 chunk +19 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/whitespace-in-anonymous-table-cells-expected.html View 1 chunk +25 lines, -0 lines 0 comments Download
M LayoutTests/platform/linux/css2.1/20110323/dynamic-top-change-002-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/platform/linux/fast/css-generated-content/015-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/platform/linux/fast/css-generated-content/table-before-after-child-add-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/platform/linux/fast/table/add-before-anonymous-child-expected.txt View 1 chunk +4 lines, -0 lines 0 comments Download
M LayoutTests/platform/linux/fast/table/table-after-child-in-table-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/platform/linux/fast/table/table-before-child-in-table-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/platform/linux/fast/table/table-cell-after-child-in-table-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/platform/linux/fast/table/table-display-types-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/platform/linux/fast/table/table-display-types-strict-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/platform/linux/fast/table/table-display-types-vertical-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/platform/linux/fast/table/table-row-after-child-in-table-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/platform/linux/tables/mozilla/bugs/bug2479-1-expected.txt View 1 2 chunks +15 lines, -0 lines 0 comments Download
M LayoutTests/platform/linux/tables/mozilla/bugs/bug30985-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/platform/linux/tables/mozilla/bugs/bug72359-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/dom/Text.cpp View 1 2 1 chunk +19 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 27 (6 generated)
rhogan
5 years, 8 months ago (2015-04-21 18:12:25 UTC) #2
leviw_travelin_and_unemployed
https://codereview.chromium.org/1065563005/diff/1/Source/core/dom/Text.cpp File Source/core/dom/Text.cpp (right): https://codereview.chromium.org/1065563005/diff/1/Source/core/dom/Text.cpp#newcode299 Source/core/dom/Text.cpp:299: if (isAncestorOfAnonymousTableCell(parent)) This is more expensive in the common ...
5 years, 8 months ago (2015-04-21 18:42:38 UTC) #3
rhogan
https://codereview.chromium.org/1065563005/diff/1/Source/core/dom/Text.cpp File Source/core/dom/Text.cpp (right): https://codereview.chromium.org/1065563005/diff/1/Source/core/dom/Text.cpp#newcode299 Source/core/dom/Text.cpp:299: if (isAncestorOfAnonymousTableCell(parent)) On 2015/04/21 at 18:42:37, leviw wrote: > ...
5 years, 8 months ago (2015-04-21 19:00:49 UTC) #4
rhogan
On 2015/04/21 at 18:42:38, leviw wrote: > https://codereview.chromium.org/1065563005/diff/1/Source/core/dom/Text.cpp > File Source/core/dom/Text.cpp (right): > > https://codereview.chromium.org/1065563005/diff/1/Source/core/dom/Text.cpp#newcode299 ...
5 years, 7 months ago (2015-05-04 20:21:29 UTC) #5
esprehn
This check doesn't look right, we also shouldn't be drilling down into tables like that... ...
5 years, 7 months ago (2015-05-04 22:12:16 UTC) #7
rhogan
On 2015/05/04 at 22:12:16, esprehn wrote: > This check doesn't look right, we also shouldn't ...
5 years, 7 months ago (2015-05-05 21:18:40 UTC) #8
rhogan
https://codereview.chromium.org/1065563005/diff/1/Source/core/dom/Text.cpp File Source/core/dom/Text.cpp (right): https://codereview.chromium.org/1065563005/diff/1/Source/core/dom/Text.cpp#newcode277 Source/core/dom/Text.cpp:277: return renderer.isTable() || renderer.isTableRow() || renderer.isTableSection() || renderer.isLayoutTableCol(); On ...
5 years, 7 months ago (2015-05-05 21:18:49 UTC) #9
rhogan
On 2015/05/05 at 21:18:49, rhogan wrote: > https://codereview.chromium.org/1065563005/diff/1/Source/core/dom/Text.cpp > File Source/core/dom/Text.cpp (right): > > https://codereview.chromium.org/1065563005/diff/1/Source/core/dom/Text.cpp#newcode277 ...
5 years, 7 months ago (2015-05-22 18:48:25 UTC) #10
esprehn
I'll have to think about this more, drilling down the tree still doesn't seem right. ...
5 years, 6 months ago (2015-05-28 05:43:55 UTC) #11
rhogan
On 2015/05/28 at 05:43:55, esprehn wrote: > I'll have to think about this more, drilling ...
5 years, 6 months ago (2015-06-09 19:44:34 UTC) #12
rhogan
On 2015/06/09 at 19:44:34, rhogan wrote: > On 2015/05/28 at 05:43:55, esprehn wrote: > > ...
5 years, 5 months ago (2015-06-27 14:35:08 UTC) #13
esprehn
https://codereview.chromium.org/1065563005/diff/20001/Source/core/dom/Text.cpp File Source/core/dom/Text.cpp (right): https://codereview.chromium.org/1065563005/diff/20001/Source/core/dom/Text.cpp#newcode263 Source/core/dom/Text.cpp:263: return true; It's not clear to me that this ...
5 years, 5 months ago (2015-07-06 23:11:04 UTC) #14
rhogan
https://codereview.chromium.org/1065563005/diff/20001/Source/core/dom/Text.cpp File Source/core/dom/Text.cpp (right): https://codereview.chromium.org/1065563005/diff/20001/Source/core/dom/Text.cpp#newcode263 Source/core/dom/Text.cpp:263: return true; On 2015/07/06 at 23:11:04, esprehn wrote: > ...
5 years, 5 months ago (2015-07-07 18:35:40 UTC) #15
esprehn
If you have: Table Empty row Whitespace Then you insert into the empty row To ...
5 years, 5 months ago (2015-07-07 18:52:42 UTC) #16
esprehn
Staring at this more I think this is okay, lets try it. lgtm
5 years, 5 months ago (2015-07-07 19:24:33 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1065563005/20001
5 years, 5 months ago (2015-07-07 19:24:54 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/49795) mac_blink_rel on tryserver.blink (JOB_FAILED, ...
5 years, 5 months ago (2015-07-07 19:27:39 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1065563005/40001
5 years, 5 months ago (2015-07-07 21:04:19 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=198429
5 years, 5 months ago (2015-07-07 22:09:05 UTC) #25
esprehn
On 2015/07/07 at 22:09:05, commit-bot wrote: > Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=198429 I think ...
5 years, 5 months ago (2015-07-08 06:24:25 UTC) #26
esprehn
5 years, 5 months ago (2015-07-08 06:30:01 UTC) #27
Message was sent while issue was closed.
On 2015/07/08 at 06:24:25, esprehn wrote:
> On 2015/07/07 at 22:09:05, commit-bot wrote:
> > Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198429
> 
> I think this might have made a bunch of tests fail:
>
https://storage.googleapis.com/chromium-layout-test-archives/mac_blink_rel/62...
> 
> tables/mozilla/bugs/bug2479-1.html
> tables/mozilla/bugs/bug30985.html
> tables/mozilla/bugs/bug72359.xml

Confirmed it was you:
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=tab...

it was auto rebaselined here:
http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?u...

but still fails on 10.9 always now.

Powered by Google App Engine
This is Rietveld 408576698