Ticket #13101: td-tr-ie8.html

File td-tr-ie8.html, 336 bytes (added by Piotr Jasiun, 6 years ago)
Line 
1<!DOCTYPE html>
2<html>
3<head>
4        <title>TD TR IE8</title>
5</head>
6<body>
7</body>
8<script>
9        var tr = document.createElement( 'tr' ),
10                td = document.createElement( 'td' );
11
12        td.innerText = 'foo';
13
14        console.log( td.outerHTML );
15
16        tr.innerHTML = td.outerHTML;
17
18        console.log( tr.innerHTML );
19
20        console.log( tr.firstChild );
21</script>
22</html>
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy