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

Reduce frequency of CSS resetting properties temporarily to initial state

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10
    • Component/s: javafx
    • Labels:
      None

      Description

      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!

        Attachments

        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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: