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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u60, 9
    • Fix Version/s: 9
    • Component/s: javafx
    • Subcomponent:
      web
    • Introduced In Version:

      Backports

        Description

        .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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: