Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Range / range-toString-non-anchor-no-crash.html
blobd5ec507dd968df224cf71e611bde362592072107
1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script>
3 <script>
4 description('Tests that performing toString() over a Range without a root does not crash.');
6 var t1 = document.createElement("textarea");
7 var t2 = document.createElement("textarea");
8 t1.appendChild(document.createTextNode("PASS"));
9 t1.appendChild(t2);
11 var r = document.createRange();
12 r.setStart(t1, 0);
13 r.setEnd(t2, 0);
15 shouldBeEqualToString('r.toString()', 'PASS');
16 </script>