summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2014-06-04Refactored HTML5 class (no more static methods) and explicit errorAsmir Mustafic
handling
2014-05-15Merge pull request #34 from goetas/prs-testsMatt Farina
Fixes the testing errors and makes the tests PSR compatible
2014-05-14Update TokenizerTest.phpAsmir Mustafic
2014-05-14Update DOMTreeBuilderTest.phpAsmir Mustafic
2014-05-14Moved some class in separate filesAsmir Mustafic
2014-05-12PRS-4 testsAsmir Mustafic
2014-04-16Don't throw an exception for invalid tag namesMišo Belica
2014-02-21Ignore attributes with illegal chars in name (fixes #23)Mišo Belica
This is neccesary because method "DOMElement::setAttribute" throws exception for wrong names so DOM elements can't contain these attributes.
2014-02-11Updated the text escaping and added some separation between escaping and ↵Matt Farina
converting named character references.
2014-02-11Merge pull request #25 from goetas/patch-2Matt Farina
Removed quote conversion to entity inside content
2014-02-11Merge pull request #27 from miso-belica/fix-win-eol-testsMatt Butcher
Fixed tests on Windows: changed "\n" -> PHP_EOL
2014-02-11Merge pull request #28 from miso-belica/fix-infinite-cycleMatt Butcher
Fixed infinite loop for char "&" in unquoted attribute
2014-02-11Merge branch 'master' of github.com:Masterminds/html5-phpMatt Butcher
2014-02-11Fix for #25: Handle missing tag close in attribute list.Matt Butcher
2014-02-11Fixed infinite loop for char "&" in unquoted attributeMišo Belica
2014-02-11Removed trailing whitespaceMišo Belica
2014-02-11Fixed tests on Windows: changed "\n" -> PHP_EOLMišo Belica
New lines are represented by "\r\n" characters on Windows so tests relying on "\n" are failing.
2014-02-11Tests and code style + nbsp handlingAsmir Mustafic
2014-02-10tests and html5 standardsAsmir Mustafic
2014-02-07#26: Updated the case handling for tags to allow for uppercase tags and ↵Matt Farina
normalizing tag names to lowercase (per 8.2.4.9) except for SVG foreign tags that are case sensitive.
2014-02-04escaping attributes in a different wayAsmir Mustafic
2014-02-04Added a test for 8785fc5775df52dd4a6b63677ebd08f8301ffdccAsmir Mustafic
2014-02-04Test enc output ruleAsmir Mustafic
2013-11-06Added instruction processor tests that do something interesting and useful ↵Matt Farina
as an example
2013-11-06Cleaning up the sarcasm tag parsing.Matt Farina
2013-11-06Improved test coverage. This caused a bug in processor instructions to ↵Matt Farina
appear. Fix them so they actually work now.
2013-11-05Added traverser test coverage for processing instructions.Matt Farina
2013-11-05Added tests for the output of processor instructions that lead to fixing ↵Matt Farina
that method.
2013-11-05Added more tests for the HTML5 class to complete test coverage.Matt Farina
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