[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

commit-queue at webkit.org commit-queue at webkit.org
Wed Dec 22 13:07:16 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit e7c023f8c8f40d15a94851ba38c437b6115fb5f7
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Sep 7 14:07:15 2010 +0000

    2010-09-07  Renata Hodovan  <reni at inf.u-szeged.hu>
    
            Reviewed by Dirk Schulze.
    
            SVGFilterElement & SVGFE*Element don't support dynamic invalidation, when attributes change.
            https://bugs.webkit.org/show_bug.cgi?id=42244
    
            Adding layout tests for fePointLight dynamic changes.
            feSpotLight svgAttributeChanged covered the pointLight case as well so we don't need new C++ code.
    
            * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.checksum: Added.
            * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.png: Added.
            * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.checksum: Added.
            * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.png: Added.
            * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.checksum: Added.
            * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.png: Added.
            * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.checksum: Added.
            * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.png: Added.
            * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.checksum: Added.
            * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.png: Added.
            * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.checksum: Added.
            * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.png: Added.
            * svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.txt: Added.
            * svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr.html: Added.
            * svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.txt: Added.
            * svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr.html: Added.
            * svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.txt: Added.
            * svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr.html: Added.
            * svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.txt: Added.
            * svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop.html: Added.
            * svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.txt: Added.
            * svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop.html: Added.
            * svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.txt: Added.
            * svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop.html: Added.
            * svg/dynamic-updates/script-tests/SVGFEPointLightElement-dom-x-attr.js: Added.
            (executeTest):
            * svg/dynamic-updates/script-tests/SVGFEPointLightElement-dom-y-attr.js: Added.
            (executeTest):
            * svg/dynamic-updates/script-tests/SVGFEPointLightElement-dom-z-attr.js: Added.
            (executeTest):
            * svg/dynamic-updates/script-tests/SVGFEPointLightElement-svgdom-x-prop.js: Added.
            (executeTest):
            * svg/dynamic-updates/script-tests/SVGFEPointLightElement-svgdom-y-prop.js: Added.
            (executeTest):
            * svg/dynamic-updates/script-tests/SVGFEPointLightElement-svgdom-z-prop.js: Added.
            (executeTest):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66881 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index d3c4498..a96035e 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,50 @@
+2010-09-07  Renata Hodovan  <reni at inf.u-szeged.hu>
+
+        Reviewed by Dirk Schulze.
+
+        SVGFilterElement & SVGFE*Element don't support dynamic invalidation, when attributes change.
+        https://bugs.webkit.org/show_bug.cgi?id=42244
+
+        Adding layout tests for fePointLight dynamic changes.
+        feSpotLight svgAttributeChanged covered the pointLight case as well so we don't need new C++ code.
+
+        * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.checksum: Added.
+        * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.png: Added.
+        * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.checksum: Added.
+        * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.png: Added.
+        * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.checksum: Added.
+        * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.png: Added.
+        * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.checksum: Added.
+        * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.png: Added.
+        * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.checksum: Added.
+        * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.png: Added.
+        * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.checksum: Added.
+        * platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.png: Added.
+        * svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.txt: Added.
+        * svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr.html: Added.
+        * svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.txt: Added.
+        * svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr.html: Added.
+        * svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.txt: Added.
+        * svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr.html: Added.
+        * svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.txt: Added.
+        * svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop.html: Added.
+        * svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.txt: Added.
+        * svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop.html: Added.
+        * svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.txt: Added.
+        * svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop.html: Added.
+        * svg/dynamic-updates/script-tests/SVGFEPointLightElement-dom-x-attr.js: Added.
+        (executeTest):
+        * svg/dynamic-updates/script-tests/SVGFEPointLightElement-dom-y-attr.js: Added.
+        (executeTest):
+        * svg/dynamic-updates/script-tests/SVGFEPointLightElement-dom-z-attr.js: Added.
+        (executeTest):
+        * svg/dynamic-updates/script-tests/SVGFEPointLightElement-svgdom-x-prop.js: Added.
+        (executeTest):
+        * svg/dynamic-updates/script-tests/SVGFEPointLightElement-svgdom-y-prop.js: Added.
+        (executeTest):
+        * svg/dynamic-updates/script-tests/SVGFEPointLightElement-svgdom-z-prop.js: Added.
+        (executeTest):
+
 2010-09-07  Pavel Podivilov  <podivilov at chromium.org>
 
         Reviewed by Yury Semikhatsky.
diff --git a/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.checksum b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.checksum
new file mode 100644
index 0000000..8765750
--- /dev/null
+++ b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.checksum
@@ -0,0 +1 @@
+2863dd001d418066bf6d8c85dd8eefef
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.png b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.png
new file mode 100644
index 0000000..14ec590
Binary files /dev/null and b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.png differ
diff --git a/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.checksum b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.checksum
new file mode 100644
index 0000000..b717a71
--- /dev/null
+++ b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.checksum
@@ -0,0 +1 @@
+f7d678dfab4a1c16d7a9f988e484e739
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.png b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.png
new file mode 100644
index 0000000..8701f34
Binary files /dev/null and b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.png differ
diff --git a/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.checksum b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.checksum
new file mode 100644
index 0000000..8ba491c
--- /dev/null
+++ b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.checksum
@@ -0,0 +1 @@
+1e693bd2908a866b2f892b3eccfbb8a3
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.png b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.png
new file mode 100644
index 0000000..3bdae2a
Binary files /dev/null and b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.png differ
diff --git a/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.checksum b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.checksum
new file mode 100644
index 0000000..da062d1
--- /dev/null
+++ b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.checksum
@@ -0,0 +1 @@
+c801261ca0f76c3611e4f553156f08d1
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.png b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.png
new file mode 100644
index 0000000..18e1e24
Binary files /dev/null and b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.png differ
diff --git a/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.checksum b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.checksum
new file mode 100644
index 0000000..2dc00dd
--- /dev/null
+++ b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.checksum
@@ -0,0 +1 @@
+f825fd7615f1937b80cd07dbefc61917
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.png b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.png
new file mode 100644
index 0000000..4ee77d8
Binary files /dev/null and b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.png differ
diff --git a/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.checksum b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.checksum
new file mode 100644
index 0000000..b1531e1
--- /dev/null
+++ b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.checksum
@@ -0,0 +1 @@
+57834ddbee172e879f180fb6cc6895c9
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.png b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.png
new file mode 100644
index 0000000..3d1326b
Binary files /dev/null and b/LayoutTests/platform/mac/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.png differ
diff --git a/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.txt b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.txt
new file mode 100644
index 0000000..1470ac5
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.txt
@@ -0,0 +1,13 @@
+SVG 1.1 dynamic update tests
+
+Tests dynamic updates of the 'x' attribute of the SVGFEPointLightElement object.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS pointLight.getAttribute('x') is "50"
+PASS pointLight.getAttribute('x') is "100"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr.html b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr.html
new file mode 100644
index 0000000..3d835a0
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
+<script src="resources/SVGTestCase.js"></script>
+<script src="../../fast/js/resources/js-test-pre.js"></script>
+</head>
+<body>
+<h1>SVG 1.1 dynamic update tests</h1>
+<p id="description"></p>
+<div id="console"></div>
+<script src="script-tests/SVGFEPointLightElement-dom-x-attr.js"></script>
+</body>
+</html>
diff --git a/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.txt b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.txt
new file mode 100644
index 0000000..d60a1e1
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.txt
@@ -0,0 +1,13 @@
+SVG 1.1 dynamic update tests
+
+Tests dynamic updates of the 'y' attribute of the SVGFEPointLightElement object.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS pointLight.getAttribute('y') is "120"
+PASS pointLight.getAttribute('y') is "180"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr.html b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr.html
new file mode 100644
index 0000000..73d3514
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
+<script src="resources/SVGTestCase.js"></script>
+<script src="../../fast/js/resources/js-test-pre.js"></script>
+</head>
+<body>
+<h1>SVG 1.1 dynamic update tests</h1>
+<p id="description"></p>
+<div id="console"></div>
+<script src="script-tests/SVGFEPointLightElement-dom-y-attr.js"></script>
+</body>
+</html>
diff --git a/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.txt b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.txt
new file mode 100644
index 0000000..674b41a
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.txt
@@ -0,0 +1,13 @@
+SVG 1.1 dynamic update tests
+
+Tests dynamic updates of the 'z' attribute of the SVGFEPointLightElement object.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS pointLight.getAttribute('z') is "100"
+PASS pointLight.getAttribute('z') is "30"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr.html b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr.html
new file mode 100644
index 0000000..ac12497
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
+<script src="resources/SVGTestCase.js"></script>
+<script src="../../fast/js/resources/js-test-pre.js"></script>
+</head>
+<body>
+<h1>SVG 1.1 dynamic update tests</h1>
+<p id="description"></p>
+<div id="console"></div>
+<script src="script-tests/SVGFEPointLightElement-dom-z-attr.js"></script>
+</body>
+</html>
diff --git a/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.txt b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.txt
new file mode 100644
index 0000000..0df2d9b
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.txt
@@ -0,0 +1,13 @@
+SVG 1.1 dynamic update tests
+
+Tests dynamic updates of the 'x' property of the SVGFEPointLightElement object
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS pointLight.x.baseVal is 50
+PASS pointLight.x.baseVal is 100
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop.html b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop.html
new file mode 100644
index 0000000..e318fee
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
+<script src="resources/SVGTestCase.js"></script>
+<script src="../../fast/js/resources/js-test-pre.js"></script>
+</head>
+<body>
+<h1>SVG 1.1 dynamic update tests</h1>
+<p id="description"></p>
+<div id="console"></div>
+<script src="script-tests/SVGFEPointLightElement-svgdom-x-prop.js"></script>
+</body>
+</html>
diff --git a/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.txt b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.txt
new file mode 100644
index 0000000..62daa65
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.txt
@@ -0,0 +1,13 @@
+SVG 1.1 dynamic update tests
+
+Tests dynamic updates of the 'y' property of the SVGFEPointLightElement object
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS pointLight.y.baseVal is 120
+PASS pointLight.y.baseVal is 180
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop.html b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop.html
new file mode 100644
index 0000000..8a2283e
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
+<script src="resources/SVGTestCase.js"></script>
+<script src="../../fast/js/resources/js-test-pre.js"></script>
+</head>
+<body>
+<h1>SVG 1.1 dynamic update tests</h1>
+<p id="description"></p>
+<div id="console"></div>
+<script src="script-tests/SVGFEPointLightElement-svgdom-y-prop.js"></script>
+</body>
+</html>
diff --git a/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.txt b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.txt
new file mode 100644
index 0000000..9cf67c7
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.txt
@@ -0,0 +1,13 @@
+SVG 1.1 dynamic update tests
+
+Tests dynamic updates of the 'z' property of the SVGFEPointLightElement object
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS pointLight.z.baseVal is 100
+PASS pointLight.z.baseVal is 30
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop.html b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop.html
new file mode 100644
index 0000000..fb0a34d
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
+<script src="resources/SVGTestCase.js"></script>
+<script src="../../fast/js/resources/js-test-pre.js"></script>
+</head>
+<body>
+<h1>SVG 1.1 dynamic update tests</h1>
+<p id="description"></p>
+<div id="console"></div>
+<script src="script-tests/SVGFEPointLightElement-svgdom-z-prop.js"></script>
+</body>
+</html>
diff --git a/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-dom-x-attr.js b/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-dom-x-attr.js
new file mode 100644
index 0000000..e0ce74b
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-dom-x-attr.js
@@ -0,0 +1,59 @@
+// [Name] SVGFEPointLightElement-dom-x-attr.js
+// [Expected rendering result] A shining circle (performed by diffuse lighting) - and a series of PASS messages
+
+description("Tests dynamic updates of the 'x' attribute of the SVGFEPointLightElement object.");
+createSVGTestCase();
+
+var pointLight = createSVGElement("fePointLight");
+pointLight.setAttribute("x", "50");
+pointLight.setAttribute("y", "180");
+pointLight.setAttribute("z", "30");
+
+var blurElement = createSVGElement("feGaussianBlur");
+blurElement.setAttribute("in", "SourceGraphic");
+blurElement.setAttribute("stdDeviation", "2");
+blurElement.setAttribute("result", "blur");
+
+var gradientElement = createSVGElement("feDiffuseLighting");
+gradientElement.setAttribute("in", "blur");
+gradientElement.setAttribute("surfaceScale", "1");
+gradientElement.setAttribute("diffuseConstant", "1");
+gradientElement.setAttribute("lighting-color", "yellow");
+gradientElement.appendChild(pointLight);
+
+var filterElement = createSVGElement("filter");
+filterElement.setAttribute("id", "myFilter");
+filterElement.setAttribute("filterUnits", "userSpaceOnUse");
+filterElement.setAttribute("x", "0");
+filterElement.setAttribute("y", "0");
+filterElement.setAttribute("width", "200");
+filterElement.setAttribute("height", "200");
+filterElement.appendChild(blurElement);
+filterElement.appendChild(gradientElement);
+
+var defsElement = createSVGElement("defs");
+defsElement.appendChild(filterElement);
+
+rootSVGElement.appendChild(defsElement);
+
+var rectElement = createSVGElement("circle");
+rectElement.setAttribute("width", 200);
+rectElement.setAttribute("height", 200);
+rectElement.setAttribute("cx", "100");
+rectElement.setAttribute("cy", "60");
+rectElement.setAttribute("r", "50");
+rectElement.setAttribute("filter", "url(#myFilter)");
+rootSVGElement.appendChild(rectElement);
+
+shouldBeEqualToString("pointLight.getAttribute('x')", "50");
+
+function executeTest() {
+    pointLight.setAttribute("x", "100");
+    shouldBeEqualToString("pointLight.getAttribute('x')", "100");
+
+    completeTest();
+}
+
+startTest(rectElement, 100, 100);
+
+var successfullyParsed = true;
diff --git a/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-dom-y-attr.js b/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-dom-y-attr.js
new file mode 100644
index 0000000..5cd955b
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-dom-y-attr.js
@@ -0,0 +1,59 @@
+// [Name] SVGFEPointLightElement-dom-y-attr.js
+// [Expected rendering result] A shining circle (performed by diffuse lighting) - and a series of PASS messages
+
+description("Tests dynamic updates of the 'y' attribute of the SVGFEPointLightElement object.");
+createSVGTestCase();
+
+var pointLight = createSVGElement("fePointLight");
+pointLight.setAttribute("x", "100");
+pointLight.setAttribute("y", "120");
+pointLight.setAttribute("z", "30");
+
+var blurElement = createSVGElement("feGaussianBlur");
+blurElement.setAttribute("in", "SourceGraphic");
+blurElement.setAttribute("stdDeviation", "2");
+blurElement.setAttribute("result", "blur");
+
+var gradientElement = createSVGElement("feDiffuseLighting");
+gradientElement.setAttribute("in", "blur");
+gradientElement.setAttribute("surfaceScale", "1");
+gradientElement.setAttribute("diffuseConstant", "1");
+gradientElement.setAttribute("lighting-color", "yellow");
+gradientElement.appendChild(pointLight);
+
+var filterElement = createSVGElement("filter");
+filterElement.setAttribute("id", "myFilter");
+filterElement.setAttribute("filterUnits", "userSpaceOnUse");
+filterElement.setAttribute("x", "0");
+filterElement.setAttribute("y", "0");
+filterElement.setAttribute("width", "200");
+filterElement.setAttribute("height", "200");
+filterElement.appendChild(blurElement);
+filterElement.appendChild(gradientElement);
+
+var defsElement = createSVGElement("defs");
+defsElement.appendChild(filterElement);
+
+rootSVGElement.appendChild(defsElement);
+
+var rectElement = createSVGElement("circle");
+rectElement.setAttribute("width", 200);
+rectElement.setAttribute("height", 200);
+rectElement.setAttribute("cx", "100");
+rectElement.setAttribute("cy", "60");
+rectElement.setAttribute("r", "50");
+rectElement.setAttribute("filter", "url(#myFilter)");
+rootSVGElement.appendChild(rectElement);
+
+shouldBeEqualToString("pointLight.getAttribute('y')", "120");
+
+function executeTest() {
+    pointLight.setAttribute("y", "180");
+    shouldBeEqualToString("pointLight.getAttribute('y')", "180");
+
+    completeTest();
+}
+
+startTest(rectElement, 100, 100);
+
+var successfullyParsed = true;
diff --git a/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-dom-z-attr.js b/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-dom-z-attr.js
new file mode 100644
index 0000000..42c5c4e
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-dom-z-attr.js
@@ -0,0 +1,59 @@
+// [Name] SVGFEPointLightElement-dom-z-attr.js
+// [Expected rendering result] A shining circle (performed by diffuse lighting) - and a series of PASS messages
+
+description("Tests dynamic updates of the 'z' attribute of the SVGFEPointLightElement object.");
+createSVGTestCase();
+
+var pointLight = createSVGElement("fePointLight");
+pointLight.setAttribute("x", "100");
+pointLight.setAttribute("y", "180");
+pointLight.setAttribute("z", "100");
+
+var blurElement = createSVGElement("feGaussianBlur");
+blurElement.setAttribute("in", "SourceGraphic");
+blurElement.setAttribute("stdDeviation", "2");
+blurElement.setAttribute("result", "blur");
+
+var gradientElement = createSVGElement("feDiffuseLighting");
+gradientElement.setAttribute("in", "blur");
+gradientElement.setAttribute("surfaceScale", "1");
+gradientElement.setAttribute("diffuseConstant", "1");
+gradientElement.setAttribute("lighting-color", "yellow");
+gradientElement.appendChild(pointLight);
+
+var filterElement = createSVGElement("filter");
+filterElement.setAttribute("id", "myFilter");
+filterElement.setAttribute("filterUnits", "userSpaceOnUse");
+filterElement.setAttribute("x", "0");
+filterElement.setAttribute("y", "0");
+filterElement.setAttribute("width", "200");
+filterElement.setAttribute("height", "200");
+filterElement.appendChild(blurElement);
+filterElement.appendChild(gradientElement);
+
+var defsElement = createSVGElement("defs");
+defsElement.appendChild(filterElement);
+
+rootSVGElement.appendChild(defsElement);
+
+var rectElement = createSVGElement("circle");
+rectElement.setAttribute("width", 200);
+rectElement.setAttribute("height", 200);
+rectElement.setAttribute("cx", "100");
+rectElement.setAttribute("cy", "60");
+rectElement.setAttribute("r", "50");
+rectElement.setAttribute("filter", "url(#myFilter)");
+rootSVGElement.appendChild(rectElement);
+
+shouldBeEqualToString("pointLight.getAttribute('z')", "100");
+
+function executeTest() {
+    pointLight.setAttribute("z", "30");
+    shouldBeEqualToString("pointLight.getAttribute('z')", "30");
+
+    completeTest();
+}
+
+startTest(rectElement, 100, 100);
+
+var successfullyParsed = true;
diff --git a/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-svgdom-x-prop.js b/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-svgdom-x-prop.js
new file mode 100644
index 0000000..fe30772
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-svgdom-x-prop.js
@@ -0,0 +1,59 @@
+// [Name] SVGFEPointLightElement-svgdom-x-prop.js
+// [Expected rendering result] A shining circle (performed by diffuse lighting) - and a series of PASS messages
+
+description("Tests dynamic updates of the 'x' property of the SVGFEPointLightElement object")
+createSVGTestCase();
+
+var pointLight = createSVGElement("fePointLight");
+pointLight.setAttribute("x", "50");
+pointLight.setAttribute("y", "180");
+pointLight.setAttribute("z", "30");
+
+var blurElement = createSVGElement("feGaussianBlur");
+blurElement.setAttribute("in", "SourceGraphic");
+blurElement.setAttribute("stdDeviation", "2");
+blurElement.setAttribute("result", "blur");
+
+var gradientElement = createSVGElement("feDiffuseLighting");
+gradientElement.setAttribute("in", "blur");
+gradientElement.setAttribute("surfaceScale", "1");
+gradientElement.setAttribute("diffuseConstant", "1");
+gradientElement.setAttribute("lighting-color", "yellow");
+gradientElement.appendChild(pointLight);
+
+var filterElement = createSVGElement("filter");
+filterElement.setAttribute("id", "myFilter");
+filterElement.setAttribute("filterUnits", "userSpaceOnUse");
+filterElement.setAttribute("x", "0");
+filterElement.setAttribute("y", "0");
+filterElement.setAttribute("width", "200");
+filterElement.setAttribute("height", "200");
+filterElement.appendChild(blurElement);
+filterElement.appendChild(gradientElement);
+
+var defsElement = createSVGElement("defs");
+defsElement.appendChild(filterElement);
+
+rootSVGElement.appendChild(defsElement);
+
+var rectElement = createSVGElement("circle");
+rectElement.setAttribute("width", 200);
+rectElement.setAttribute("height", 200);
+rectElement.setAttribute("cx", "100");
+rectElement.setAttribute("cy", "60");
+rectElement.setAttribute("r", "50");
+rectElement.setAttribute("filter", "url(#myFilter)");
+rootSVGElement.appendChild(rectElement);
+
+shouldBe("pointLight.x.baseVal", "50");
+
+function executeTest() {
+    pointLight.x.baseVal = 100;
+    shouldBe("pointLight.x.baseVal", "100");
+
+    completeTest();
+}
+
+startTest(rectElement, 100, 100);
+
+var successfullyParsed = true;
diff --git a/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-svgdom-y-prop.js b/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-svgdom-y-prop.js
new file mode 100644
index 0000000..3f2d0e2
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-svgdom-y-prop.js
@@ -0,0 +1,59 @@
+// [Name] SVGFEPointLightElement-svgdom-y-prop.js
+// [Expected rendering result] A shining circle (performed by diffuse lighting) - and a series of PASS messages
+
+description("Tests dynamic updates of the 'y' property of the SVGFEPointLightElement object")
+createSVGTestCase();
+
+var pointLight = createSVGElement("fePointLight");
+pointLight.setAttribute("x", "100");
+pointLight.setAttribute("y", "120");
+pointLight.setAttribute("z", "30");
+
+var blurElement = createSVGElement("feGaussianBlur");
+blurElement.setAttribute("in", "SourceGraphic");
+blurElement.setAttribute("stdDeviation", "2");
+blurElement.setAttribute("result", "blur");
+
+var gradientElement = createSVGElement("feDiffuseLighting");
+gradientElement.setAttribute("in", "blur");
+gradientElement.setAttribute("surfaceScale", "1");
+gradientElement.setAttribute("diffuseConstant", "1");
+gradientElement.setAttribute("lighting-color", "yellow");
+gradientElement.appendChild(pointLight);
+
+var filterElement = createSVGElement("filter");
+filterElement.setAttribute("id", "myFilter");
+filterElement.setAttribute("filterUnits", "userSpaceOnUse");
+filterElement.setAttribute("x", "0");
+filterElement.setAttribute("y", "0");
+filterElement.setAttribute("width", "200");
+filterElement.setAttribute("height", "200");
+filterElement.appendChild(blurElement);
+filterElement.appendChild(gradientElement);
+
+var defsElement = createSVGElement("defs");
+defsElement.appendChild(filterElement);
+
+rootSVGElement.appendChild(defsElement);
+
+var rectElement = createSVGElement("circle");
+rectElement.setAttribute("width", 200);
+rectElement.setAttribute("height", 200);
+rectElement.setAttribute("cx", "100");
+rectElement.setAttribute("cy", "60");
+rectElement.setAttribute("r", "50");
+rectElement.setAttribute("filter", "url(#myFilter)");
+rootSVGElement.appendChild(rectElement);
+
+shouldBe("pointLight.y.baseVal", "120");
+
+function executeTest() {
+    pointLight.y.baseVal = 180;
+    shouldBe("pointLight.y.baseVal", "180");
+
+    completeTest();
+}
+
+startTest(rectElement, 100, 100);
+
+var successfullyParsed = true;
diff --git a/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-svgdom-z-prop.js b/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-svgdom-z-prop.js
new file mode 100644
index 0000000..5dd2fa5
--- /dev/null
+++ b/LayoutTests/svg/dynamic-updates/script-tests/SVGFEPointLightElement-svgdom-z-prop.js
@@ -0,0 +1,59 @@
+// [Name] SVGFEPointLightElement-svgdom-z-prop.js
+// [Expected rendering result] A shining circle (performed by diffuse lighting) - and a series of PASS messages
+
+description("Tests dynamic updates of the 'z' property of the SVGFEPointLightElement object")
+createSVGTestCase();
+
+var pointLight = createSVGElement("fePointLight");
+pointLight.setAttribute("x", "100");
+pointLight.setAttribute("y", "180");
+pointLight.setAttribute("z", "100");
+
+var blurElement = createSVGElement("feGaussianBlur");
+blurElement.setAttribute("in", "SourceGraphic");
+blurElement.setAttribute("stdDeviation", "2");
+blurElement.setAttribute("result", "blur");
+
+var gradientElement = createSVGElement("feDiffuseLighting");
+gradientElement.setAttribute("in", "blur");
+gradientElement.setAttribute("surfaceScale", "1");
+gradientElement.setAttribute("diffuseConstant", "1");
+gradientElement.setAttribute("lighting-color", "yellow");
+gradientElement.appendChild(pointLight);
+
+var filterElement = createSVGElement("filter");
+filterElement.setAttribute("id", "myFilter");
+filterElement.setAttribute("filterUnits", "userSpaceOnUse");
+filterElement.setAttribute("x", "0");
+filterElement.setAttribute("y", "0");
+filterElement.setAttribute("width", "200");
+filterElement.setAttribute("height", "200");
+filterElement.appendChild(blurElement);
+filterElement.appendChild(gradientElement);
+
+var defsElement = createSVGElement("defs");
+defsElement.appendChild(filterElement);
+
+rootSVGElement.appendChild(defsElement);
+
+var rectElement = createSVGElement("circle");
+rectElement.setAttribute("width", 200);
+rectElement.setAttribute("height", 200);
+rectElement.setAttribute("cx", "100");
+rectElement.setAttribute("cy", "60");
+rectElement.setAttribute("r", "50");
+rectElement.setAttribute("filter", "url(#myFilter)");
+rootSVGElement.appendChild(rectElement);
+
+shouldBe("pointLight.z.baseVal", "100");
+
+function executeTest() {
+    pointLight.z.baseVal = 30;
+    shouldBe("pointLight.z.baseVal", "30");
+
+    completeTest();
+}
+
+startTest(rectElement, 100, 100);
+
+var successfullyParsed = true;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list