Parent

Class/Module Index [+]

Quicksearch

HTML5::InColumnGroupPhase

Public Instance Methods

endTagCol(name) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/in_column_group_phase.rb, line 44
def endTagCol(name)
  parse_error("no-end-tag", {"name" => "col"})
end
endTagColgroup(name) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/in_column_group_phase.rb, line 33
def endTagColgroup(name)
  if ignoreEndTagColgroup
    # inner_html case
    assert @parser.inner_html
    parse_error
  else
    @tree.open_elements.pop
    @parser.phase = @parser.phases[:inTable]
  end
end
endTagOther(name) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/in_column_group_phase.rb, line 48
def endTagOther(name)
  ignoreEndTag = ignoreEndTagColgroup
  endTagColgroup('colgroup')
  @parser.phase.processEndTag(name) unless ignoreEndTag
end
ignoreEndTagColgroup() click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/in_column_group_phase.rb, line 12
def ignoreEndTagColgroup
  @tree.open_elements[-1].name == 'html'
end
processCharacters(data) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/in_column_group_phase.rb, line 16
def processCharacters(data)
  ignoreEndTag = ignoreEndTagColgroup
  endTagColgroup("colgroup")
  @parser.phase.processCharacters(data) unless ignoreEndTag
end
startTagCol(name, attributes) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/in_column_group_phase.rb, line 22
def startTagCol(name, attributes)
  @tree.insert_element(name, attributes)
  @tree.open_elements.pop
end
startTagOther(name, attributes) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/in_column_group_phase.rb, line 27
def startTagOther(name, attributes)
  ignoreEndTag = ignoreEndTagColgroup
  endTagColgroup('colgroup')
  @parser.phase.processStartTag(name, attributes) unless ignoreEndTag
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.