Ihor Radchenko <[email protected]> writes:

> Christian Moe <[email protected]> writes:
>
>> The fact that org-html-table-default-attributes will be disregarded in
>> HTML5 export is documented in the variable docstring. The docstring
>> doesn't give a reason, but I don't think it needs to; documenting the
>> behavior is enough.
>>
>> However, the fact that it will be disregarded in HTML5 export is not
>> documented in the manual at [[info:org#Tables in HTML export]]. Perhaps
>> it ought to be.

LGTM. I hadn't thought about attr_html; good point.

Digging a bit more into this, I see was not being totally precise when I
described them all as 'deprecated', but since this is the Org manual and
not the W3C, I think that's okay and a good one-word choice.

Details: The W3C HTML5 recommendation does not use the term
"deprecated." It describes a number of presentational attributes,
including the cellpadding, cellspacing, rules, and frame attributes, on
table elements as "obsolete" and says they "must not be used by
authors". The 2014 recommendation made an exception for the border
attribute with a value of the empty string or "1", which was actually
recommended as a fallback, e.g. for text-based browsers
(https://www.w3.org/TR/2014/REC-html5-20141028/obsolete.html). However,
the "living standard" describes border too as obsolete without exception
(https://html.spec.whatwg.org/multipage/obsolete.html#obsolete).

Regards,
Christian

Reply via email to