Basically the same idea as #382. Parsing behavior changes at [HTML integration point](https://html.spec.whatwg.org/multipage/parsing.html#html-integration-point) and [MathML text integration point](https://html.spec.whatwg.org/multipage/parsing.html#mathml-text-integration-point).
Basically the same idea as #382. Parsing behavior changes at HTML integration point and MathML text integration point.