summaryrefslogtreecommitdiff
path: root/test/HTML5/Parser/TokenizerTest.php
AgeCommit message (Collapse)Author
2021-03-28Travis: Enable tests on PHP 8.0Aleksander Machniak
Cleanup tests code and setup
2019-10-14Fix Trying to access array offset on value of type nullRemi Collet
2018-11-25Fix coding styleTitouan Galopin
2018-11-03Improve performance by relying on a native string instead of InputStreamTitouan Galopin
2018-08-21Fix tests for PHP 5.3Albert Peschar
2017-12-04#136: Respect self-closing tags only on foreign elementsAlbert Peschar
2017-08-28Fixes https://github.com/Masterminds/html5-php/issues/124Asmir Mustafic
Reference: https://www.w3.org/TR/html52/syntax.html#character-reference-state If the character reference was consumed as part of an attribute (return state is either attribute value (double-quoted) state, attribute value (single-quoted) state or attribute value (unquoted) state), and the last character matched is not a U+003B SEMICOLON character (;), and the next input character is either a U+003D EQUALS SIGN character (=) or an alphanumeric ASCII character, then, for historical reasons, switch to the character reference end state. If the last character matched is not a U+003B SEMICOLON character (;), this is a parse error.
2017-07-26Fix https://github.com/Masterminds/html5-php/issues/131Asmir Mustafic
2015-07-15Update TokenizerTest.phpalexpott
Remove duplicate array key
2015-02-02Allow whitespaces in RCDATA end tagsZhaofeng Li
Fixes #75 Signed-off-by: Zhaofeng Li <[email protected]>
2014-12-01Added support for dashes in element tag names (closes #65)Asmir Mustafic
2014-08-01Closes #56Asmir Mustafic
2014-06-17PSR-2 formattingAsmir Mustafic
2014-06-11PSR-2 code styleAsmir Mustafic
2014-06-11PSR-0 vendor namespaceAsmir Mustafic
2014-05-25Parse RCDATA the right wayKITAITI Makoto
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-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-11Merge pull request #25 from goetas/patch-2Matt Farina
Removed quote conversion to entity inside content
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-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-04Added a test for 8785fc5775df52dd4a6b63677ebd08f8301ffdccAsmir Mustafic
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-29Fixed test failures in PHP 5.4.Matt Farina
2013-05-28Fixed failed test suite runs.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-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
2013-04-17Added uppercase tests.Technosophos
2013-04-17Fixed broken tag test.Technosophos
2013-04-16Working on simple tags.Technosophos
2013-04-16Added support for processing instructions.Technosophos
2013-04-15Unit tests for DOCTYPE are all passing.Technosophos
2013-04-15First shot at DOCTYPE parsing and testing.Technosophos
2013-04-13Refactored TokenizerTest.Matt Butcher
2013-04-12CDATA handling is complete. DOCTYPE is begun.Matt Butcher