some hello world test abc def ab cd ef Text in a pre element is displayed in a fixed-width font This tests that when there are newline characters within text controls, we can get the correct text range from index and length. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS textSome is 'some' PASS textHello is 'hello' PASS textWorld is 'world' PASS textTest is 'test' PASS textareaTextHello is 'hello' PASS textareaTextWorld is 'world' PASS textDEF is 'def' PASS rangeValue is '[newline][newline]cd' PASS rangeForLine is '{22, 30}' PASS textLine is 'is displayed in a fixed-width\n' PASS firstLine is 0 PASS secondLine is 1 PASS successfullyParsed is true TEST COMPLETE