| Class | HTML5::AfterHeadPhase |
| In: |
lib/feed_tools/vendor/html5/lib/html5/html5parser/after_head_phase.rb
|
| Parent: | Phase |
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/after_head_phase.rb, line 44
44: def anything_else
45: @tree.insert_element('body', {})
46: @parser.phase = @parser.phases[:inBody]
47: end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/after_head_phase.rb, line 13
13: def processCharacters(data)
14: anything_else
15: @parser.phase.processCharacters(data)
16: end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/after_head_phase.rb, line 39
39: def processEndTag(name)
40: anything_else
41: @parser.phase.processEndTag(name)
42: end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/after_head_phase.rb, line 8
8: def process_eof
9: anything_else
10: @parser.phase.process_eof
11: end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/after_head_phase.rb, line 18
18: def startTagBody(name, attributes)
19: @tree.insert_element(name, attributes)
20: @parser.phase = @parser.phases[:inBody]
21: end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/after_head_phase.rb, line 23
23: def startTagFrameset(name, attributes)
24: @tree.insert_element(name, attributes)
25: @parser.phase = @parser.phases[:inFrameset]
26: end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/after_head_phase.rb, line 28
28: def startTagFromHead(name, attributes)
29: parse_error("unexpected-start-tag-out-of-my-head", {"name" => name})
30: @parser.phase = @parser.phases[:inHead]
31: @parser.phase.processStartTag(name, attributes)
32: end