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

Region: Need to check for negative insets in BorderImage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • None

      The following is from Rich in response to the fix for RT-25370:

      The CSS background and border spec clearly states no negative values for slices. However the BorderImage doesn't check against negative insets and the JavaDoc doesn't mention it. Can you file another issue for me to resolve that? We should throw an exception on negative slices. Your patch [for RT-25370] at least will handle this by treating negative slices as 0 which is a good thing.

            rbair Richard Bair (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: