summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2013-11-04#20 Some of the parser rules, for special cases, were not returning the ↵Matt Farina
element to use as the current element. This caused the current parser element to get messed up.
2013-10-28Changed serialization for CDATA and comments.Matt Butcher
Change to comments does not seem to produce different output under any cases. See Issue #19.
2013-10-28Regression tests for #19.Matt Butcher
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-09-26Moved the output rules from being a configurable option. This is part of a ↵Matt Farina
change to commonize how we override classes to be more consistent.
2013-09-15Fix for #13: Malformed HTML is getting mangled instead of fixed.Matt Butcher
Thanks to @sascha-tasche for reporting it. And to @mattfarina for digging up what we should really do to fix it.
2013-08-10#11: Updated the text handling in the tree builder to more accurately work ↵Matt Farina
in before head mode.
2013-08-07#11: Updating the text handling for parsing when in before head mode. Now ↵Matt Farina
passing the ignored string characters through to the DOM and giving a parse error on other strings. Since this DOM is not used to render for display and it may be turned back into html it is useful to preserve these characters.
2013-07-01Added test for autoclosing li.Matt Farina
2013-07-01Added svg test that handles elements. Note, attribute tests were already done.Matt Farina
2013-07-01Added more mathml tests.Matt Farina
2013-06-28Merge branch 'master' of github.com:Masterminds/html5-phpMatt Butcher
2013-06-28Documentation updates for Beta 1!Matt Butcher
2013-06-28Added a test around prefixed xml. It's a weird and invalid case. But, ↵Matt Farina
following the naming conventions in 2.9 means parsing and spitting it out works though each element is treated as an unknown element.
2013-06-26#8 Testing saving of fragments.Matt Farina
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-26Added a helper method of loadHTMLFragment to get a DOMDocumentFragment.Matt Farina
2013-06-25Updated unit tests to test #8 fragment parser.Matt Butcher
2013-06-25Issue #8: Can now parse fragments.Matt Butcher
2013-06-24#8: Added DOMDocumentFragment serializing.Matt Farina
2013-06-18More work on fragment parser.Matt Butcher
2013-06-18More SVG testing.Matt Farina
2013-06-18Fixed an issue in the outputrules test where a test could have two output ↵Matt Farina
rules objects with different internal settings.
2013-06-17Added mathml tests to test case sensitivity and fixed the parser for the ↵Matt Farina
correct mathml tag name. Closing #7.
2013-06-17#4 Added SVG tests and fixed issues with self closing non-html tags and ↵Matt Farina
attributes with a value of 0.
2013-06-13Merge branch 'master' of github.com:Masterminds/html5-phpMatt Butcher
2013-06-13Support for mixed casing on SVG and MathML.Matt Butcher
2013-06-12Added support for attributes without values and a attribute test.Matt Farina
2013-06-12#4 and #7, Cleaned up the MathMl support and added a test.Matt Farina
2013-06-11Part of #4 and #7: Added normalization of element and attribute names to SVG ↵Matt Farina
and MathML output.
2013-06-11Added SVG and MathML element and attribute normalization.Matt Farina
2013-06-09Added test for doctype method on outputrules.Matt Farina
2013-06-04Added a serializer test for a file on the system.Matt Farina
2013-06-03Added tests to fill out the HTML5 class.Matt Farina
2013-05-30Updated the option naming so the serializer and parser can share the same ↵Matt Farina
default option setup and have it still make sense.
2013-05-30Updated the overall test of parse, render, parse to use a lowercase doctype.Matt Farina
2013-05-30Merge branch 'master' of github.com:Masterminds/html5-phpMatt Butcher
2013-05-30Fix for issue #6: DOCTYPE is no longer case sensitive.Matt Butcher
2013-05-30Added tests to make sure we can parse, save, and then parse the saved document.Matt Farina
2013-05-29Fixed test failures in PHP 5.4.Matt Farina
2013-05-28Fixed failed test suite runs.Matt Farina
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.