Ticket #614 (closed defect: fixed)
Kid serialization add new line in tables
Reported by: | ronald@… | Owned by: | anonymous |
---|---|---|---|
Priority: | normal | Milestone: | 1.x |
Component: | View | Version: | |
Severity: | normal | Keywords: | Kid, needs confirmation |
Cc: | ronald@… |
Description
Somewhere along the toolchain, spaces are been added to kid templates. I'm not sure if it is Kid's serializer (I can't reproduce this when testing from tg-admin shell). This breaks layouts that use tables and sliced images, due to a rendering bug in MSIE. MSIE will add padding or extra space around an image if there is a new line beetween the image and the enclosing td tag. This has been reported in Kids tracker ( http://kid.lesscode.org/trac/ticket/121) but the current status is 'wontfix', they advice you to set: serializer.balanced_blocks = False I tried that with plugins/kid/turbokid/kidsupport.py but with no luck. I attached a basic kid template with to tables. MSIE should render the first table with a 2px gap beetwen the two images, and the second table without any gap (try changing the extension from .kid to .html an dropping the file on MSIE). If you quickstart a new app and replace the welcome.kid file with the one attached here and go to localhost:8080 you will see gaps in both tables. You can see trough IE's view source that spaces has been added before the enclosing td tag.
Attachments
Change History
comment:3 Changed 11 years ago by jorge.vargas
as #409 please check if this is still present with newer kid versions.
comment:4 Changed 11 years ago by alberto
- Milestone changed from 1.1 to __unclassified__
Batch moved into unclassified from 1.1 to properly track progress on the later