summaryrefslogtreecommitdiff
path: root/src/HTML5
AgeCommit message (Collapse)Author
2013-05-27Handling in the traverser the case where the dom passed in is a node list.Matt Farina
2013-05-27Added an interface for Output Rules to document how they work.Matt Farina
2013-05-27Added some rule documentation.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-25Fixed issue #3: static call to non-static method.Matt Butcher
2013-05-18Fixed issue where closing tags were not being written.Matt Farina
2013-05-18General escaping and full html5 encoding with named character references work.Matt Farina
2013-05-15Merge branch 'master' of github.com:technosophos/HTML5-PHPMatt Farina
2013-05-15Removed the last vestiges of libhtml5.Matt Butcher
2013-05-15Updaed TreeBuildingRules for tables and other elements.Matt Butcher
2013-05-07Only raw text should not be encoded (e.g., text in a script or style tag).Matt Farina
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-07Fixed writing text node.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-06Added some commenting on the operation 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-02Merge branch 'master' of github.com:technosophos/HTML5-PHPMatt 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-02Merge branch 'master' of github.com:technosophos/HTML5-PHPMatt Butcher
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-02Updated the property to be for more semantics.Matt Farina
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-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-29I feel dirty. Added frameset tag.Matt Farina
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-24Merge branch 'master' of github.com:technosophos/HTML5-PHPMatt Butcher
2013-04-24Added attribute handling.Technosophos
2013-04-24Removed deprecated constants.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-24Experimenting with bitmasked elements.Technosophos
2013-04-24Merge branch 'master' of github.com:technosophos/HTML5-PHPMatt Butcher
2013-04-24Updated DOMTree builder.Matt Butcher
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-23Merge branch 'master' of github.com:technosophos/HTML5-PHPMatt Butcher
2013-04-23Added Elements class.Matt Butcher