Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Side by Side Diff: LayoutTests/fast/forms/isindex-name.html

Issue 96653004: Remove support for the obsolete <isindex> tag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <isindex id=isindex1>
8 <script>
9 var isindex = document.getElementById('isindex1');
10 debug('Initial name:');
11 shouldBeEqualToString('isindex.name', 'isindex');
12
13 debug('Adding a name attribute:');
14 shouldBeEqualToString('isindex.setAttribute("name", "foo"); isindex.name', 'foo' );
15
16 debug('Removing the name attribute:');
17 // This behavior is compatible with IE, Firefox, and Opera.
18 shouldBeEqualToString('isindex.removeAttribute("name"); isindex.name', '');
19 </script>
20 </body>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698