Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(233)

Issue 98051: Adds some table manipulation methods that were missing. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 10 months ago by metaweta
Modified:
16 years, 10 months ago
Reviewers:
DavidSarah, MikeSamuel
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Fixes 1083. Adds HTMLTableElement: createCaption, deleteCaption, insertRow, deleteRow; HTMLTableRowElement: insertCell, deleteCell

Patch Set 1 #

Total comments: 4

Patch Set 2 : Adds some table manipulation methods that were missing. #

Patch Set 3 : Adds some table manipulation methods that were missing. #

Total comments: 1

Patch Set 4 : Adds some table manipulation methods that were missing. #

Total comments: 1

Patch Set 5 : Adds some table manipulation methods that were missing. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -2 lines) Patch
M src/com/google/caja/plugin/domita.js View 1 2 3 4 4 chunks +49 lines, -2 lines 0 comments Download
M tests/com/google/caja/plugin/domita_test_untrusted.html View 2 chunks +25 lines, -0 lines 1 comment Download

Messages

Total messages: 15
metaweta
16 years, 10 months ago (2009-07-28 01:09:06 UTC) #1
MikeSamuel
http://codereview.appspot.com/98051/diff/1/2 File src/com/google/caja/plugin/domita.js (right): http://codereview.appspot.com/98051/diff/1/2#newcode2586 Line 2586: return defaultTameNode(this.node___.insertCell(0 + index), this.editable___); What do you ...
16 years, 10 months ago (2009-07-28 01:18:22 UTC) #2
metaweta
On 2009/07/28 01:18:22, MikeSamuel wrote: > http://codereview.appspot.com/98051/diff/1/2 > File src/com/google/caja/plugin/domita.js (right): > > http://codereview.appspot.com/98051/diff/1/2#newcode2586 > ...
16 years, 10 months ago (2009-07-28 01:23:28 UTC) #3
MikeSamuel
http://codereview.appspot.com/98051/diff/1/2 File src/com/google/caja/plugin/domita.js (right): http://codereview.appspot.com/98051/diff/1/2#newcode2586 Line 2586: return defaultTameNode(this.node___.insertCell(0 + index), this.editable___); Mike Stay said: ...
16 years, 10 months ago (2009-07-28 02:48:36 UTC) #4
MikeSamuel
http://codereview.appspot.com/98051/diff/1/2 File src/com/google/caja/plugin/domita.js (right): http://codereview.appspot.com/98051/diff/1/2#newcode2586 Line 2586: return defaultTameNode(this.node___.insertCell(0 + index), this.editable___); Not being an ...
16 years, 10 months ago (2009-07-28 02:53:04 UTC) #5
metaweta
On 2009/07/28 02:53:04, MikeSamuel wrote: > You should require that the input be valid because ...
16 years, 10 months ago (2009-07-28 16:42:59 UTC) #6
DavidSarah
On 2009/07/28 16:42:59, metaweta wrote: > The spec says it should throw a DOMException INDEX_SIZE_ERR ...
16 years, 10 months ago (2009-07-28 17:33:30 UTC) #7
metaweta
snapshotted
16 years, 10 months ago (2009-07-28 17:53:13 UTC) #8
metaweta
On 2009/07/28 17:53:13, metaweta wrote: > snapshotted ping
16 years, 10 months ago (2009-07-29 19:45:55 UTC) #9
MikeSamuel
http://codereview.appspot.com/98051/diff/9/10 File src/com/google/caja/plugin/domita.js (right): http://codereview.appspot.com/98051/diff/9/10#newcode2590 Line 2590: index <= this.node___.cells.length) { There's a bit of ...
16 years, 10 months ago (2009-07-29 19:51:28 UTC) #10
metaweta
On 2009/07/29 19:51:28, MikeSamuel wrote: > http://codereview.appspot.com/98051/diff/9/10 > File src/com/google/caja/plugin/domita.js (right): > > http://codereview.appspot.com/98051/diff/9/10#newcode2590 > ...
16 years, 10 months ago (2009-07-29 20:33:15 UTC) #11
MikeSamuel
http://codereview.appspot.com/98051/diff/1007/14 File src/com/google/caja/plugin/domita.js (right): http://codereview.appspot.com/98051/diff/1007/14#newcode2589 Line 2589: } Where is TameTableRowElement used? Does defaultTameNode need ...
16 years, 10 months ago (2009-07-29 21:00:52 UTC) #12
metaweta
On 2009/07/29 21:00:52, MikeSamuel wrote: > http://codereview.appspot.com/98051/diff/1007/14 > File src/com/google/caja/plugin/domita.js (right): > > http://codereview.appspot.com/98051/diff/1007/14#newcode2589 > ...
16 years, 10 months ago (2009-07-29 22:59:41 UTC) #13
MikeSamuel
LGTM http://codereview.appspot.com/98051/diff/17/1009 File tests/com/google/caja/plugin/domita_test_untrusted.html (right): http://codereview.appspot.com/98051/diff/17/1009#newcode2461 Line 2461: table.rows.item(0).deleteCell(0); Maybe assert that the count of ...
16 years, 10 months ago (2009-07-29 23:32:38 UTC) #14
metaweta
16 years, 10 months ago (2009-07-30 00:40:40 UTC) #15
On 2009/07/29 23:32:38, MikeSamuel wrote:
> http://codereview.appspot.com/98051/diff/17/1009#newcode2461
> Line 2461: table.rows.item(0).deleteCell(0);
> Maybe assert that the count of cells in row 0 is 0.
Done

@3612
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b