Method: HTML5::InTablePhase#startTagCaption

Defined in:
lib/html5/html5parser/in_table_phase.rb

#startTagCaption(name, attributes) ⇒ Object



23
24
25
26
27
28
# File 'lib/html5/html5parser/in_table_phase.rb', line 23

def startTagCaption(name, attributes)
  clearStackToTableContext
  @tree.activeFormattingElements.push(Marker)
  @tree.insert_element(name, attributes)
  @parser.phase = @parser.phases[:inCaption]
end