Bug Tracker

Custom Query (13852 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (25 - 27 of 13852)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Ticket Resolution Summary Owner Reporter
#10507 invalid ipad in offline mode and ajax Arne Goedeke <[email protected]…> Arne Goedeke <[email protected]…>
Description

when using manifest files on iOS devices to save website to your homescreen as an application, safari does a static analysis of all js code. If xhr objects are used, it will refuse to start the app in offline mode. This can be worked around by wrapping all references to window.XMLHttpRequest in eval statements. This makes it possible to start and use the app in offline mode when using jquery.

#6588 $(document).ready() error in Google Chrome Artem Artem
Description

Recently I detected one error in Google Chrome. If I use $(document).ready(), this browser detect dimensions of the elements incorrectly.

It is because, Google Chrome incorrectly supported event: «DOMContentLoaded».

In first rar-file is error example.

First alert, which we can see, it’s result of: $(document).ready(function() {

browser.Alert();

}) Second alert it’s result of: <body onload="browser.Alert()">

In first case in Google Chrome we have $("div.top").height()=0

Because I suggest rewrite something in bindReady in jquery.js.

Before:

if ( document.addEventListener ) {

Use the handy event callback document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false );

A fallback to window.onload, that will always work window.addEventListener( "load", jQuery.ready, false );

}

After:

if ( document.addEventListener ) {

if (navigator.userAgent.toLowerCase().indexOf('chrome')) {

window.addEventListener( "load", jQuery.ready, false );

} else {

Use the handy event callback document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false );

A fallback to window.onload, that will always work window.addEventListener( "load", jQuery.ready, false );

}

}

This exaple is in second rar-file.

#13853 invalid Wrong Description or Wrong Functionality AvenidaGez <[email protected]…> AvenidaGez <[email protected]…>
Description

In event.pageX You have Description: The mouse position relative to the left edge of the document.

When in fact, what it does is. Gets the x-coordinate of the mouse pointer, relative to the last positioned ancestor element.

Something you can see in the same example you hve in the page.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Note: See TracQuery for help on using queries.