Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-2919

SVG does not interpret percentage values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • Some future release
    • 4.4.0
    • SVG Support
    • None

    Description

      SVG does not interpret percentage values correctly.

      In the following example 100% is interpreted as 100.

      Example file.

      <svg width="400" height="400" >
      <rect x = "0" y = "0" width = "100%" height = "100%" style="fill:rgb(128,0,0)"/>
      <rect x = "0" y = "0" width = "100" height = "100" style="fill:rgb(0,128,0)"/>
      </svg>

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              sletta Gunnar Sletta
              xcm Martin Petersson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes