Title: [104004] trunk/LayoutTests
- Revision
- 104004
- Author
- [email protected]
- Date
- 2012-01-03 19:54:35 -0800 (Tue, 03 Jan 2012)
Log Message
script-in-svg-in-HTML doesn't run
https://bugs.webkit.org/show_bug.cgi?id=75233
Reviewed by Daniel Bates.
Add a test to make sure that we run scripts in SVG.
* fast/parser/script-in-svg-runs-expected.txt: Added.
* fast/parser/script-in-svg-runs.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (104003 => 104004)
--- trunk/LayoutTests/ChangeLog 2012-01-04 03:39:11 UTC (rev 104003)
+++ trunk/LayoutTests/ChangeLog 2012-01-04 03:54:35 UTC (rev 104004)
@@ -1,5 +1,17 @@
2012-01-03 Adam Barth <[email protected]>
+ script-in-svg-in-HTML doesn't run
+ https://bugs.webkit.org/show_bug.cgi?id=75233
+
+ Reviewed by Daniel Bates.
+
+ Add a test to make sure that we run scripts in SVG.
+
+ * fast/parser/script-in-svg-runs-expected.txt: Added.
+ * fast/parser/script-in-svg-runs.html: Added.
+
+2012-01-03 Adam Barth <[email protected]>
+
Two null crashes in Treebuilder
https://bugs.webkit.org/show_bug.cgi?id=66101
Added: trunk/LayoutTests/fast/parser/script-in-svg-runs-expected.txt (0 => 104004)
--- trunk/LayoutTests/fast/parser/script-in-svg-runs-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/parser/script-in-svg-runs-expected.txt 2012-01-04 03:54:35 UTC (rev 104004)
@@ -0,0 +1,2 @@
+PASS
+Do you see "PASS" above? That means <script>-in-<svg>-in-HTML works OK.
Added: trunk/LayoutTests/fast/parser/script-in-svg-runs.html (0 => 104004)
--- trunk/LayoutTests/fast/parser/script-in-svg-runs.html (rev 0)
+++ trunk/LayoutTests/fast/parser/script-in-svg-runs.html 2012-01-04 03:54:35 UTC (rev 104004)
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html lang="en-US">
+<head>
+ <meta charset="UTF-8">
+ <title><script>-in-<svg> test</title>
+ <script>
+ if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+ </script>
+</head>
+<body>
+ <svg height="360" version="1.1" viewBox="0 0 360 360" width="360">
+ <text id='t' x='100' y='100' fill='black' font-size='72'>FAIL</text>
+ <script>
+ var el = document.getElementById('t');
+ var t = document.createTextNode('PASS');
+ el.replaceChild(t, el.firstChild);
+ </script>
+ </svg>
+
+ <p>Do you see "PASS" above? That means <script>-in-<svg>-in-HTML works OK.</p>
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes