This test verifies that WebKit does not erroneously clone nodes hierarchy when copying text with background color. "Hello" should be blue and has yellow background but you should not see red border.

To manually this test, copy "Hello" and paste it on the black box below.

Hello