revert deprecation of #readonly?, #colspan and #rowspan
use constants in generated attributes when possible