--- old/test/javax/swing/text/html/StyleSheet/bug4936917.java 2017-02-13 13:17:54.715698100 +0530 +++ new/test/javax/swing/text/html/StyleSheet/bug4936917.java 2017-02-13 13:17:53.979624500 +0530 @@ -21,7 +21,7 @@ * questions. */ /* @test - @bug 4936917 7190578 + @bug 4936917 7190578 8174717 @summary Tests if background is correctly painted when has css margins @author Denis Sharypov @library ../../../regtesthelpers @@ -72,6 +72,7 @@ blockTillDisplayed(editorPane); Robot robot = new Robot(); robot.waitForIdle(); + robot.delay(300); int x0 = p.x + 15 ; int y = p.y + 15;