Hi, Benjamin
Thank you so much for advice and review.
You are right that we can not expect different platform to render as
same pixel images.
I have modified source code based on comment.
And modified TestExpectations(add line such as following) for chromium,
gtk, win and qt.
# Needs rebaseline because platform-specific
webkit.org/b/78957 fast/text/decorations-with-ruby-underline-expand.html
[ Failure ]
Thank you again and looking forward review result.
BR,
Zheng
(2013/02/17 11:07), Benjamin Poulain wrote:
Hi,
On Sat, Feb 16, 2013 at 5:45 PM, 徐征 <[email protected]
<mailto:[email protected]>> wrote:
I am handling this issue
(https://bugs.webkit.org/show_bug.cgi?id=78957)
now.
My question is I test my added test code locally, however, it seems
failed on some other platform(get red on cr-linux).
So can I(and how can I) test my added test code on some EWS before I
upload some patch?
The cr-linux bot is the only EWS running the pixel tests. Your test
likely fails on everything but Mac.
The problem is you assume the pixel test will be the same on all
platform. Because the way fonts are rendered varies, the resulting
images vary with each platform.
In those cases, you can generate results for the platform you are
working on, and mark the test for rebaseline in the "TestExpectations"
files of the other platforms (in
LayoutTest/platform/platformFooBar/TestExpectations).
Cheers,
Benjamin
_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev