[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.17-1283-gcf603cf
eric at webkit.org
eric at webkit.org
Tue Jan 5 23:56:14 UTC 2010
The following commit has been merged in the webkit-1.1 branch:
commit d3deefa36e76f2c9eb1da38da57331730212de79
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Sun Dec 20 10:10:35 2009 +0000
2009-12-20 Dirk Pranke <dpranke at chromium.org>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=32735
Upstream a test from chromium.org - ensure that creating a
new Image is actually creating an HTML image element, regardless
of the doctype.
* svg/custom/new-image-is-html-element-expected.txt: Added.
* svg/custom/new-image-is-html-element.svg: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52408 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index f4bdbff..399b30d 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,16 @@
+2009-12-20 Dirk Pranke <dpranke at chromium.org>
+
+ Reviewed by Darin Adler.
+
+ https://bugs.webkit.org/show_bug.cgi?id=32735
+
+ Upstream a test from chromium.org - ensure that creating a
+ new Image is actually creating an HTML image element, regardless
+ of the doctype.
+
+ * svg/custom/new-image-is-html-element-expected.txt: Added.
+ * svg/custom/new-image-is-html-element.svg: Added.
+
2009-12-20 Dirk Pranke <dpranke at fila-macpro.mtv.corp.google.com>
Reviewed by Darin Adler.
diff --git a/LayoutTests/editing/selection/doubleclick-whitespace-img-crash-expected.txt b/LayoutTests/svg/custom/new-image-is-html-element-expected.txt
similarity index 100%
copy from LayoutTests/editing/selection/doubleclick-whitespace-img-crash-expected.txt
copy to LayoutTests/svg/custom/new-image-is-html-element-expected.txt
diff --git a/LayoutTests/svg/custom/new-image-is-html-element.svg b/LayoutTests/svg/custom/new-image-is-html-element.svg
new file mode 100644
index 0000000..17b4ea9
--- /dev/null
+++ b/LayoutTests/svg/custom/new-image-is-html-element.svg
@@ -0,0 +1,13 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <text id="result" y="100"/>
+ <script>
+ if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+
+ // Ensure that "new Image()" is creating an HTML image element regardless
+ // of the current doctype.
+
+ var pass = "[object HTMLImageElement]" == new Image();
+ document.getElementById("result").appendChild(document.createTextNode(pass ? "PASS" : "FAIL"));
+ </script>
+</svg>
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list