mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 377677, fix up orange, by ignoring rounding issue occuring on Windows
This commit is contained in:
parent
12bae65680
commit
00029653c8
@ -125,9 +125,9 @@ function testtag_tree_columns(tree, expectedColumns, testid)
|
||||
if (expectedColumn.key)
|
||||
key = column;
|
||||
|
||||
// XXXndeakin on Windows and Linux, the last column is one pixel to the
|
||||
// left of where is should be. Could just be a rounding issue.
|
||||
var adj = (c == expectedColumns.length - 1) ? 1 : 0;
|
||||
// XXXndeakin on Windows and Linux, some columns are one pixel to the
|
||||
// left of where they should be. Could just be a rounding issue.
|
||||
var adj = 1;
|
||||
is(column.x + adj >= x, true, adjtestid + "position is after last column " +
|
||||
column.x + "," + column.width + "," + x);
|
||||
is(column.width > 0, true, adjtestid + "width is greater than 0");
|
||||
|
Loading…
Reference in New Issue
Block a user