summaryrefslogtreecommitdiff
path: root/test/HTML5/Serializer/SerializerTest.php
AgeCommit message (Collapse)Author
2013-09-26The serializer was a wrapper for serializing the same way html5 at the top ↵Matt Farina
level was a wrapper for parsing. Moved the serializing interface to be in the same form as the parser for consistency.
2013-06-26Added a bunch of serializer tests to test fragments.Matt Farina
2013-06-26Removed extra method for preparing htmlMatt Farina
2013-06-26Fixed an issue when writing fragments and trying to check for a tag name on ↵Matt Farina
a fragment.
2013-06-04Added a serializer test for a file on the system.Matt Farina
2013-05-27Fixed cdata and text handling.Matt Farina
wholeText on a text node holds the text of logically adjacent text. That means a new line followed by cdata following by spaces and/or a new line will all be in the cdata wholeText. This change fixes our handling to use data rather than wholeText. Also fixed the cdata regex tests.
2013-05-27Seperated the Traverser from the Output generation.Matt Farina
The Traverser now simply walks through a document. The OutputRules convert the nodes into output html. The rules is a configurable options. By default OutputRules will generate html close to the html5 that was parsed. Alternate rule implementation (e.g., minify rules, pretty spacing rules) can be set as the default or on an individual case.
2013-05-23Fixed the serializer tests. They were testing on fragments which are not ↵Matt Farina
currently supported in the parser.
2013-05-22Updating the serializer tests to use the proper html5 static method.Matt Farina
2013-04-16Stubbed out the TraverserTest and moved the SerielizerTest to the Serielizer ↵Matt Farina
subdirectory.