fn is_element_with_inline_contents(element: &Node) -> bool
https://w3c.github.io/editing/docs/execCommand/#element-with-inline-contents