add a layout test for 3649789
authorvicki <vicki@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Aug 2004 00:18:08 +0000 (00:18 +0000)
committervicki <vicki@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Aug 2004 00:18:08 +0000 (00:18 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7194 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/fast/js/slash-lineterminator-parse-expected.txt [new file with mode: 0644]
LayoutTests/fast/js/slash-lineterminator-parse.html [new file with mode: 0644]

diff --git a/LayoutTests/fast/js/slash-lineterminator-parse-expected.txt b/LayoutTests/fast/js/slash-lineterminator-parse-expected.txt
new file mode 100644 (file)
index 0000000..b109838
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderText {TEXT} at (0,0) size 564x18
+        text run at (0,0) width 564: "hellothere You should see \"hellothere\", with no space between the two words (3649789)."
+      RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/js/slash-lineterminator-parse.html b/LayoutTests/fast/js/slash-lineterminator-parse.html
new file mode 100644 (file)
index 0000000..9bef4cf
--- /dev/null
@@ -0,0 +1,10 @@
+<html>
+<body>
+<script type="text/javascript">
+mystring = 'hello\
+there';  
+document.write(mystring);
+</script>
+You should see "hellothere", with no space between the two words (3649789).
+</body>
+</html>
\ No newline at end of file