MINOR Warning about HTML5 compat in CSSContentParser

This commit is contained in:
Ingo Schommer 2012-06-05 11:38:27 +02:00
parent 5499079c1c
commit e643559b17

View File

@ -2,7 +2,6 @@
/** /**
* CSSContentParser enables parsing & assertion running of HTML content via CSS selectors. * CSSContentParser enables parsing & assertion running of HTML content via CSS selectors.
*
* It works by converting the content to XHTML using tidy, rewriting the CSS selectors as XPath queries, and executing * It works by converting the content to XHTML using tidy, rewriting the CSS selectors as XPath queries, and executing
* those using SimpeXML. * those using SimpeXML.
* *
@ -13,6 +12,9 @@
* and falls back to the "tidy" CLI tool. If none of those exists, * and falls back to the "tidy" CLI tool. If none of those exists,
* the string is parsed directly without sanitization. * the string is parsed directly without sanitization.
* *
* Caution: Doesn't fully support HTML elements like <header>
* due to them being declared illegal by the "tidy" preprocessing step.
*
* @package framework * @package framework
* @subpackage core * @subpackage core
*/ */