[Webkit-unassigned] [Bug 7296] New: JavaScript Console doesn't return an error when incorrectly trying to change a XHTML property

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Feb 16 00:56:36 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7296

           Summary: JavaScript Console doesn't return an error when
                    incorrectly trying to change a XHTML property
           Product: WebKit
           Version: 417.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: JavaScript
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: intinig at pme.it


The following two lines (full code attached) are used to dinamically change the
position of a div:

67: innerDiv.style.top = top + (event.clientY - dragStartTop) + 'px';
68: innerDiv.style.left = left + (event.clientX - dragStartLeft);

Using an XHTML doctype the first line is correct while the 2nd one isn't
because it's missing the + 'px' part. 

Safari doesn't work (as it should), but the javascript console doesn't return
any error.


-- 
Configure bugmail: http://bugzilla.opendarwin.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