Merge pull request #8740 from benVigie/updateFirefoxTextTestTolerance
Increase linestring textalign test tolerance to be Firefox compliant.
This commit is contained in:
@@ -363,7 +363,7 @@ describe('ol.rendering.style.Text', function() {
|
|||||||
it('renders text along a linestring with `textAlign: \'center\'`', function(done) {
|
it('renders text along a linestring with `textAlign: \'center\'`', function(done) {
|
||||||
createMap('canvas');
|
createMap('canvas');
|
||||||
createLineString(uglyPath, 'center');
|
createLineString(uglyPath, 'center');
|
||||||
expectResemble(map, 'rendering/ol/style/expected/text-linestring-center.png', 3.6, done);
|
expectResemble(map, 'rendering/ol/style/expected/text-linestring-center.png', 3.63, done);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('omits text along a linestring with `textAlign: \'left\'` when > maxAngle', function(done) {
|
it('omits text along a linestring with `textAlign: \'left\'` when > maxAngle', function(done) {
|
||||||
|
|||||||
Reference in New Issue
Block a user