Bug Tracker

Ticket #3178: test.html

File test.html, 662 bytes (added by Joachim, 12 years ago)

Here is a sample test file to reproduce the behaviour

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3        <head>
4                 <script type="text/javascript" src="js/jq/jquery.js"></script>
5        </head>
6<body>
7<script type="text/javascript">
8          var data2 = '';
9          var nb = 49934;
10      for (cpt =0;cpt <nb;++cpt) {
11        data2 += 'a';
12      }
13     
14      data2 = '<div><div id="website-background">taste</div><div>' + data2 + '</div></div>';
15      var currentSection = $('#website-background', data2).html();
16          alert('Trace : ' + currentSection);
17</script>
18</body></html>