Title: [128787] trunk/Source/WebKit2
- Revision
- 128787
- Author
- [email protected]
- Date
- 2012-09-17 11:49:45 -0700 (Mon, 17 Sep 2012)
Log Message
https://bugs.webkit.org/show_bug.cgi?id=96936
Opt into layers for fixed positioned elements for TiledDrawingArea
Reviewed by Tim Horton.
This code already exists in DrawingAreaImpl, and we need it for
TiledCoreAnimationDrawingArea as well.
* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
(WebKit::TiledCoreAnimationDrawingArea::updatePreferences):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (128786 => 128787)
--- trunk/Source/WebKit2/ChangeLog 2012-09-17 18:44:51 UTC (rev 128786)
+++ trunk/Source/WebKit2/ChangeLog 2012-09-17 18:49:45 UTC (rev 128787)
@@ -1,3 +1,15 @@
+2012-09-17 Beth Dakin <[email protected]>
+
+ https://bugs.webkit.org/show_bug.cgi?id=96936
+ Opt into layers for fixed positioned elements for TiledDrawingArea
+
+ Reviewed by Tim Horton.
+
+ This code already exists in DrawingAreaImpl, and we need it for
+ TiledCoreAnimationDrawingArea as well.
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+ (WebKit::TiledCoreAnimationDrawingArea::updatePreferences):
+
2012-09-17 Anders Carlsson <[email protected]>
Don't load a blocked plug-in if a non-blocked version of the same plug-in exists
Modified: trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm (128786 => 128787)
--- trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm 2012-09-17 18:44:51 UTC (rev 128786)
+++ trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm 2012-09-17 18:49:45 UTC (rev 128787)
@@ -208,6 +208,12 @@
bool scrollingPerformanceLoggingEnabled = m_webPage->scrollingPerformanceLoggingEnabled();
ScrollingThread::dispatch(bind(&ScrollingTree::setScrollingPerformanceLoggingEnabled, m_webPage->corePage()->scrollingCoordinator()->scrollingTree(), scrollingPerformanceLoggingEnabled));
+ // Soon we want pages with fixed positioned elements to be able to be scrolled by the ScrollingCoordinator.
+ // As a part of that work, we have to composite fixed position elements, and we have to allow those
+ // elements to create a stacking context.
+ m_webPage->corePage()->settings()->setAcceleratedCompositingForFixedPositionEnabled(true);
+ m_webPage->corePage()->settings()->setFixedPositionCreatesStackingContext(true);
+
bool showDebugBorders = m_webPage->corePage()->settings()->showDebugBorders();
if (showDebugBorders == !!m_debugInfoLayer)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes