haikuwebkit/LayoutTests/fast/dom/Range/getBoundingClientRect-getCl...

14 lines
363 B
Plaintext

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