When the initial value of a styleable property is not specified in a stylesheet, no transition is started:
.button {
transition: -fx-opacity 1s;
}
.button:hover {
-fx-opacity: 0.5;
}
The expected behavior is that a transition is started in this case, since the default value of `-fx-opacity` is 1.
.button {
transition: -fx-opacity 1s;
}
.button:hover {
-fx-opacity: 0.5;
}
The expected behavior is that a transition is started in this case, since the default value of `-fx-opacity` is 1.
- relates to
-
JDK-8311895 CSS Transitions
- Resolved
- links to
-
Review(master) openjdk/jfx/1607