diff options
author | fqian@google.com <fqian@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-15 20:16:54 +0000 |
---|---|---|
committer | fqian@google.com <fqian@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-15 20:16:54 +0000 |
commit | 081a65a887ebaa5eaf079b2bc7822c4c2e0670fc (patch) | |
tree | 5a11cdec8087fa8c42c391d113e97116e7f634fe /webkit/data/layout_tests/chrome | |
parent | faf19bbf27a42842d4d2bc9a1e689dfcac3bd675 (diff) | |
download | chromium_src-081a65a887ebaa5eaf079b2bc7822c4c2e0670fc.zip chromium_src-081a65a887ebaa5eaf079b2bc7822c4c2e0670fc.tar.gz chromium_src-081a65a887ebaa5eaf079b2bc7822c4c2e0670fc.tar.bz2 |
Fix the issue http://code.google.com/p/v8/issues/detail?id=43
Image & Option functions should have precendence than document elements.
Review URL: http://codereview.chromium.org/1968
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2232 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/data/layout_tests/chrome')
-rw-r--r-- | webkit/data/layout_tests/chrome/fast/dom/resources/1.gif | bin | 0 -> 17839 bytes | |||
-rw-r--r-- | webkit/data/layout_tests/chrome/fast/dom/window-image-name-conflict-expected.txt | 1 | ||||
-rw-r--r-- | webkit/data/layout_tests/chrome/fast/dom/window-image-name-conflict.html | 22 |
3 files changed, 23 insertions, 0 deletions
diff --git a/webkit/data/layout_tests/chrome/fast/dom/resources/1.gif b/webkit/data/layout_tests/chrome/fast/dom/resources/1.gif Binary files differnew file mode 100644 index 0000000..92b3f5b --- /dev/null +++ b/webkit/data/layout_tests/chrome/fast/dom/resources/1.gif diff --git a/webkit/data/layout_tests/chrome/fast/dom/window-image-name-conflict-expected.txt b/webkit/data/layout_tests/chrome/fast/dom/window-image-name-conflict-expected.txt new file mode 100644 index 0000000..7ef22e9 --- /dev/null +++ b/webkit/data/layout_tests/chrome/fast/dom/window-image-name-conflict-expected.txt @@ -0,0 +1 @@ +PASS diff --git a/webkit/data/layout_tests/chrome/fast/dom/window-image-name-conflict.html b/webkit/data/layout_tests/chrome/fast/dom/window-image-name-conflict.html new file mode 100644 index 0000000..2b9d154 --- /dev/null +++ b/webkit/data/layout_tests/chrome/fast/dom/window-image-name-conflict.html @@ -0,0 +1,22 @@ +<html> +<head> +<script> +if (window.layoutTestController) + layoutTestController.dumpAsText(); + +function runTest() { + try { + new Image(); + document.getElementById("result").innerHTML = 'PASS'; + } catch (e) { + // failed + } +} +</script> +</head> + +<body onload="runTest()"> +<img id="Image" src="resources/1.gif" /> +<div id="result">FAIL</div> +</body> +</html> |