<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 - Implement an internal API to paint DOM elements onto a canvas for testing"
   href="https://bugs.webkit.org/show_bug.cgi?id=147193">147193</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Implement an internal API to paint DOM elements onto a canvas for testing
          </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>WebCore Misc.
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>wenson_hsieh&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>While working on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Search fields in WebKit have extraneous &quot;Search&quot; placeholder that never goes away"
   href="show_bug.cgi?id=147192">https://bugs.webkit.org/show_bug.cgi?id=147192</a>, I realized that there's no easy way to test the fact that search fields should be empty (no placeholder text) by default besides using pixel tests, which are not particularly useful. This could be addressed via an internal API that renders DOM elements  or part of the DOM onto a canvas element in the DOM, so that we can run tests regarding the look of elements in Javascript, without using pixel tests.</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>