Class HTML5::XmlRootPhase
In: lib/feed_tools/vendor/html5/lib/html5/liberalxmlparser.rb
Parent: Phase

Methods

Public Instance methods

[Source]

     # File lib/feed_tools/vendor/html5/lib/html5/liberalxmlparser.rb, line 124
124:     def endTagOther(name)
125:       super
126:       @tree.open_elements.pop
127:     end

[Source]

     # File lib/feed_tools/vendor/html5/lib/html5/liberalxmlparser.rb, line 117
117:     def startTagOther(name, attributes)
118:       @tree.open_elements.push(@tree.document)
119:       element = @tree.createElement(name, attributes)
120:       @tree.open_elements[-1].appendChild(element)
121:       @tree.open_elements.push(element)
122:       @parser.phase = XmlElementPhase.new(@parser,@tree)
123:     end

[Validate]