mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 939534 - Follow-up to the follow-up to address review comments to address orange that caused (mark tests fuzzy). r=me
This commit is contained in:
parent
2b4869da59
commit
5362d6b683
@ -148,7 +148,7 @@ function runTest()
|
||||
is(text3.getEndPositionOfChar(12).y, 253, "text3 char 12 end offset");
|
||||
ok(text3.getExtentOfChar(12).y < 253, "text3 char 12 extent y");
|
||||
ok(ymost(text3.getExtentOfChar(12)) > 253, "text3 char 12 extent height");
|
||||
is(text3.getRotationOfChar(12), 180, "text3 char 12 rotation");
|
||||
isfuzzy(text3.getRotationOfChar(12), 180, 0.001, "text3 char 12 rotation");
|
||||
p.x = text3.getExtentOfChar(12).x + 0.1;
|
||||
p.y = ymost(text3.getExtentOfChar(12)) - 0.1;
|
||||
is(text3.getCharNumAtPosition(p), 12, "text3 finding char 12");
|
||||
|
@ -111,10 +111,10 @@ function runTest()
|
||||
|
||||
// character 12 should be on the bottom side
|
||||
is(text2.getStartPositionOfChar(12).y, 860, "text2 char 12 start offset");
|
||||
is(text2.getEndPositionOfChar(12).y, 860, "text2 char 12 end offset");
|
||||
isfuzzy(text2.getEndPositionOfChar(12).y, 860, 0.001, "text2 char 12 end offset");
|
||||
ok(text2.getExtentOfChar(12).y < 860, "text2 char 12 extent y");
|
||||
ok(ymost(text2.getExtentOfChar(12)) > 860, "text2 char 12 extent height");
|
||||
is(text2.getRotationOfChar(12), 180, "text2 char 12 rotation");
|
||||
isfuzzy(text2.getRotationOfChar(12), 180, 0.001, "text2 char 12 rotation");
|
||||
p.x = text2.getExtentOfChar(12).x + 0.1;
|
||||
p.y = ymost(text2.getExtentOfChar(12)) - 0.1;
|
||||
is(text2.getCharNumAtPosition(p), 12, "text2 finding char 12");
|
||||
|
Loading…
Reference in New Issue
Block a user