blob: 038be8026f4abc1a7f1b74f23405cf4fc3eb3746 [file] [log] [blame]
Tests layout of non-modal dialogs.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Test absolute position
PASS dialog.getBoundingClientRect().top is relativeContainer.getBoundingClientRect().top + offset
PASS dialog.getBoundingClientRect().left is relativeContainer.getBoundingClientRect().left + offset
Test static position
PASS dialog.getBoundingClientRect().top is relativeContainer.getBoundingClientRect().top
PASS dialog.getBoundingClientRect().left is relativeContainer.getBoundingClientRect().left
Test relative position
PASS dialog.getBoundingClientRect().top is relativeContainer.getBoundingClientRect().top + offset
PASS dialog.getBoundingClientRect().left is relativeContainer.getBoundingClientRect().left + offset
Test fixed position
PASS dialog.getBoundingClientRect().top is offset
PASS dialog.getBoundingClientRect().left is offset
PASS successfullyParsed is true
TEST COMPLETE