Index: LayoutTests/fast/exclusions/shape-inside/shape-inside-polygon-padding-003.html |
diff --git a/LayoutTests/fast/exclusions/shape-inside/shape-inside-polygon-padding-003.html b/LayoutTests/fast/exclusions/shape-inside/shape-inside-polygon-padding-003.html |
index 4e13befa21f645d24752ce4ea63f0b586bb9cb26..c7a16a55cf31397f28c94dabf42ce0f3546e1abb 100644 |
--- a/LayoutTests/fast/exclusions/shape-inside/shape-inside-polygon-padding-003.html |
+++ b/LayoutTests/fast/exclusions/shape-inside/shape-inside-polygon-padding-003.html |
@@ -2,6 +2,7 @@ |
<html> |
<head> |
<script src="../../js/resources/js-test-pre.js"></script> |
+<script src="../resources/subpixel-utils.js"></script> |
<script> |
if (window.internals) |
window.internals.settings.setCSSExclusionsEnabled(true); |
@@ -70,8 +71,10 @@ |
*/ |
+ var quiet = true; // PASS output depends on SubPixelLayout.isEnabled() |
leviw_travelin_and_unemployed
2013/05/21 22:21:56
This is a sad change.
|
+ |
shouldBe("shapeInsideRect('a').top", "50"); |
- shouldBeCloseTo("shapeInsideRect('a').left", 190.215, 1); |
+ shouldBeCloseTo("shapeInsideRect('a').left", SubPixelLayout.snapToLayoutUnit(190.215), 1, quiet); |
shouldBe("shapeInsideRect('a').width", "150"); |
shouldBe("shapeInsideRect('b').top", "150"); |
@@ -79,7 +82,7 @@ |
shouldBe("shapeInsideRect('b').width", "100"); |
shouldBe("shapeInsideRect('c').top", "250"); |
- shouldBeCloseTo("shapeInsideRect('c').left", 190.215, 1); |
+ shouldBeCloseTo("shapeInsideRect('c').left", SubPixelLayout.snapToLayoutUnit(190.215), 1, quiet); |
shouldBe("shapeInsideRect('c').width", "150"); |
</script> |
</html> |