Class HTML5::TreeBuilders::Base::TreeBuilder
In: lib/html5/treebuilders/base.rb
Parent: Object

Base treebuilder implementation

Methods

Attributes

activeFormattingElements  [RW] 
document  [RW] 
formPointer  [RW] 
head_pointer  [RW] 
open_elements  [RW] 

Public Class methods

Public Instance methods

Create an element but don‘t insert it anywhere

Check if an element exists between the end of the active formatting elements and the last marker. If it does, return it, else return false

Get the foster parent element, and sibling to insert before (or nil) when inserting a misnested table node

Create an element and insert it into the tree

Switch the function used to insert an element from the normal one to the misnested table one and back again

Serialize the subtree of node in the format required by unit tests node - the node from which to start serializing

[Validate]