[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    tests/khtmltests/regression/tests/ecma
From:       David Faure <faure () kde ! org>
Date:       2005-07-04 21:21:55
Message-ID: 1120512115.168716.12982.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 431634 by dfaure:

Added test after discussion with Maciej. Turns out Safari has the bug, khtml and Mozilla get it right.


 M  +3 -0      document.html  


--- trunk/tests/khtmltests/regression/tests/ecma/document.html #431633:431634
@@ -219,6 +219,9 @@
 
                 document.myproperty='somevalue';
                 shouldBe( "document.myproperty", "'somevalue'");
+                document.myimgname='somevalue';
+                // Note that the named <img> is found, not the user-defined property.
+                shouldBe( "document.myimgname[0].tagName", "'IMG'");
 
                 for (i in document) {
                      if ( i == "thediv") hasIDInEnum = true;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic