Ticket #3319 (closed bug: duplicate)
After() bug in firefox 3
| Reported by: | nikavo | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3 |
| Component: | core | Version: | 1.2.6 |
| Keywords: | Cc: | nikavo, flesler | |
| Blocking: | Blocked by: |
Description
Hello
Here is an exemple of bug error, thank you :
<script type='text/javascript' src=' http://code.jquery.com/jquery.js'></script> <script type="text/javascript"> $(function() { $('#div2').insertBefore($('#div1')); }); </script> <body>
<div class="g" id="div1"> <script type="text/javascript" src=" http://feedjit.com/serve/?bc=FFFFFF&tc=494949&brd1=336699&lnk=494949&hc=336699&ww=160"></script><noscript><a href=" http://feedjit.com/">Feedjit Live Blog Stats</a></noscript> </div> <div class="g" id="div2"> <script type="text/javascript" src=" http://feedjit.com/map/?bc=FFFFFF&tc=494949&brd1=336699&lnk=494949&hc=336699&dot=FF0000"></script><noscript><a href=" http://feedjit.com/">Feedjit Live Blog Stats</a></noscript> </div> </body>
Attachments
Change History
comment:1 Changed 5 years ago by flesler
- Cc nikavo, flesler added
- Owner joern deleted
- Component changed from tests to core
What is exactly the problem you see ? Your test case is far from valid html.
comment:2 Changed 5 years ago by nikavo
Thank you There is no problem if the html is not valid The problem that this exemple is bugging on firefox3, execute the code on firefox and see the source code!
Thank you!
<!DOCTYPE HTML PUBLIC "-W3CDTD HTML 4.01 TransitionalEN" " http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title></title> <script type='text/javascript' src=' http://code.jquery.com/jquery.js'></script> <script type="text/javascript"> $(function() { $('#div2').insertBefore($('#div1')); }); </script> </head> <body> <div class="g" id="div1"> <script type="text/javascript" src=" http://feedjit.com/serve/?bc=FFFFFF&tc=494949&brd1=336699&lnk=494949&hc=336699&ww=160"></script> </div> <div class="g" id="div2"> <script type="text/javascript" src=" http://feedjit.com/map/?bc=FFFFFF&tc=494949&brd1=336699&lnk=494949&hc=336699&dot=FF0000"></script> </div> </body> </html>
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

