On Tue, 8 Nov 2022 18:37:16 GMT, Andy Goryachev <[email protected]> wrote:
>> Marius Hanl has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> 8295078: Replace JUnit4 with Junit5 imports
>
> modules/javafx.graphics/src/test/java/test/javafx/scene/layout/AnchorPaneTest.java
> line 742:
>
>> 740: StackPane child = new StackPane();
>> 741: AnchorPane anchorpane = new AnchorPane(child);
>> 742: anchorpane.setStyle("-fx-padding: " + padding + "px;");
>
> There might be two cases: when snapToPixel=true (this is the default case),
> and when =false. Should we test the case snapToPixel=false?
We can, but that should do the same as before. As before the values were not
snapped at all. And that worked, I guess 😄
-------------
PR: https://git.openjdk.org/jfx/pull/910