We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e8388b commit 6c68e52Copy full SHA for 6c68e52
src/parser.py
@@ -1,3 +1,16 @@
1
+# Differences from the current specification (23 December 2006) are as follows:
2
+# * Phases and insertion modes are one concept in parser.py.
3
+# * EOF handling is slightly different to make sure <html>, <head> and <body>
4
+# always exist.
5
+# * We also deal with content when there's no DOCTYPE.
6
+# It is expected that the specification will catch up with us in due course ;-)
7
+#
8
+# It should be trivial to add the following cases. However, we should probably
9
+# also look into comment handling and such then...
10
+# * A <p> element end tag creates an empty <p> element when there's no <p>
11
+# element in scope.
12
+# * A <br> element end tag creates an empty <br> element.
13
+
14
try:
15
frozenset
16
except NameError:
0 commit comments