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

SVG does not interpret percentage values

XMLWordPrintable

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

      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>

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes