[Webkit-unassigned] [Bug 14693] New: document.width doesn't force layout

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 20 11:22:41 PDT 2007


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

           Summary: document.width doesn't force layout
           Product: WebKit
           Version: 522+ (nightly)
          Platform: All
               URL: http://jjc.edu
        OS/Version: All
            Status: NEW
          Keywords: HasReduction
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pewtermoose at gmail.com


The menu code at <http://jjc.edu/> calculates its positioning based on
document.width, which is returning 0 by the time the position is calculated. 
However, this doesn't happen all the time.  For me, if I load the URL in the
address bar and hit enter, I can reproduce the bug consistently.  If I click
the reload button in the toolbar though, it works properly.

The attached testcase shows the bug either way, but if I add in an alert(), it
works OK after it is dismissed.


-- 
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