File tree Expand file tree Collapse file tree
html5ever/src/tree_builder Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,28 +113,6 @@ where
113113 } ,
114114 } ,
115115
116- //§ the-before-html-insertion-mode
117- // InsertionMode::BeforeHtml => match_token!(token {
118- // Token::Characters(SplitStatus::NotSplit, text) => ProcessResult::SplitWhitespace(text),
119- // Token::Characters(SplitStatus::Whitespace, _) => ProcessResult::Done,
120- // Token::Comment(text) => self.append_comment_to_doc(text),
121-
122- // tag @ <html> => {
123- // self.create_root(tag.attrs);
124- // self.mode.set(InsertionMode::BeforeHead);
125- // ProcessResult::Done
126- // }
127-
128- // </head> </body> </html> </br> => else,
129-
130- // tag @ </_> => self.unexpected(&tag),
131-
132- // token => {
133- // self.create_root(vec!());
134- // ProcessResult::Reprocess(InsertionMode::BeforeHead, token)
135- // }
136- // }),
137-
138116 //§ the-before-html-insertion-mode
139117 InsertionMode :: BeforeHtml => match token {
140118 Token :: Characters ( SplitStatus :: NotSplit , text) => {
You can’t perform that action at this time.
0 commit comments