Last modified: 2013-04-18 15:24:20 UTC
1. Go to: http://ve-change-marking.instance-proxy.wmflabs.org/wiki/Test2 2. Open page in VisualEditor 3. Open browser console. 4. Run ve.dm.converter.getDomFromData( ve.instances[0].documentModel.store, ve.instances[0].documentModel.data.data ).body.outerHTML 5. You get the following output: -------------- <body><table data-parsoid="{"tsr":[0,3],"dsr":[0,49,3,2]}"> This is a caption <tbody data-parsoid="{"dsr":[24,47,0,0]}"><tr data-parsoid="{"tsr":[24,26],"startTagSrc":"|-","autoInsertedEnd":true,"dsr":[24,46,2,0]}"> <td data-parsoid="{"tsr":[27,28],"autoInsertedEnd":true,"dsr":[27,46,1,0]}">Table cell content</td></tr> </tbody></table></body> ---------------- Notice the missing <caption> .. </caption> tags. So, when Parsoid gets this, the caption is fostered out and shows up as a diff.
https://gerrit.wikimedia.org/r/59780
...which has already been merged.