https://html.spec.whatwg.org/multipage/parsing.html#html-integration-point notes that the annotation-xml element depends on attribute state of the start tag. But does that mean that if the sanitizer sanitized the attribute (or script removed it) it doesn't matter because the start tag it had is still the same? That seems very strange and I doubt that matches implementations (for the script case).
https://html.spec.whatwg.org/multipage/parsing.html#html-integration-point notes that the
annotation-xmlelement depends on attribute state of the start tag. But does that mean that if the sanitizer sanitized the attribute (or script removed it) it doesn't matter because the start tag it had is still the same? That seems very strange and I doubt that matches implementations (for the script case).