Revert "Apply overflow:scroll when -webkit-overflow-scrolling:touch is applied."
authorHurnjoo Lee <hurnjoo.lee@samsung.com>
Thu, 26 Sep 2013 07:48:07 +0000 (16:48 +0900)
committerHurnjoo Lee <hurnjoo.lee@samsung.com>
Thu, 26 Sep 2013 08:27:52 +0000 (17:27 +0900)
[Title] Revert "Apply overflow:scroll when -webkit-overflow-scrolling:touch is applied."
[Issues] N_SE-53119
[Problem] Header bar is moving at en.clubatleticodemadrid.com
[Solution] Revert the following patch.
    > Apply overflow:scroll when -webkit-overflow-scrolling:touch is applied.
    > [Title] Apply overflow:scroll when -webkit-overflow-scrolling:touch is applied.
    > [Issue#] ORANGE-78
    > [Problem] -webkit-overflow-scrolling:touch does not support overflow property
    >           when it is applied without overflow:scroll.
    > [Cause] Not implemented.
    > [Solution] Support overflow:scroll simultaneously when
    >            -webkit-overflow-scrolling:touch is applied.

Change-Id: I321a254710ea9ba41c8423c423a6dd3e4d230655

Source/WebCore/css/StyleResolver.cpp

index 18b53b3..a0e3538 100644 (file)
@@ -4026,12 +4026,6 @@ void StyleResolver::applyProperty(CSSPropertyID id, CSSValue* value)
         if (!primitiveValue)
             break;
         m_style->setUseTouchOverflowScrolling(primitiveValue->getIdent() == CSSValueTouch);
-#if ENABLE(TIZEN_CSS_OVERFLOW_SCROLL_ACCELERATION)
-        if (m_style->useTouchOverflowScrolling()) {
-            m_style->setOverflowX(OSCROLL);
-            m_style->setOverflowY(OSCROLL);
-        }
-#endif
         return;
     }
 #endif