HTMLDecor means full separation of content from presentation. With CSS you can change the styling of a whole site with one stylesheet. With HTMLDecor you can change everything - banner, navbars, ads, page-layout and stylesheets. This facilitates API-first / HTML-payload sites which are simple, robust and low-bandwidth, plus "pushState assisted navigation" comes for free.
Previously there was no merging done, so that whatever attributes were on these elements in the landing-page remained the same for the whole session (unless they were modified by script).
As of 2.0.x.15 these elements will have only the attributes specified in the decor document.
It may be appropriate for attributes from content documents to be merged with (or over-ride) those from the decor document.
One alternative is to make these attributes from the content document available via an API call.
Previously there was no merging done, so that whatever attributes were on these elements in the landing-page remained the same for the whole session (unless they were modified by script).
As of 2.0.x.15 these elements will have only the attributes specified in the decor document.
It may be appropriate for attributes from content documents to be merged with (or over-ride) those from the decor document.
One alternative is to make these attributes from the content document available via an API call.