hramenko / thtmlviewer

Automatically exported from code.google.com/p/thtmlviewer
Other
0 stars 0 forks source link

Missing borders on empty table cells #380

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which steps will reproduce the problem?

See attached file.

What is the expected output? What do you see instead?

Expected: the cells with no content should still be rendered (as they are in 
other browsers)
Is: You need to add a   or blank in order to get the cell rendered as 
expected.

I've seen a couple of issues which might be related to this one (#52 or #323), 
not sure if this is the same root cause.

Which version of the product are you using? Which compiler version are you
using? On which operating system?

XE2 on Win8, tested with latest sources.

Original issue reported on code.google.com by johnb20072@gmail.com on 19 Sep 2014 at 11:36

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for spotting this issue.

A long time ago HtmlViewer was built always hiding empty cells but CSS 2.1 
defines 'show' as default for property empty-cells. 

Now a lot of page designs for use in HtmlViewer (including our table demo page) 
rely on 'hide' as default.

r486 introduces symbol EmptyCellsDefaultIsShow that switches to the correct 
default value, if defined.

Original comment by OrphanCat on 15 Oct 2014 at 2:21

GoogleCodeExporter commented 9 years ago
Thanks for looking into this - I'll give it a try as soon as possible :).

Original comment by johnb20072@gmail.com on 16 Oct 2014 at 5:43