mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 580983. Invert the args to is() so that the 'expected...got...' message is the correct way round.
This commit is contained in:
parent
8efe0687fe
commit
42626a794e
@ -25,13 +25,13 @@ function run()
|
||||
var fo = document.getElementById('fo');
|
||||
|
||||
var elementFromPoint = document.elementFromPoint(originX + 55, originY + 55);
|
||||
is(circle, elementFromPoint, 'Over circle stroke with pointer-events="all"');
|
||||
is(elementFromPoint, circle, 'Over circle stroke with pointer-events="all"');
|
||||
|
||||
elementFromPoint = document.elementFromPoint(originX + 205, originY + 55);
|
||||
is(circle, elementFromPoint, 'Over foreignObject, outside clip path');
|
||||
is(elementFromPoint, circle, 'Over foreignObject, outside clip path');
|
||||
|
||||
elementFromPoint = document.elementFromPoint(originX + 225, originY + 75);
|
||||
is(fo, elementFromPoint, 'Over foreignObject, inside clip path');
|
||||
is(elementFromPoint, fo, 'Over foreignObject, inside clip path');
|
||||
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user