Opened 15 years ago
Closed 14 years ago
#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 | |
Blocked by: | Blocking: |
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 (1)
Change History (4)
Changed 15 years ago by
comment:1 Changed 15 years ago by
Cc: | nikavo flesler added |
---|---|
Component: | tests → core |
Owner: | joern deleted |
comment:2 Changed 15 years ago by
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>
What is exactly the problem you see ? Your test case is far from valid html.