[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

eric at webkit.org eric at webkit.org
Thu Apr 8 01:58:46 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit f6531c64b30e43620678500080b9bd3013823557
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Feb 25 05:40:20 2010 +0000

    2010-02-24  Chris Evans  <cevans at chromium.org>
    
            Reviewed by Darin Adler.
    
            Add test for SVG that used to cause crash.
            It has been fixed on trunk for a while, thanks to the <use> rewrite,
            but we want to make sure we do not regress.
    
            * svg/dom/use-transform.svg: Added.
            * svg/dom/use-transform-expected.txt: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55220 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 44ac7a9..22f6151 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,14 @@
+2010-02-24  Chris Evans  <cevans at chromium.org>
+
+        Reviewed by Darin Adler.
+
+        Add test for SVG that used to cause crash.
+        It has been fixed on trunk for a while, thanks to the <use> rewrite,
+        but we want to make sure we do not regress.
+
+        * svg/dom/use-transform.svg: Added.
+        * svg/dom/use-transform-expected.txt: Added.
+
 2010-02-24  Dan Bernstein  <mitz at apple.com>
 
         Rubber-stamped by Anders Carlsson.
diff --git a/LayoutTests/svg/dom/use-transform-expected.txt b/LayoutTests/svg/dom/use-transform-expected.txt
new file mode 100644
index 0000000..2916750
--- /dev/null
+++ b/LayoutTests/svg/dom/use-transform-expected.txt
@@ -0,0 +1 @@
+Survived the crash!
diff --git a/LayoutTests/svg/dom/use-transform.svg b/LayoutTests/svg/dom/use-transform.svg
new file mode 100644
index 0000000..4b22b65
--- /dev/null
+++ b/LayoutTests/svg/dom/use-transform.svg
@@ -0,0 +1,42 @@
+
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300" version="1.1">
+  <defs> 
+    <g id="g" transform="translate(0 50)"> 
+      <rect id="rect" stroke-width="5px" fill="red" stroke="navy" width="60" height="10"> 
+        <html xmlns="http://www.w3.org/1999/xhtml">  
+          <head> 
+            <title>Syntax and parsing</title>  
+            <meta content="" />  
+            <link href="" />  
+            <link href="" />  
+            <link href="" />  
+            <link href="" />  
+            <link href="" />  
+            <link  /> 
+          </head>  
+          <html> 
+ 
+          </html>  
+          
+        </html> 
+      </rect>  
+      <mat:notprsubset xmlns:mat="http://www.w3.org/1998/Math/MathML">  
+        <circle id="circle" opacity="0.5" fill="green" cx="30" cy="5" r="10"/> 
+      </mat:notprsubset> 
+    </g> 
+  </defs>
+  <use x="25" y="25" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#g"/>
+  <use x="125" y="25" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#g"/>
+  <text>Survived the crash!</text>
+   <script> 
+ //
+
+var useElement = document.getElementsByTagName("use")[1];
+var element = useElement.instanceRoot.correspondingElement;
+
+element.setAttribute("transform", "");
+
+if (window.layoutTestController)
+  layoutTestController.dumpAsText();
+
+</script></svg>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list