Closed mricaud closed 3 years ago
New strategy 1) convert every attribute and css style in cals align/valign anywhere 2) calculate each entry explicit align/valign, delete other align/valign 3) optimize align/valign declaration based on default values :
done
valign default value in cals is "top" in CALS and "middle" in HTML.
To solve this, html2cals set valign "middle" on thead/tbody/tfoot (valign is not allowed on table/tgroup) if none is specified, fine. In this case, every cells that has a valign="middle" don't actually need it : we can get rid of it to make the cals lighter
There are also things to correct about valign, for example :