Title: [115530] trunk/Source/WebCore
Revision
115530
Author
[email protected]
Date
2012-04-27 20:12:25 -0700 (Fri, 27 Apr 2012)

Log Message

[BlackBerry] Fixed background is scrolling in http://www.nieuwecode.nl
https://bugs.webkit.org/show_bug.cgi?id=85109

Patch by Arvid Nilsson <[email protected]> on 2012-04-27
Reviewed by Antonio Gomes.

Since the BlackBerry port uses very similar fixed position acceleration
as the Qt WebKit2 port, the same fix that worked for them in bug 83980
works for us.

Fixed by opting in to the FIXED_POSITION_CREATES_STACKING_CONTEXT
mechanism.

Covered by existing manual test fixed-position-no-z-index.html.

* css/StyleResolver.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (115529 => 115530)


--- trunk/Source/WebCore/ChangeLog	2012-04-28 02:55:49 UTC (rev 115529)
+++ trunk/Source/WebCore/ChangeLog	2012-04-28 03:12:25 UTC (rev 115530)
@@ -1,3 +1,21 @@
+2012-04-27  Arvid Nilsson  <[email protected]>
+
+        [BlackBerry] Fixed background is scrolling in http://www.nieuwecode.nl
+        https://bugs.webkit.org/show_bug.cgi?id=85109
+
+        Reviewed by Antonio Gomes.
+
+        Since the BlackBerry port uses very similar fixed position acceleration
+        as the Qt WebKit2 port, the same fix that worked for them in bug 83980
+        works for us.
+
+        Fixed by opting in to the FIXED_POSITION_CREATES_STACKING_CONTEXT
+        mechanism.
+
+        Covered by existing manual test fixed-position-no-z-index.html.
+
+        * css/StyleResolver.cpp:
+
 2012-04-27  Nat Duca  <[email protected]>
 
         Expose high-resolution on requestAnimationFrame callback

Modified: trunk/Source/WebCore/css/StyleResolver.cpp (115529 => 115530)


--- trunk/Source/WebCore/css/StyleResolver.cpp	2012-04-28 02:55:49 UTC (rev 115529)
+++ trunk/Source/WebCore/css/StyleResolver.cpp	2012-04-28 03:12:25 UTC (rev 115530)
@@ -148,7 +148,7 @@
 #include "StyleCachedImageSet.h"
 #endif
 
-#if PLATFORM(QT)
+#if PLATFORM(QT) || PLATFORM(BLACKBERRY)
 #define FIXED_POSITION_CREATES_STACKING_CONTEXT 1
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to