[Webkit-unassigned] [Bug 74451] New: Part of page incorrectly aligned when inserting an empty beforeLoad listener

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 13 15:02:07 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=74451

           Summary: Part of page incorrectly aligned when inserting an
                    empty beforeLoad listener
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://highslide.com/examples/gallery-horizontal-strip
                    .html
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Event Handling
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: fam.lam at live.nl
                CC: fam.lam at live.nl


Created an attachment (id=119090)
 --> (https://bugs.webkit.org/attachment.cgi?id=119090&action=review)
Chrome test extension

When an empty beforeLoad handler is inserted into a page (for example by an extension), a part of the page can be incorrectly aligned.
Verified to be broken in WebKit r102684 on Windows 7

Reproduction steps:
1. Install attached extension (if you use Chrome). Otherwise, create an extension that uses this code in it's content script:
document.addEventListener("beforeload", function(event) {}, true);
Alternatively, you could use  the AdBlock extension (http://safariadblock.com/) instead, although it's beforeload handler is not empty.
2. navigate to http://highslide.com/examples/gallery-horizontal-strip.html
3. click the first image
4. notice the bottom (navigation) bar is shifted to the right.

5. remove the extension and repeat steps 2, 3 and 4 and notice the issue has gone away.



Expected: the bottom navigation bar should be centered
Instead: the bottom bar is shifted to the right as if it was centered before it had it's size being applied (in that case it's a possible side effect of fixed bug 45586)

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



More information about the webkit-unassigned mailing list