| Index: LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/supported-shapes/support/subpixel-utils.js
|
| diff --git a/LayoutTests/fast/shapes/resources/subpixel-utils.js b/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/supported-shapes/support/subpixel-utils.js
|
| similarity index 86%
|
| copy from LayoutTests/fast/shapes/resources/subpixel-utils.js
|
| copy to LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/supported-shapes/support/subpixel-utils.js
|
| index c6a0e0fca13679743d844badafc2859223c1d8fc..50bf0989f114f651c7e7481b0c090ffa3f8c1154 100644
|
| --- a/LayoutTests/fast/shapes/resources/subpixel-utils.js
|
| +++ b/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/supported-shapes/support/subpixel-utils.js
|
| @@ -19,11 +19,8 @@ var SubPixelLayout = (function() {
|
| snapToLayoutUnit: function(f) {
|
| return isEnabled() ? Math.floor(f * 64) / 64 : Math.floor(f); // as in LayoutUnit(f).toFloat()
|
| },
|
| - ceilToLayoutUnit: function(f) {
|
| + ceilSnapToLayoutUnit: function(f) {
|
| return isEnabled() ? Math.ceil(f * 64) / 64 : Math.ceil(f); // see ceiledLayoutUnit(), LayoutUnit.h
|
| - },
|
| - resolution: function() {
|
| - return isEnabled() ? 1/64 : 1;
|
| }
|
| }
|
| }());
|
|
|