Skip to content

Commit a19a6ea

Browse files
committed
Remove commented code
Signed-off-by: Nico Burns <nico@nicoburns.com>
1 parent 7d7e33d commit a19a6ea

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

html5ever/src/tree_builder/rules.rs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff 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) => {

0 commit comments

Comments
 (0)