Changeset 141769 in webkit
- Timestamp:
- Feb 4, 2013 6:45:41 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 7 deleted
- 15 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r141767 r141769 1 2013-02-04 Sami Kyostila <skyostil@chromium.org> 2 3 Disable -webkit-overflow-scrolling CSS attribute on Chromium 4 https://bugs.webkit.org/show_bug.cgi?id=108020 5 6 Reviewed by James Robinson. 7 8 Now that we can automatically promote overflow elements to accelerated 9 scrolling layers there is no use for the -webkit-overflow-scrolling CSS 10 attribute any longer on Chromium. 11 12 The following tests using -webkit-overflow-scroll are modified to also call 13 setAcceleratedCompositingForOverflowScrollEnabled(). This makes them test 14 meaningful things on also on platforms that do not support that CSS attribute. 15 16 * compositing/overflow/clipping-ancestor-with-accelerated-scrolling-ancestor.html: 17 * compositing/overflow/iframe-inside-overflow-clipping.html: 18 * compositing/overflow/nested-scrolling.html: 19 * compositing/overflow/overflow-clip-with-accelerated-scrolling-ancestor.html: 20 * compositing/overflow/scrolling-content-clip-to-viewport.html: 21 * compositing/overflow/scrolling-without-painting.html: 22 * compositing/overflow/textarea-scroll-touch.html: 23 * compositing/overflow/updating-scrolling-content.html: 24 * platform/chromium-android/compositing/layer-creation/overflow-scrolling-touch-expected.txt: Removed. 25 * platform/chromium-android/compositing/layer-creation/overflow-scrolling-touch.html: Removed. 26 * platform/chromium-linux/compositing/overflow/nested-scrolling-expected.png: 27 * platform/chromium/TestExpectations: 28 * platform/chromium/compositing/overflow/overflow-auto-with-touch-toggle-expected.txt: Removed. 29 * platform/chromium/compositing/overflow/overflow-scrolling-touch-stacking-context-expected.png: Removed. 30 * platform/chromium/compositing/overflow/overflow-scrolling-touch-stacking-context-expected.txt: Removed. 31 * platform/chromium/compositing/overflow/overflow-scrolling-touch-stacking-context.html: Removed. 32 * platform/chromium/platform/chromium/virtual/gpu/compositedscrolling/overflow/overflow-auto-with-touch-toggle-expected.txt: Removed. 33 1 34 2013-02-04 Zoltan Arvai <zarvai@inf.u-szeged.hu> 2 35 -
trunk/LayoutTests/compositing/overflow/clipping-ancestor-with-accelerated-scrolling-ancestor.html
r126663 r141769 23 23 } 24 24 </style> 25 <script> 26 if (window.internals) 27 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true); 28 </script> 25 29 </head> 26 30 -
trunk/LayoutTests/compositing/overflow/iframe-inside-overflow-clipping.html
r126663 r141769 31 31 if (window.testRunner) 32 32 testRunner.dumpAsText(); 33 if (window.internals) 34 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true); 33 35 </script> 34 36 </head> -
trunk/LayoutTests/compositing/overflow/nested-scrolling.html
r126663 r141769 30 30 } 31 31 </style> 32 <script> 33 if (window.internals) 34 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true); 35 </script> 32 36 </head> 33 37 <body> -
trunk/LayoutTests/compositing/overflow/overflow-clip-with-accelerated-scrolling-ancestor.html
r126663 r141769 22 22 } 23 23 </style> 24 <script> 25 if (window.internals) 26 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true); 27 </script> 24 28 </head> 25 29 -
trunk/LayoutTests/compositing/overflow/scrolling-content-clip-to-viewport.html
r130689 r141769 29 29 if (window.testRunner) 30 30 testRunner.dumpAsText(); 31 if (window.internals) 32 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true); 31 33 32 34 window.addEventListener('load', function() { -
trunk/LayoutTests/compositing/overflow/scrolling-without-painting.html
r134628 r141769 23 23 </style> 24 24 <script type="text/javascript"> 25 if (window.internals) 26 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true); 27 25 28 window.addEventListener('load', function() { 26 29 if (!window.testRunner || !window.internals) { -
trunk/LayoutTests/compositing/overflow/textarea-scroll-touch.html
r130689 r141769 19 19 if (window.testRunner) 20 20 testRunner.dumpAsText(); 21 22 if (window.internals) 23 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true); 21 24 22 25 function testScrollability(element) -
trunk/LayoutTests/compositing/overflow/updating-scrolling-content.html
r134456 r141769 27 27 </style> 28 28 <script type="text/javascript"> 29 if (window.internals) 30 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true); 31 29 32 window.addEventListener('load', function() { 30 33 if (!window.testRunner || !window.internals) { -
trunk/LayoutTests/platform/chromium/TestExpectations
r141748 r141769 3325 3325 webkit.org/b/84847 [ Win Release ] inspector/timeline/timeline-start-time.html [ Failure Pass ] 3326 3326 3327 crbug.com/128325 platform/chromium/compositing/overflow/overflow-scrolling-touch-stacking-context.html [ Failure ]3328 3329 3327 webkit.org/b/85106 tables/mozilla/other/slashlogo.html [ Pass Slow ] 3330 3328 … … 3678 3676 3679 3677 # ENABLE_ACCELERATED_OVERFLOW_SCROLLING is not currently enabled in Chromium. 3680 webkit.org/b/94353 compositing/overflow/scrolling-content-clip-to-viewport.html [ Failure ] 3681 webkit.org/b/94353 platform/chromium/virtual/softwarecompositing/overflow/scrolling-content-clip-to-viewport.html [ Failure ] 3682 webkit.org/b/94353 platform/chromium/virtual/gpu/compositedscrolling/overflow/scrolling-content-clip-to-viewport.html [ Failure ] 3683 webkit.org/b/94353 compositing/overflow/scrolling-without-painting.html [ Failure ] 3684 webkit.org/b/94353 platform/chromium/virtual/softwarecompositing/overflow/scrolling-without-painting.html [ Failure ] 3685 webkit.org/b/94353 compositing/overflow/updating-scrolling-content.html [ Failure ] 3686 webkit.org/b/94353 platform/chromium/virtual/softwarecompositing/overflow/updating-scrolling-content.html [ Failure ] 3687 webkit.org/b/94353 compositing/overflow/textarea-scroll-touch.html [ Failure ] 3688 webkit.org/b/94353 platform/chromium/virtual/softwarecompositing/overflow/textarea-scroll-touch.html [ Failure ] 3689 3690 # Failing on Linux (Content Shell) only now 3691 webkit.org/b/94353 [ Android Linux ] compositing/overflow/nested-scrolling.html [ Failure Pass ] 3692 webkit.org/b/94353 [ Android Linux ] platform/chromium/virtual/softwarecompositing/overflow/nested-scrolling.html [ Failure Pass ] 3678 webkit.org/b/94353 compositing/overflow/overflow-auto-with-touch-toggle.html [ Failure ] 3693 3679 webkit.org/b/94353 compositing/overflow/overflow-auto-with-touch.html [ Failure ] 3680 webkit.org/b/94353 platform/chromium/virtual/softwarecompositing/overflow/overflow-auto-with-touch-toggle.html [ Failure ] 3694 3681 webkit.org/b/94353 platform/chromium/virtual/softwarecompositing/overflow/overflow-auto-with-touch.html [ Failure ] 3695 3682 webkit.org/b/94353 compositing/overflow/overflow-overlay-with-touch.html [ Failure ] … … 4202 4189 webkit.org/b/104834 [ MountainLion ] fast/css/nested-rounded-corners.html [ Failure Pass ] 4203 4190 4204 webkit.org/b/105471 [ Win ] platform/chromium/virtual/gpu/compositedscrolling/overflow/scrolling-without-painting.html4205 webkit.org/b/105471 [ Win ] platform/chromium/virtual/gpu/compositedscrolling/overflow/updating-scrolling-content.html4206 4207 4191 webkit.org/b/105595 [ Mac ] svg/text/alt-glyph-for-surrogate-pair.svg [ ImageOnlyFailure ] 4208 4192 webkit.org/b/47975 [ MountainLion ] fast/block/float/max-width-clear-float-with-overflow-hidden.html [ ImageOnlyFailure ] -
trunk/Source/WebKit/chromium/ChangeLog
r141736 r141769 1 2013-02-04 Sami Kyostila <skyostil@chromium.org> 2 3 Disable -webkit-overflow-scrolling CSS attribute on Chromium 4 https://bugs.webkit.org/show_bug.cgi?id=108020 5 6 Reviewed by James Robinson. 7 8 Now that we can automatically promote overflow elements to accelerated 9 scrolling layers there is no use for the -webkit-overflow-scrolling CSS 10 attribute any longer on Chromium. 11 12 This patch enables composited overflow scrolling in 13 ScrollingCoordinatorChromiumTest. Because this also causes the overflow div 14 in non-fast-scrollable.html to become composited, we also need to modify that 15 test to opt it out of composited scrolling. 16 17 * features.gypi: 18 * tests/ScrollingCoordinatorChromiumTest.cpp: 19 (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumTest): 20 (WebKit::TEST_F): 21 * tests/data/non-fast-scrollable.html: 22 * tests/data/overflow-scrolling.html: Renamed from Source/WebKit/chromium/tests/data/touch-overflow-scrolling.html. 23 1 24 2013-02-03 KwangYong Choi <ky0.choi@samsung.com> 2 25 -
trunk/Source/WebKit/chromium/features.gypi
r141614 r141769 164 164 ['OS=="android"', { 165 165 'feature_defines': [ 166 'ENABLE_ACCELERATED_OVERFLOW_SCROLLING=1',167 166 'ENABLE_CALENDAR_PICKER=0', 168 167 'ENABLE_DATALIST_ELEMENT=0', … … 187 186 }, { # OS!="android" 188 187 'feature_defines': [ 189 'ENABLE_ACCELERATED_OVERFLOW_SCROLLING=0',190 188 'ENABLE_CALENDAR_PICKER=1', 191 189 'ENABLE_DATALIST_ELEMENT=1', -
trunk/Source/WebKit/chromium/tests/ScrollingCoordinatorChromiumTest.cpp
r141428 r141769 44 44 #include <webkit/support/webkit_support.h> 45 45 46 #if ENABLE(ACCELERATED_OVERFLOW_SCROLLING)47 46 #include "GraphicsLayerChromium.h" 48 #endif49 47 50 48 using namespace WebCore; … … 92 90 m_webViewImpl->settings()->setAcceleratedCompositingEnabled(true); 93 91 m_webViewImpl->settings()->setAcceleratedCompositingForFixedPositionEnabled(true); 92 m_webViewImpl->settings()->setAcceleratedCompositingForOverflowScrollEnabled(true); 94 93 m_webViewImpl->settings()->setFixedPositionCreatesStackingContext(true); 95 94 m_webViewImpl->initializeMainFrame(&m_mockWebFrameClient); … … 209 208 } 210 209 211 #if ENABLE(ACCELERATED_OVERFLOW_SCROLLING) 212 TEST_F(ScrollingCoordinatorChromiumTest, touchOverflowScrolling) 213 { 214 registerMockedHttpURLLoad("touch-overflow-scrolling.html"); 215 navigateTo(m_baseURL + "touch-overflow-scrolling.html"); 210 TEST_F(ScrollingCoordinatorChromiumTest, overflowScrolling) 211 { 212 registerMockedHttpURLLoad("overflow-scrolling.html"); 213 navigateTo(m_baseURL + "overflow-scrolling.html"); 216 214 217 215 // Verify the properties of the accelerated scrolling element starting from the RenderObject … … 238 236 ASSERT_TRUE(webScrollLayer->scrollable()); 239 237 } 240 #endif // ENABLE(ACCELERATED_OVERFLOW_SCROLLING)241 238 242 239 } // namespace -
trunk/Source/WebKit/chromium/tests/data/non-fast-scrollable.html
r129225 r141769 3 3 <head> 4 4 <style type="text/css"> 5 . scrollable{5 .box { 6 6 width: 10px; 7 7 height: 10px; 8 } 9 .scrollable { 8 10 overflow: scroll; 11 } 12 .out-of-flow { 13 position: absolute; 9 14 } 10 15 </style> … … 12 17 13 18 <body> 14 <div class="scrollable ">19 <div class="scrollable box"> 15 20 Scrolling content. 21 <div class="out-of-flow box">Out-of-flow content.</div> 16 22 </div> 17 23 </body> -
trunk/Source/WebKit/chromium/tests/data/overflow-scrolling.html
r141768 r141769 7 7 height: 10px; 8 8 overflow: scroll; 9 -webkit-overflow-scrolling: touch;10 9 } 11 10 .content {
Note: See TracChangeset
for help on using the changeset viewer.