Repository navigation
Commit e446320
Fix <input><option> test case
When the changes were made to <select>, the test suite was updated
(#178). As part of this an <input> was added to the serialization of
the <input><option> case.
This doesn't match the spec though. In particular in 'A start tag whose
tag name is "input"' in 13.2.6.4.7 says that "If the parser was created
as part of the HTML fragment parsing algorithm (fragment case) and the
context element passed to that algorithm is a select element" then the
token should be ignored.
Since the context for the <input><option> case is "select", the input
token should be ignored, resulting in a tree that contains just
<option>.1 parent 85c968a commit e446320
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
790 | 790 | | |
791 | 791 | | |
792 | 792 | | |
| 793 | + | |
793 | 794 | | |
794 | 795 | | |
795 | 796 | | |
796 | | - | |
797 | 797 | | |
798 | 798 | | |
799 | 799 | | |
| |||
0 commit comments