This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Created attachment 583 [details] Valid XHTML1.1 file demonstrating the XML Tree Reordering feature I have found various cases, of which this is the clearest cut, where Amaya has reorganized the XML tree of the input document and has saved it in its reorganized form. If, within a valid document, a <div> element occurs within a <button> element, then in the course of presenting the output, Amaya revises the XML tree so that the <div> encloses the <button>; so, for example, <button><div>Text</div></button> becomes <div><button>Text</button></div>. The attached valid XHTML1.1 file can be viewed in an up to date browser and will show a button with white text on a black background. On first loading with Amaya, the button is rendered as if enclosed in the <div> element, and if the document is saved (unless - workaround! - the document is saved while the source view is active) it will be saved thus reordered.