Make apply-preserving-inline-style-methods unit tests work on Safari