summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2020-02-06prevent infinite loop on unterminated entity declaration at end of streamAsmir Mustafic
2019-06-14Set default encoding in the doc object.Ilias Dimopoulos
2019-02-06Fix testTitouan Galopin
2018-12-29Add encoding testsTitouan Galopin
2018-11-25Fix coding styleTitouan Galopin
2018-11-24Merge pull request #159 from samnela/remove-deprecated-testcaseAsmir Mustafic
Remove deprecated testcase implementation
2018-11-24Remove deprecated testcase implementationSamuel NELA
2018-11-24Fix typos in commentsChristophe Coevoet
2018-11-23The element mask is 0 rather than false if element not fount.Matt Farina
2018-11-03Improve performance by relying on a native string instead of InputStreamTitouan Galopin
2018-10-08audio is not a block tagAsmir Mustafic
see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
2018-08-21Fix tests for PHP 5.3Albert Peschar
2017-12-04#136: Respect self-closing tags only on foreign elementsAlbert Peschar
2017-12-04Add testcases for #136Albert Peschar
2017-09-01Merge pull request #134 from Masterminds/ampersand-in-urlsAsmir Mustafic
Raw & in attributes
2017-08-31add performance benchmarkAsmir Mustafic
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-08-25handle special "img" "image" handlingAsmir Mustafic
2017-07-26Fix https://github.com/Masterminds/html5-php/issues/131Asmir Mustafic
2016-09-22removed loop and renamed testAsmir Mustafic
2016-09-22renamed labelAsmir Mustafic
2016-09-22don't close optgroup when followed by an optionValentin Kunz
Make sure options are children of optgroup, not the parent select. Otherwise we end up with a bunch of empty optgroups.
2016-09-22Merge pull request #116 from Masterminds/case-sensitive-namesAsmir Mustafic
In XML mode, tags are case sensitive
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-08-17In XML mode, tags are case sensitiveAsmir Mustafic
Fixes #114
2016-05-10Adding test for the address tagMatt Farina
2016-03-18Fixes #98: a DOM is allowed within noscript tagsMatt Farina
When JavaScript is disabled noscript tags become transparent to to the DOM. For more details see: https://w3c.github.io/html/semantics-scripting.html#the-noscript-element While this notes limitations in the values in the head there are different sets elsewhere such as in: https://w3c.github.io/html/syntax.html#the-in-head-noscript-insertion-mode Since this is not a validating parser this handling it to make it transparent.
2016-03-15Fixes #96: Parser breaking xml:href on svgs that use the "use" elementMatt Farina
2015-07-15Update TokenizerTest.phpalexpott
Remove duplicate array key
2015-06-07Allow multiple root nodesAsmir Mustafic
2015-05-09Improved boolean attribute handlingAsmir Mustafic
2015-03-08Closes #78: Fixes bug where unmatched entity like string drops everything ↵Matt Farina
after &.
2015-02-23Adding some tests to the UTF8 utilities.Matt Farina
2015-02-06Added tests for "target_document" and "disable_html_ns" optionsAsmir Mustafic
2015-02-02Allow whitespaces in RCDATA end tagsZhaofeng Li
Fixes #75 Signed-off-by: Zhaofeng Li <[email protected]>
2015-01-06Added $options to HTML loading methodsAsmir Mustafic
2014-12-17Merge pull request #64 from goetas/i63Asmir Mustafic
Case insensitive tags
2014-12-14Case insensitive comparison only for html5 tagsAsmir Mustafic
2014-12-14Auto closing tags if they allows only inline nodes as child nodesAsmir Mustafic
Fixes #68
2014-12-01Added support for dashes in element tag names (closes #65)Asmir Mustafic
2014-11-24Case insensitive tagsAsmir Mustafic
fixes #63
2014-09-30Handling empty documentsAsmir Mustafic
2014-09-23Fragments with rulesAsmir Mustafic
2014-08-01Closes #56Asmir 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-30Fiexed a issue when xmlNamespaces = trueAsmir Mustafic