Chromium Code Reviews
DescriptionFix fast/exclusions/shape-outside-floats/shape-outside-floats-non-zero-y.html so that it passes on Windows
This test failed on Windows because in order to create the -expected result, the shape is approximated using floats. Since the javascript code that computes the width of these floats isn't doing exactly the same thing as the C++ code in WebKit that computes the line offsets due to the shape, differences in rounding between platforms can cause small differences in the rendering. It is especially hard to get large curves like the ellipse in this example to work across platforms.
Despite the title of the WebKit bug, this doesn't require an ellipse to test it. So I just replaced it with another rounded rectangle in order to work around the horrible rounding issues that happen when trying to create a ref test for curves.
BUG=227088
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=148683
Patch Set 1 #Patch Set 2 : Rebase patch for submission #
Messages
Total messages: 14 (0 generated)
|
|||||||||||||||||||||||||||||||||||||