[Webkit-unassigned] [Bug 13979] New: City of Buenos Aires online map: document.all/document.layers problem

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 2 15:52:29 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13979

           Summary: City of Buenos Aires online map:
                    document.all/document.layers problem
           Product: WebKit
           Version: 419.x
          Platform: Macintosh
               URL: http://mapa.buenosaires.gov.ar/
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Blocker
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jignacio at gmail.com


Entering an address (Calle/Altura text boxes = Street/Number) and clicking the
button titled "BUSCAR" ("SEARCH") doesn't work. The javascript console shows
the error is in this function:

function abrirLocDir() {
        if (document.all) {
                var xMax = screen.width, yMax = screen.height;
        } else if (document.layers) {
                var xMax = window.outerWidth, yMax = window.outerHeight;
        } else {
                var xMax = document.defaultView.screen.availWidth;
                var yMax = document.defaultView.screen.availHeight;
        }
        [...]   
}

On the line "var xMax = document.defaultView.screen.availWidth;" (Undefined
value). Apparently both document.all and document.layers are returning false.
Should I try to convince the developers to use getElementById? (government
development, so not likely to get this fixed). The site works with Firefox
1.5/2.

Bug present in Safari 2.0.4 (419.3), seems to be fixed in the nightly build
(420+), downloaded 2007-06-02. Is there any chance Safari will be updated
before Leopard?


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list