Test goes through platform specific editing behavior code path, so it should be tested using LayoutTestController::setEditingBehavior. That way we could get rid of platform specific test results. Right now we have: $ find LayoutTests/ -name toggle-compound-styles* (...) LayoutTests/platform/mac/editing/execCommand/toggle-compound-styles-expected.txt LayoutTests/platform/qt/editing/execCommand/toggle-compound-styles-expected.txt LayoutTests/platform/gtk/editing/execCommand/toggle-compound-styles-expected.txt LayoutTests/platform/win/editing/execCommand/toggle-compound-styles-expected.txt
Bug revealed by bug 51163
Created attachment 76889 [details] fixes the test
Committed r74279: <http://trac.webkit.org/changeset/74279>