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

[WebView] Unable to tile SVG image using css background property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 8u60, 9
    • javafx
    • web

        .bg {
          background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg&#39; width='100' height='100'><circle cx='50' cy='50' r='40' stroke='black' stroke-width='3' fill='red' /></svg>");
          width: 500px;
          height: 200px;
        }

        Above style is not showing anything on the screen. But adding no-repeat to the background property works.

              arajkumar Arunprasad Rajkumar
              arajkumar Arunprasad Rajkumar
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: