Class: HTML5::AfterFramesetPhase

Inherits:
Phase
  • Object
show all
Defined in:
lib/feed_tools/vendor/html5/lib/html5/html5parser/after_frameset_phase.rb

Instance Method Summary collapse

Methods inherited from Phase

#assert, end_tag_handlers, handle_end, handle_start, #in_scope?, #initialize, #processComment, #processDoctype, #processEndTag, #processSpaceCharacters, #processStartTag, #process_eof, #remove_open_elements_until, #startTagHtml, start_tag_handlers, tag_handlers

Constructor Details

This class inherits a constructor from HTML5::Phase

Instance Method Details

#endTagHtml(name) ⇒ Object



24
25
26
27
# File 'lib/feed_tools/vendor/html5/lib/html5/html5parser/after_frameset_phase.rb', line 24

def endTagHtml(name)
  @parser.last_phase = @parser.phase
  @parser.phase      = @parser.phases[:trailingEnd]
end

#endTagOther(name) ⇒ Object



29
30
31
# File 'lib/feed_tools/vendor/html5/lib/html5/html5parser/after_frameset_phase.rb', line 29

def endTagOther(name)
  parse_error("unexpected-end-tag-after-frameset", {"name" => name})
end

#processCharacters(data) ⇒ Object



12
13
14
# File 'lib/feed_tools/vendor/html5/lib/html5/html5parser/after_frameset_phase.rb', line 12

def processCharacters(data)
  parse_error("unexpected-char-after-frameset")
end

#startTagNoframes(name, attributes) ⇒ Object



16
17
18
# File 'lib/feed_tools/vendor/html5/lib/html5/html5parser/after_frameset_phase.rb', line 16

def startTagNoframes(name, attributes)
  @parser.phases[:inBody].processStartTag(name, attributes)
end

#startTagOther(name, attributes) ⇒ Object



20
21
22
# File 'lib/feed_tools/vendor/html5/lib/html5/html5parser/after_frameset_phase.rb', line 20

def startTagOther(name, attributes)
  parse_error("unexpected-start-tag-after-frameset", {"name" => name})
end