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

Eliminate special case code for certain CSS attributes

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: openjfx17
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
      None

      Description

      This is a follow-on to JDK-8274699.

      The FX CSS parser has special case logic to parse certain attributes where some values match color values. For example, see the following:

      https://git.openjdk.java.net/jfx/blob/c6f4ff01f2af7d2616b0b49a51ded3ec69f7b0a5/modules/javafx.graphics/src/main/java/javafx/css/CssParser.java#L817

      This is error prone, so we should look for more general approach.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: