summaryrefslogtreecommitdiff
path: root/test/HTML5/Serializer/OutputRulesTest.php
AgeCommit message (Collapse)Author
2016-08-19Alternative implementation of https://github.com/Masterminds/html5-php/pull/115Asmir Mustafic
2016-08-18Add test for handling invalid TEXT_RAW child nodesDanny Smart
2016-05-10Adding test for the address tagMatt Farina
2015-05-09Improved boolean attribute handlingAsmir Mustafic
2014-09-30Handling empty documentsAsmir Mustafic
2014-07-22Merge remote-tracking branch 'goetas/bolean-attr'Asmir Mustafic
2014-07-09Optimized namespaceAttrs, removing one xpath queryAsmir Mustafic
2014-07-08Removed xmlns workaround, using a different method, that supports XMLNSAsmir Mustafic
declarations
2014-06-30Easier implementation. Instead looking for boolean attributes, we canAsmir Mustafic
serach for non-boolean attrs. Is a more compatible approach, with its own drawbacks.
2014-06-26Added compatibility with Facebook HHVM 3.2Asmir Mustafic
2014-06-17Serialization rules for boolean attributesAsmir Mustafic
2014-06-17PSR-2 formattingAsmir Mustafic
2014-06-17Custom namespaces (XML style)Asmir Mustafic
2014-06-11PSR-2 code styleAsmir Mustafic
2014-06-11PSR-0 vendor namespaceAsmir Mustafic
2014-06-11Fixed broken test after #37 margeAsmir Mustafic
2014-06-11Merge pull request #37 from goetas/new-error-handlingAsmir Mustafic
Refactored HTML5 class, removed static methods
2014-06-09#32 Fixed bug where character references were being encoded in style tags.Matt Farina
2014-06-09Added a test to verify we don't have a script being cut off part way though ↵Matt Farina
as in QueryPath #136.
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-12PRS-4 testsAsmir Mustafic
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-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-04escaping attributes in a different wayAsmir Mustafic
2014-02-04Test enc output ruleAsmir Mustafic
2013-11-05Added tests for the output of processor instructions that lead to fixing ↵Matt Farina
that method.
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-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-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-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-09Added test for doctype method on outputrules.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-27Added OutputRules tests.Matt Farina
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.