Monday, March 2, 2009, 12:22:47 PM, Hussein Shafie wrote:
> Daniel Dekany wrote:
>> - In *DocBook* HTML tables, things are not supposed to be rendered
>>   with bold in the thead and tfoot sections; it's not like if all td-s
>>   had become th-s. Surely it's not laid down in the standards, but I
>>   yet to see a HTML renderer that makes these bold, so you can call it
>>   a de-facto standard. So, a quick fix in the CSS...
>
> If we do this, other users will probably complain.
>
> The fact that text inside thead and tfoot sections is rendered (on 
> screen) using a bold font is useful in the context of a structured 
> document editor. It makes it obvious that you are not inside a tbody.

But this way it hides if you used th, or a td by mistake... and unless
you use a fancy tranformation that repeats footers/headers on each
pages, that's an even bigger problem. It's not like CALS, where there
is no such issue. Anyway, if you would indicate thead and tfoot by
giving the background a bit of tint, rather than showing it with a
potentially confusing font-weight, then both td VS th and thead VS
tbody would be clearly visible. (Different tints needed for tfoot and
thead, as tfoot is directly after the thead.)

Also, I notice that the default valign is "top" in XXE. It should be
"middle", as the HTML Specification states it.

>> - When I convert a td to th or the other way around, it loses all it's
>>   attributes. I think that in general when converting elements,
>>   attributes that are supported by the new element too should be
>>   copied. Surely not always "safe" to keep them, but almost always
>>   annoying to lose them.
>> 
>
> This is a limitation of the Convert command. It affects all elements. 
> Removing this limitation has already been requested by other users. 
> We'll see if we can improve that in next release.

-- 
Best regards,
 Daniel Dekany


Reply via email to