<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Small rounding error in SVG color transformation"
   href="https://bugs.webkit.org/show_bug.cgi?id=139414">139414</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Small rounding error in SVG color transformation
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>528+ (Nightly build)
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>SVG
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned@lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sabouhallawa@apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>zimmermann@kde.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=242848" name="attach_242848" title="Test case">attachment 242848</a> <a href="attachment.cgi?id=242848&action=edit" title="Test case">[details]</a></span>
Test case

Open the attached test case and compare it with the expected file.

Result: With naked eyes, the two will look very similar. But if a comparison tool is used, the result will be they are different.
Expected: The test case and the expected file should exactly the same.

The test case has the following filter effect:
    <feColorMatrix type="matrix" values="0 1 0 0 0   0 0 1 0 0   1 0 0 0 0   0 0 0 0.5 0" ...>
This filter effect is applied to the following target element:
    <rect x="0" y="0" width="100" height="100" fill="#123456" filter="url(#f1)"/>
The resulting color should be equal to: r=0x34, g=0x56, b=0x12 and alpha=0.5

The expected file has only the following element:
    <rect x="10" y="10" width="80" height="80" fill="#345612" fill-opacity="0.5"/>

With closer look at the test case, one can see a difference of 1/256 in every color component when it is compared with the expected file.

NOTE: We may end up not fixing this bug. But we need to investigate to understand where the rounding happens. And based on this investigation we will decided if it is worthy fixing or not.
NOTE: The attached test case is imported from Mozilla SVG test suite.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>