And Sigil embeds webkit to render previews, so it is arly surprising it supports a lot. But I assume it doesn't pass validation.
I wouldn't be surprised if calibre also displays it fine, for the same reason, in the Editor preview pane, and the Ebook-Viewer.
And it is STILL a horrible idea to actually do it.