Bug 1404222 Part 5 - Adjust tolerance value in shape-outside-radial-gradient-004.html.
The test will pass if the diff pixels is less than or equal to the tolerance
value. (See test-utils.js)
In this test, the diff pixels of <span id='test0'> is 1.01666259765625, so I
loose the tolerance to 1.5 pixels, which is the same as the tolerance value
use in shape-outside-radial-gradient-001.html.
MozReview-Commit-ID: KuIYl0wWkll
--- a/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-004.html
+++ b/testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/gradients/shape-outside-radial-gradient-004.html
@@ -1,12 +1,12 @@
<!DOCTYPE html>
<html>
<head>
- <title>CSS Test: Left float with radial gradient shape, shape margin, and shape-image-threshold</title>
+ <title>CSS Test: Right float with radial gradient shape, and shape-image-threshold</title>
<link rel="author" title="Bear Travis" href="mailto:betravis@adobe.com"/>
<link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shapes-from-image"/>
<link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property"/>
<link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-image-threshold-property"/>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../supported-shapes/support/rounded-rectangle.js"></script>
<script src="../../supported-shapes/support/subpixel-utils.js"></script>
@@ -58,12 +58,12 @@
</div>
<div id="log"></div>
<script>
verifyTextPoints({
roundedRect: {x: 100, y: 10, width: 100, height: 100, rx: 50, ry: 50},
containerWidth: 200,
containerHeight: 200,
lineHeight: 10
- }, 10, 1, "right");
+ }, 10, 1.5, "right");
</script>
</body>
</html>