Parent

Class/Module Index [+]

Quicksearch

HTML5::BeforeHeadPhase

Public Instance Methods

endTagImplyHead(name) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/before_head_phase.rb, line 31
def endTagImplyHead(name)
  startTagHead('head', {})
  @parser.phase.processEndTag(name)
end
endTagOther(name) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/before_head_phase.rb, line 36
def endTagOther(name)
  parse_error("end-tag-after-implied-root", {"name" => name})
end
processCharacters(data) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/before_head_phase.rb, line 15
def processCharacters(data)
  startTagHead('head', {})
  @parser.phase.processCharacters(data)
end
process_eof() click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/before_head_phase.rb, line 10
def process_eof
  startTagHead('head', {})
  @parser.phase.process_eof
end
startTagHead(name, attributes) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/before_head_phase.rb, line 20
def startTagHead(name, attributes)
  @tree.insert_element(name, attributes)
  @tree.head_pointer = @tree.open_elements[-1]
  @parser.phase = @parser.phases[:inHead]
end
startTagOther(name, attributes) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/before_head_phase.rb, line 26
def startTagOther(name, attributes)
  startTagHead('head', {})
  @parser.phase.processStartTag(name, attributes)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.