[Webkit-unassigned] [Bug 50355] New: scrollBy() script does not work in Android version of Chrome browsers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 1 15:26:55 PST 2010


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

           Summary: scrollBy() script does not work in Android version of
                    Chrome browsers
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Android
               URL: http://www.ipulpfiction.com/books/_bookReader/reader/p
                    agedDEMO.html
        OS/Version: Android
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: publisher at ipulpfiction.com


DESCRIPTION OF PROBLEM

I am developing an html-based story reader interface that has paged content.  See demo: http://www.ipulpfiction.com/books/_bookReader/reader/pagedDEMO.html

The page works well in the desktop version of Chrome running under Mac OS & Windows, but we are targeting tablet audience and the Android version of the Chrome browser does not seem to support scrollBy( ). This is a bug in webkit. The iOS version of Safari had the same problem, which Apple fixed for us in the latest version of iOS 4. NOTE: our Android testing device was a Samsung Galaxy Tab.

Oddly enough, the scrollBy( ) functions works (albeit incorrectly) on GoogleTV. 


STEPS TO REPRODUCE

1 Go to: http://www.ipulpfiction.com/books/_bookReader/reader/pagedDEMO.html
2 Click on a margin to hide the cover.
3 Click on the right margin to advance the page

WORKS FINE in the desktop version, DOES NOT WORK advance in Android.

Here's the underlying process: 

The contents of an iFrame ('storyFRAME') is being manipulated.

<iframe src ="text.html" width="440" height="660" id="storyFRAME" frameborder="0" scrolling="no" ></iframe>

I'm scrolling the content of an iFrame with the following javascript:

onClick="document.getElementById('storyFRAME').contentWindow.scrollBy(460,0)"

iFrame Source URL: http://www.ipulpfiction.com/booksDEV/BlackMask01-1/book_BM011r4orgthx/text.html

CSS of <div> on the iFrame Source URL: 

#story {
    height:660px;
    position:absolute;
    top:0;
    left:0;
    -moz-column-width: 440px;
    -moz-column-gap: 5px;
    -webkit-column-width: 440px;
    -webkit-column-gap: 5px;
    column-width: 440px;
    column-gap: 5px;
}

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