Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8177636

Reduce frequency of CSS resetting properties temporarily to initial state

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • None
    • javafx
    • None

      As discussed in this thread: http://mail.openjdk.java.net/pipermail/openjfx-dev/2015-December/018460.html

      This could be low-hanging fruit that results in some performance wins. I think as it is now, everything is thrown away and reset before the new set of styles is calculated. Maybe it is just a "simple" matter of recalculating styles and then cleaning up the delta. The less calls to 'set', the better!

        1. application.css
          0.1 kB
        2. application.css
          0.1 kB
        3. application.css
          0.1 kB
        4. application.css
          0.1 kB
        5. Main.java
          2 kB
        6. Main.java
          2 kB
        7. Main.java
          2 kB
        8. Main.java
          2 kB

            aghaisas Ajit Ghaisas
            jgiles Jonathan Giles
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: