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

Negative height or width should be forbidden

XMLWordPrintable

      Look at the attached test case, and in SB linked issue :
      the API allows negative values. It does not make sense.
      Only specific value such as -1 (USE_COMPUTED_SIZE) or -Infinity (USE_PREF_SIZE) should be permitted when it is possible.

            rbair Richard Bair (Inactive)
            jcambon Jerome Cambon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: