Tests that Range.getClientRects() / getBoundingClientRect() return DOMRect types. | |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". | |
PASS rect.__proto__ is DOMRect.prototype | |
PASS rects.length > 0 is true | |
PASS rects[0] is rects.item(0) | |
PASS rects[0].__proto__ is DOMRect.prototype | |
PASS successfullyParsed is true | |
TEST COMPLETE | |