summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2013-05-27Added OutputRules tests.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-05-18General escaping and full html5 encoding with named character references work.Matt Farina
2013-05-15Updated the \HTML5 class to parse with static methods, updated the Traverser ↵Matt Farina
tests to work with the the new parser, and remoted the old Parser tests not that the old parser is gone.
2013-05-15Removed the last vestiges of libhtml5.Matt Butcher
2013-05-07Make encoding work (with testing) under php 5.3.Matt Farina
2013-05-07Tested and updated the traverser encoding in php 5.4.Matt Farina
2013-05-06Updated the traverser to use the html5 parser.Matt Farina
2013-05-06Updated the traverser text method and added a test.Matt Farina
2013-05-06Updated the TEXT_RAW tags to be those specified and those that should act ↵Matt Farina
like it. References to the html5 sections included. Note, the pre tag was removed from being treated as raw text. It can often have children (e.g., the code tag) and is specific for display time. Makes me wonder why pre is it's own tag if it's for display. Why not just use styles?
2013-05-06Starting work on internals of the traverser.Matt Farina
2013-05-03Added comments and tests for wr on traverser.Matt Farina
2013-05-03Tests and comments for new lines in the traverser.Matt Farina
2013-05-03Added constructor test to the traverser.Matt Farina
2013-05-02Merge branch 'master' of github.com:technosophos/HTML5-PHPMatt Farina
2013-05-02Updated the unary terminology to void in the element tests.Matt Farina
2013-05-02Moved the traverser block checking code to use the mask on the elements class.Matt Farina
2013-05-02Added block element checking to elements class.Matt Farina
2013-05-02Rules for LI, DT, DD, RT, and RP.Matt Butcher
2013-05-02Stubbing out a rules engine for tag special-casing.Matt Butcher
2013-05-02Changed constants from UNARY_TAG to VOID_TAG to follow spec.Matt Butcher
2013-05-01Fixes for PI tests.Matt Butcher
2013-05-01Added parse error tests.Matt Butcher
2013-05-01Merge branch 'master' of github.com:technosophos/HTML5-PHPMatt Butcher
2013-05-01Fixed faulty test.Matt Butcher
The parser is actually really strict, and maybe we should back off on enforcing some of the stricter rules.
2013-05-01Fixed CDATA.Matt Butcher
2013-04-29Moved the traverser unary tests to the elements class.Matt Farina
2013-04-24MAJOR changes to the DOMTreeBuilder.Matt Butcher
This now supports most of the tree building. It has limited support for insertion modes, as well as some syntax correction.
2013-04-24Added attribute handling.Technosophos
2013-04-24Moved to Elements::TEXT_RAW for Tokenizer.Technosophos
2013-04-24Unit tests for DOMTreeBuilder begun.Technosophos
Minor bugs fixed, too.
2013-04-24Added negative test to unit tests.Technosophos
2013-04-24Experimenting with bitmasked elements.Technosophos
2013-04-24Added SVG to the element setup.Matt Farina
2013-04-24Added MathML Presentation element checking.Matt Farina
2013-04-24Added tests around the html element checking.Matt Farina
2013-04-24Moved back to array lookups for html5 elements. This is SIGNIFICANTLY faster ↵Matt Farina
then the regular expressions and twice as fast as the next fastest method I tested.
2013-04-22Added documentation to the traverserMatt Farina
2013-04-19Stubs for tree builder and tests.Technosophos
2013-04-19Full support for rawtext. Unit tests finished.Technosophos
2013-04-19Added support for raw text.Technosophos
2013-04-18Fixed attribute tokenizing for 8.1.2.3.Technosophos
2013-04-18Tokenizer now handles sophisticated tags.Technosophos
2013-04-18Well-formed attribute values are working.Technosophos
2013-04-17Fixed bug in whitespace consumer.Technosophos
2013-04-17Refactoring Tokenizer tests.Technosophos
2013-04-17Updated Tokenizer tests with new tag tests.Technosophos