Title: [114750] trunk/LayoutTests
Revision
114750
Author
[email protected]
Date
2012-04-20 09:11:03 -0700 (Fri, 20 Apr 2012)

Log Message

SVG anchor on use fails
https://bugs.webkit.org/show_bug.cgi?id=81122

Reviewed by Rob Buis.

Adding a ref test for this bug. This seems to have been fixed, but a
regression test is in order.

* svg/custom/anchor-on-use-expected.svg: Added.
* svg/custom/anchor-on-use.svg: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (114749 => 114750)


--- trunk/LayoutTests/ChangeLog	2012-04-20 16:08:08 UTC (rev 114749)
+++ trunk/LayoutTests/ChangeLog	2012-04-20 16:11:03 UTC (rev 114750)
@@ -1,3 +1,16 @@
+2012-04-20  Stephen Chenney  <[email protected]>
+
+        SVG anchor on use fails
+        https://bugs.webkit.org/show_bug.cgi?id=81122
+
+        Reviewed by Rob Buis.
+
+        Adding a ref test for this bug. This seems to have been fixed, but a
+        regression test is in order.
+
+        * svg/custom/anchor-on-use-expected.svg: Added.
+        * svg/custom/anchor-on-use.svg: Added.
+
 2012-04-20  Yury Semikhatsky  <[email protected]>
 
         Unreviewed. Mark inspector/profiler/heap-snapshot-inspect-dom-wrapper.html

Added: trunk/LayoutTests/svg/custom/anchor-on-use-expected.svg (0 => 114750)


--- trunk/LayoutTests/svg/custom/anchor-on-use-expected.svg	                        (rev 0)
+++ trunk/LayoutTests/svg/custom/anchor-on-use-expected.svg	2012-04-20 16:11:03 UTC (rev 114750)
@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <image x="0" y="0" width="503" height="410" xlink:href=""
+</svg>
+

Added: trunk/LayoutTests/svg/custom/anchor-on-use.svg (0 => 114750)


--- trunk/LayoutTests/svg/custom/anchor-on-use.svg	                        (rev 0)
+++ trunk/LayoutTests/svg/custom/anchor-on-use.svg	2012-04-20 16:11:03 UTC (rev 114750)
@@ -0,0 +1,21 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" _onload_="clickLinkNow()">
+    <script>
+        if (window.layoutTestController)
+            window.layoutTestController.waitUntilDone();
+
+        function clickLinkNow() {
+            if (window.eventSender) {
+                eventSender.mouseMoveTo(20, 20);
+                eventSender.mouseDown();
+                eventSender.mouseUp();
+                if (window.layoutTestController)
+                    layoutTestController.notifyDone();
+            }
+        }
+    </script>
+    <defs>
+        <rect id="rect-to-use" x="10" y="10" width="20" height="20" fill="green" />
+    </defs>
+    <a xlink:href="" x="5" y="5" width="30" height="30" fill="red"/></a>
+    <a xlink:href="" xlink:href="" /></a>
+</svg>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to