CSS transition is not started when initial value was not specified

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • jfx24
    • Affects Version/s: jfx23
    • Component/s: javafx
    • None
    • b24

      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.

            Assignee:
            Michael Strauß
            Reporter:
            Michael Strauß
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: