modules/graphics/src/test/java/com/sun/javafx/scene/layout/RegionTest.java

Print this page
rev 9240 : 8076423: JEP 253: Prepare JavaFX UI Controls & CSS APIs for Modularization

*** 77,87 **** // new Insets(0,0,0,0), // new Insets(1,1,1,1), // }; // // ! // Stylesheet stylesheet = CSSParser.getInstance().parse( // "* { " + // "-fx-background-color: #ff0000, #00ff00, #0000ff;" + // "-fx-background-radius: -1, 0, 1; " + // "-fx-background-insets: -1, 0, 1; " + // "}"); --- 77,87 ---- // new Insets(0,0,0,0), // new Insets(1,1,1,1), // }; // // ! // Stylesheet stylesheet = new CssParser().parse( // "* { " + // "-fx-background-color: #ff0000, #00ff00, #0000ff;" + // "-fx-background-radius: -1, 0, 1; " + // "-fx-background-insets: -1, 0, 1; " + // "}");
*** 180,190 **** // {dashed, dotted, BorderStyle.SOLID, BorderStyle.NONE}, // {dashed, dotted, BorderStyle.SOLID, BorderStyle.NONE}, // {dashed, dotted, BorderStyle.SOLID, BorderStyle.NONE}, // }; // ! // Stylesheet stylesheet = CSSParser.getInstance().parse( // "* { " + // "-fx-border-color: red, " + // "yellow blue green red," + // "#d0d0d0 #0d0d0d;" + // "-fx-border-width: 1 2 3 4; " + --- 180,190 ---- // {dashed, dotted, BorderStyle.SOLID, BorderStyle.NONE}, // {dashed, dotted, BorderStyle.SOLID, BorderStyle.NONE}, // {dashed, dotted, BorderStyle.SOLID, BorderStyle.NONE}, // }; // ! // Stylesheet stylesheet = new CssParser().parse( // "* { " + // "-fx-border-color: red, " + // "yellow blue green red," + // "#d0d0d0 #0d0d0d;" + // "-fx-border-width: 1 2 3 4; " +
*** 284,294 **** // BackgroundSize[] expectedSizes = { // BackgroundSize.AUTO_SIZE, // BackgroundSize.COVER, // }; // ! // Stylesheet stylesheet = CSSParser.getInstance().parse( // "* { " + // "-fx-background-image: url(\"http://sipi.usc.edu/database/misc/4.2.04.tiff\"), url(\"javafx/scene/image/doc-files/imageview.png\");" + // "-fx-background-repeat: repeat no-repeat, no-repeat;" + // "-fx-background-position: right 30% center, left 20% bottom 10%; " + // "-fx-background-size: AUTO, cover; " + --- 284,294 ---- // BackgroundSize[] expectedSizes = { // BackgroundSize.AUTO_SIZE, // BackgroundSize.COVER, // }; // ! // Stylesheet stylesheet = new CssParser().parse( // "* { " + // "-fx-background-image: url(\"http://sipi.usc.edu/database/misc/4.2.04.tiff\"), url(\"javafx/scene/image/doc-files/imageview.png\");" + // "-fx-background-repeat: repeat no-repeat, no-repeat;" + // "-fx-background-position: right 30% center, left 20% bottom 10%; " + // "-fx-background-size: AUTO, cover; " +
*** 391,401 **** // Insets[] expectedInsets = { // new Insets(-1f, -1f, -1f, -1f), // new Insets(1f, 1f, 1f, 1f) // }; // ! // Stylesheet stylesheet = CSSParser.getInstance().parse( // "* { " + //// "-fx-border-image-source: url(\"http://sipi.usc.edu/database/misc/4.2.04.tiff\"), url(\"scenic-view.png\");" + // "-fx-border-image-source: url(\"http://sipi.usc.edu/database/misc/4.2.04.tiff\"), url(\"http://sipi.usc.edu/database/misc/4.2.03.tiff\");" + // "-fx-border-image-repeat: repeat no-repeat, no-repeat;" + // "-fx-border-image-slice: 30% 20% fill, 0 0 10 10; " + --- 391,401 ---- // Insets[] expectedInsets = { // new Insets(-1f, -1f, -1f, -1f), // new Insets(1f, 1f, 1f, 1f) // }; // ! // Stylesheet stylesheet = new CssParser().parse( // "* { " + //// "-fx-border-image-source: url(\"http://sipi.usc.edu/database/misc/4.2.04.tiff\"), url(\"scenic-view.png\");" + // "-fx-border-image-source: url(\"http://sipi.usc.edu/database/misc/4.2.04.tiff\"), url(\"http://sipi.usc.edu/database/misc/4.2.03.tiff\");" + // "-fx-border-image-repeat: repeat no-repeat, no-repeat;" + // "-fx-border-image-slice: 30% 20% fill, 0 0 10 10; " +