[Webkit-unassigned] [Bug 7947] New: Add repaint testing support to run-webkit-tests

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Mar 23 16:13:58 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7947

           Summary: Add repaint testing support to run-webkit-tests
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: Tools
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: opendarwin.org at mitzpettel.com
                CC: macdome at opendarwin.org


[This is different from bug 6905]

By forcing WebCore to paint one line or column of pixels at a time, it is
possible to detect objects that do not repaint correctly and to automate tests
for repaint bugs. Just by running in this mode over some of the existing tests
I spotted two repaint bugs.

I am going to attach a patch to DRT and run-webkit-tests that adds this test
mode both as an option to run-webkit-tests (to use on existing tests) and as a
layoutTestController option (to be used by repaint regression tests).

Unfortunately, as I have found out today, when sweeping vertically, almost
every test fails to repaint correctly, since Times paints one line of faint
pixels above the line rect (the problem of fonts painting outside their line
bounds is known, see bug 6274). Still, I think the option is useful, at least
for automating repaint tests.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list