[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
darin at apple.com
darin at apple.com
Wed Dec 22 11:42:10 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit d54b6b353d29fbbe430e711cfa9b3ba994df5a41
Author: darin at apple.com <darin at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Aug 4 07:32:53 2010 +0000
2010-08-03 Darin Adler <darin at apple.com>
Reviewed by Dan Bernstein.
System color changes are not applied properly
https://bugs.webkit.org/show_bug.cgi?id=43468
* manual-tests/system-color-change.html: Added.
* rendering/RenderTheme.cpp:
(WebCore::RenderTheme::platformColorsDidChange): Added a call to
Page::setNeedsReapplyStyles, so all frames of all pages will recompute
in case they use system colors. It's rare for these colors to change,
so OK to do a little extra style computation.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 98b838e..1c0a279 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,18 @@
+2010-08-03 Darin Adler <darin at apple.com>
+
+ Reviewed by Dan Bernstein.
+
+ System color changes are not applied properly
+ https://bugs.webkit.org/show_bug.cgi?id=43468
+
+ * manual-tests/system-color-change.html: Added.
+
+ * rendering/RenderTheme.cpp:
+ (WebCore::RenderTheme::platformColorsDidChange): Added a call to
+ Page::setNeedsReapplyStyles, so all frames of all pages will recompute
+ in case they use system colors. It's rare for these colors to change,
+ so OK to do a little extra style computation.
+
2010-08-04 Nikolas Zimmermann <nzimmermann at rim.com>
Not reviewed. Revert changed license in SVGFEOffsetElement.h, thanks Gabor for noticing.
diff --git a/WebCore/manual-tests/system-color-change.html b/WebCore/manual-tests/system-color-change.html
new file mode 100644
index 0000000..d06f242
--- /dev/null
+++ b/WebCore/manual-tests/system-color-change.html
@@ -0,0 +1,7 @@
+<body bgcolor="highlight">
+Change the system highlight color.
+
+On Mac OS X, go into System Preferences and change the Highlight color in the Appearance preference panel.
+
+If the background of this page changes color immediately, the test passed.
+</body>
diff --git a/WebCore/rendering/RenderTheme.cpp b/WebCore/rendering/RenderTheme.cpp
index bd96d11..4d9f47b 100644
--- a/WebCore/rendering/RenderTheme.cpp
+++ b/WebCore/rendering/RenderTheme.cpp
@@ -1038,6 +1038,8 @@ void RenderTheme::platformColorsDidChange()
m_inactiveListBoxSelectionForegroundColor = Color();
m_activeListBoxSelectionBackgroundColor = Color();
m_inactiveListBoxSelectionForegroundColor = Color();
+
+ Page::setNeedsReapplyStyles();
}
Color RenderTheme::systemColor(int cssValueId) const
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list