Re: [webkit-dev] Does NRWT let you indicate that a test should fail with a particular failure diff?

2011-07-03 Thread Hao Zheng
There's at least two reasons for divergence .. one is that the port is actually doing the wrong thing, and the other is that the port is doing the right thing but the output is different anyway (e.g., a control is rendered differently). We cannot easily separate the two if we have only a

Re: [webkit-dev] Cross-platform fonts for Layout Tests

2011-06-07 Thread Hao Zheng
involves any text (in any font)? I know it's certainly possible to have pixel-results for tests which do not involve text match across all platforms (like SVG or images or css styling, etc.) Or is all this just theory? -eric On Mon, Jun 6, 2011 at 8:09 PM, Hao Zheng zheng...@chromium.org wrote

Re: [webkit-dev] Cross-platform fonts for Layout Tests

2011-06-07 Thread Hao Zheng
, Dirk Pranke dpra...@chromium.org wrote: Reftests? -- Dirk On Mon, Jun 6, 2011 at 11:00 PM, Hao Zheng zheng...@chromium.org wrote: Unfortunately, even for SVG or images, different drawing implementations will lead to different pixel results. Like this Skia bug, http://code.google.com/p/skia

Re: [webkit-dev] Cross-platform fonts for Layout Tests

2011-06-06 Thread Hao Zheng
at 10:44 AM, Adam Barth aba...@webkit.org wrote: I thought the whole point of Ahem was to avoid those problems. Adam On Thu, Jun 2, 2011 at 1:29 AM, Hao Zheng zheng...@chromium.org wrote: Actually, even the same Ahem font will be rendered differently on different platform, depending

Re: [webkit-dev] Cross-platform fonts for Layout Tests

2011-06-02 Thread Hao Zheng
Actually, even the same Ahem font will be rendered differently on different platform, depending on the font drawing library, the anti-aliasing algorithm, subpixel, tiny float-point calculation diff on different arch. On Thu, Jun 2, 2011 at 3:30 AM, Eric Seidel e...@webkit.org wrote: I know that