What types of HTML elements does DomDistiller remove during sanitization?

During HTML sanitization, DomDistiller removes <script> and <style> tags, event handlers, and unnecessary class and ID attributes to create a minimal, valid HTML wrapper containing only the extracted content.