[webkit-dev] PAN(flick) to left operation collapse screen in Webkit(Safari) on window7 tablet

HIDEKI YOSHIDA yoshida-hxa at necst.nec.co.jp
Thu Nov 15 01:13:50 PST 2012


Hi,

PAN(flick) to left operation collapse screen in Webkit(Safari) on window7
tablet.

Version:Safari 5.1.7(7534.57.2)

Does anyone know this problem and the patch to resolve?

How to reproduce.
1) Launch Safai on Windows tablet. Set its window's width less than
960px.

2) Open http://jquerymobile.com/demos/1.1.1/docs/forms/docs-forms.html
with it.

3) On the right pane, do PAN(flick) to left, then the whole contents in 
the window move horizontally to left by about 30px to 100px.

This contents itself is not designed to move horizontally.
The move does not occur on other browsers such as Chrome and IE.
This problem may not occur depending on window's width size and zoom scale.

After my team analyzed this problem, we figured out that,
when RenderLayer's m_scrollSize.m_width is greather than m_LayerSize.m_width
at the beginning of scrollByRecursively in RederLayer.cpp which is called 
just before PAN processing, this problem occurs.

                                                        Hideki

***************************************************************************
  Hideki Yoshida
  Embedded Software Division
  NEC System Technologies, Ltd.
    E-MAIL:yoshida-hxa at necst.nec.co.jp
***************************************************************************



More information about the webkit-dev mailing list