| Class | HTML5::TreeBuilders::Base::Node |
| In: |
lib/html5/treebuilders/base.rb
|
| Parent: | Object |
| _flags | [RW] | A list of miscellaneous flags that can be set on the node |
| childNodes | [RW] | a list of child nodes of the current node. This must include all elements but not necessarily other node types |
| parent | [RW] | The parent of the current node (or nil for the document node) |
Return a shallow copy of the current node i.e. a node with the same name and attributes but with no parent or child nodes
Insert node as a child of the current node, before refNode in the list of child nodes. Raises ValueError if refNode is not a child of the current node
Insert data as text in the current node, positioned before the start of node insertBefore or to the end of the node‘s text.