\HTML5_TreeBuilder

Synopsis

class HTML5_TreeBuilder {
  • // constants
  • const INITIAL = 0;
  • const BEFORE_HTML = 1;
  • const BEFORE_HEAD = 2;
  • const IN_HEAD = 3;
  • const IN_HEAD_NOSCRIPT = 4;
  • const AFTER_HEAD = 5;
  • const IN_BODY = 6;
  • const IN_CDATA_RCDATA = 7;
  • const IN_TABLE = 8;
  • const IN_TABLE_TEXT = 9;
  • const IN_CAPTION = 10;
  • const IN_COLUMN_GROUP = 11;
  • const IN_TABLE_BODY = 12;
  • const IN_ROW = 13;
  • const IN_CELL = 14;
  • const IN_SELECT = 15;
  • const IN_SELECT_IN_TABLE = 16;
  • const IN_FOREIGN_CONTENT = 17;
  • const AFTER_BODY = 18;
  • const IN_FRAMESET = 19;
  • const AFTER_FRAMESET = 20;
  • const AFTER_AFTER_BODY = 21;
  • const AFTER_AFTER_FRAMESET = 22;
  • const SPECIAL = 100;
  • const SCOPING = 101;
  • const FORMATTING = 102;
  • const PHRASING = 103;
  • const NO_QUIRKS = 200;
  • const QUIRKS_MODE = 201;
  • const LIMITED_QUIRKS_MODE = 202;
  • const MARKER = 300;
  • const NS_HTML = NULL;
  • const NS_MATHML = 'http://www.w3.org/1998/Math/MathML';
  • const NS_SVG = 'http://www.w3.org/2000/svg';
  • const NS_XLINK = 'http://www.w3.org/1999/xlink';
  • const NS_XML = 'http://www.w3.org/XML/1998/namespace';
  • const NS_XMLNS = 'http://www.w3.org/2000/xmlns/';
  • const SCOPE = 0;
  • const SCOPE_LISTITEM = 1;
  • const SCOPE_TABLE = 2;
}

Constants

Name Value
INITIAL 0
BEFORE_HTML 1
BEFORE_HEAD 2
IN_HEAD 3
IN_HEAD_NOSCRIPT 4
AFTER_HEAD 5
IN_BODY 6
IN_CDATA_RCDATA 7
IN_TABLE 8
IN_TABLE_TEXT 9
IN_CAPTION 10
IN_COLUMN_GROUP 11
IN_TABLE_BODY 12
IN_ROW 13
IN_CELL 14
IN_SELECT 15
IN_SELECT_IN_TABLE 16
IN_FOREIGN_CONTENT 17
AFTER_BODY 18
IN_FRAMESET 19
AFTER_FRAMESET 20
AFTER_AFTER_BODY 21
AFTER_AFTER_FRAMESET 22
SPECIAL 100
SCOPING 101
FORMATTING 102
PHRASING 103
NO_QUIRKS 200
QUIRKS_MODE 201
LIMITED_QUIRKS_MODE 202
MARKER 300
NS_HTML NULL
NS_MATHML 'http://www.w3.org/1998/Math/MathML'
NS_SVG 'http://www.w3.org/2000/svg'
'http://www.w3.org/1999/xlink'
NS_XML 'http://www.w3.org/XML/1998/namespace'
NS_XMLNS 'http://www.w3.org/2000/xmlns/'
SCOPE 0
SCOPE_LISTITEM 1
SCOPE_TABLE 2

Members

private

  • $a_formatting
  • $dom
  • $flag_force_quirks
  • $flag_frameset_ok
  • $form_pointer
  • $formatting
  • $foster_parent
  • $fragment
  • $head_pointer
  • $ignore_lf_token
  • $ignored
  • $mode
  • $original_mode
  • $pendingTableCharacters
  • $pendingTableCharactersDirty
  • $quirks_mode
  • $root
  • $scoping
  • $secondary_mode
  • $special

public

  • $content_model
  • $context
  • $stack

Methods