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

Side by Side Diff: LayoutTests/fast/dom/HTMLElement/ie-forbids-insert-html.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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("This tests that 'insertText' and friends match IE's behavio r on certain element types."); 8 description("This tests that 'insertText' and friends match IE's behavio r on certain element types.");
9 9
10 // List taken from HTMLElement::isForbidsInsertHTML. There's no spec for this, obviously. 10 // List taken from HTMLElement::isForbidsInsertHTML. There's no spec for this, obviously.
11 var types = ['area', 'base', 'basefont', 'br', 'col', 'embed', 'frame', 'hr', 'image', 'img', 'input', 'isindex', 'link', 'meta', 'param', 'source', 'wb r']; 11 var types = ['area', 'base', 'basefont', 'br', 'col', 'embed', 'frame', 'hr', 'image', 'img', 'input', 'link', 'meta', 'param', 'source', 'wbr'];
12 12
13 types.forEach(function(type) { 13 types.forEach(function(type) {
14 shouldThrow("document.createElement('" + type + "').innerText = 'Thr ow!';"); 14 shouldThrow("document.createElement('" + type + "').innerText = 'Thr ow!';");
15 shouldThrow("document.createElement('" + type + "').outerText = 'Thr ow!';"); 15 shouldThrow("document.createElement('" + type + "').outerText = 'Thr ow!';");
16 }); 16 });
17 </script> 17 </script>
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698