Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DOMTreeBuilder.php

DOMTreeBuilder::$nsRoots

Holds the HTML5 element names that causes a namespace switch.

Type: array

File

vendor/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php, line 54

Class

DOMTreeBuilder
Create an HTML5 DOM tree from events.

Namespace

Masterminds\HTML5\Parser

Code

protected $nsRoots = array(
    'html' => self::NAMESPACE_HTML,
    'svg' => self::NAMESPACE_SVG,
    'math' => self::NAMESPACE_MATHML,
);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal