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

Add support for background-clip from CSS 3 backgrounds and borders spec

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: fx2.1
    • Fix Version/s: tbd
    • Component/s: javafx

      Description

      When you have multiple backgrounds on a region, using insets. Then add a border. You expect the backgrounds to be inside that border not the border drawn over the top of those backgrounds which is what happens today. So what we need to do is add the combined border width on the inside of the bounds to all back ground insets.

      Eg if there is a 10px internal stroked border and a background with inset 1px. The backgrounds inset should be 11px;

      Eg if there is a 6px centered stroked border and a background with inset 1px. The backgrounds inset should be 4px = ((6/2)+1);

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jasper Jasper Potts
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported: