Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 49c9b1c

Browse files
committed
use the table variant of the element in scope algorithm when in select in table insertion mode
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%401227
1 parent eb77d42 commit 49c9b1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/html5/html5parser/in_select_table_phase.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def startTagOther(name, attributes)
2222

2323
def endTagTable(name)
2424
@parser.parse_error("unexpected-table-element-end-tag-in-select-in-table", {:name => name})
25-
if @tree.elementInScope(name)
25+
if @tree.elementInScope(name, true)
2626
endTagOther("select")
2727
@parser.phase.processEndTag(name)
2828
end

0 commit comments

Comments
 (0)