Merge pull request #14945 from calixteman/devicepixels
Allow to have float numbers when getting image information in reftest-analyzer
This commit is contained in:
commit
3c877f9520
@ -225,7 +225,9 @@ window.onload = function () {
|
|||||||
});
|
});
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
match = line.match(/^ {2}IMAGE[^:]*\((\d+)x(\d+)x(\d+)\): (.*)$/);
|
match = line.match(
|
||||||
|
/^ {2}IMAGE[^:]*\((\d+\.?\d*)x(\d+\.?\d*)x(\d+\.?\d*)\): (.*)$/
|
||||||
|
);
|
||||||
if (match) {
|
if (match) {
|
||||||
const item = gTestItems[gTestItems.length - 1];
|
const item = gTestItems[gTestItems.length - 1];
|
||||||
item.images.push({
|
item.images.push({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user