File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -1298,8 +1298,16 @@ def endTagOther(self, name):
12981298 self .parser .processEndTag (name )
12991299
13001300
1301- class InRow (InsertionMode ): pass
1302-
1301+ class InRow (InsertionMode ):
1302+ # http://www.whatwg.org/specs/web-apps/current-work/#in-row
1303+
1304+ # helper methods (XXX unify this with other table helper methods)
1305+ def clearStackToTableBodyContext (self ):
1306+ while self .parser .openElements [:- 1 ].name in ("tr" , "html" ):
1307+ self .parser .openElements .pop ()
1308+ self .parser .parseError ()
1309+
1310+ # the rest
13031311
13041312class InCell (InsertionMode ): pass
13051313
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ The testcases require the use of simplejson
33be run directly through a python interpreter (e.g. python
44test_tokenizer.py). However the tests are designed to work with the
55nose unit-test framework (http://nose.python-hosting.com). If nose is
6- installed the command nosetests will run all avaliable unit tests.
6+ installed the command nosetests will run all avaliable unit tests.
You can’t perform that action at this time.
0 commit comments