Skip to content

Commit 143c402

Browse files
committed
initial phase probably can't be merged with the root element phase because DOCTYPEs are done differently. think of <!doctype><!doctype>
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40378
1 parent 6c68e52 commit 143c402

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/parser.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,6 @@ class InitialPhase(Phase):
209209
# covered in the specification. The error handling is typically known as
210210
# "quirks mode". It is expected that a future version of HTML5 will defin
211211
# this.
212-
#
213-
# AT Given that. I think it should be possible to merge this phase with the
214-
# root element phase in due course.
215212
def processEOF(self):
216213
self.parser.phase = self.parser.phases["rootElement"]
217214
self.parser.phase.processEOF()

0 commit comments

Comments
 (0)