From a415c29efee45520ae252d2aa28f1083a521cd7b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 09:56:49 +0200 Subject: Adding upstream version 6.4.3+dfsg1. Signed-off-by: Daniel Baumann --- .../html-api/class-wp-html-processor-state.php | 143 +++++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 wp-includes/html-api/class-wp-html-processor-state.php (limited to 'wp-includes/html-api/class-wp-html-processor-state.php') diff --git a/wp-includes/html-api/class-wp-html-processor-state.php b/wp-includes/html-api/class-wp-html-processor-state.php new file mode 100644 index 0000000..9cf10c3 --- /dev/null +++ b/wp-includes/html-api/class-wp-html-processor-state.php @@ -0,0 +1,143 @@ + The frameset-ok flag is set to "ok" when the parser is created. It is set to "not ok" after certain tokens are seen. + * + * @since 6.4.0 + * + * @see https://html.spec.whatwg.org/#frameset-ok-flag + * + * @var bool + */ + public $frameset_ok = true; + + /** + * Constructor - creates a new and empty state value. + * + * @since 6.4.0 + * + * @see WP_HTML_Processor + */ + public function __construct() { + $this->stack_of_open_elements = new WP_HTML_Open_Elements(); + $this->active_formatting_elements = new WP_HTML_Active_Formatting_Elements(); + } +} -- cgit v1.2.3