Web browser: ---
            Bug ID: 58730
           Summary: Table in fosterable position doesn't round-trip
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
    Classification: Unclassified
   Mobile Platform: ---

Tested with selser:

| sed s/Foo/Fooo/g > /tmp/test.html
curl --data-urlencode "html@/tmp/test.html" -d 'oldid=846340'




A possible scheme discussed on IRC is this:

1) Give the first empty (broken-up) table a zero-width dsr, similar to fostered
content. The broken-up table will always be empty as other content would first
be fostered out of the table itself.

2) Give the nested (surviving) table the full dsr width of both tables, with
start/end tag widths inflated to include the outer table

The net effect should be:

- clean round-tripping with selser when the table content is not edited (yay!)
- stripping of the broken empty table when the table is edited

Not sure how complicated this is to implement.

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to