Title: [108791] trunk/Source/WebCore
- Revision
- 108791
- Author
- [email protected]
- Date
- 2012-02-24 06:46:23 -0800 (Fri, 24 Feb 2012)
Log Message
[Windows, WinCairo] Handle indeterminate checkbox state
https://bugs.webkit.org/show_bug.cgi?id=79288
Patch by Lynn Neir <[email protected]> on 2012-02-24
Reviewed by Adam Roben.
Tested by fast/forms/indeterminate.html
* rendering/RenderThemeWin.cpp: Add code to check for indeterminate
state in CheckBox.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (108790 => 108791)
--- trunk/Source/WebCore/ChangeLog 2012-02-24 14:42:35 UTC (rev 108790)
+++ trunk/Source/WebCore/ChangeLog 2012-02-24 14:46:23 UTC (rev 108791)
@@ -1,3 +1,15 @@
+2012-02-24 Lynn Neir <[email protected]>
+
+ [Windows, WinCairo] Handle indeterminate checkbox state
+ https://bugs.webkit.org/show_bug.cgi?id=79288
+
+ Reviewed by Adam Roben.
+
+ Tested by fast/forms/indeterminate.html
+
+ * rendering/RenderThemeWin.cpp: Add code to check for indeterminate
+ state in CheckBox.
+
2012-02-24 Simon Hausmann <[email protected]>
[Qt] Font related problem with newer Qt5
Modified: trunk/Source/WebCore/rendering/RenderThemeWin.cpp (108790 => 108791)
--- trunk/Source/WebCore/rendering/RenderThemeWin.cpp 2012-02-24 14:42:35 UTC (rev 108790)
+++ trunk/Source/WebCore/rendering/RenderThemeWin.cpp 2012-02-24 14:46:23 UTC (rev 108791)
@@ -457,6 +457,8 @@
result = TS_HOVER;
if (isChecked(o))
result += 4; // 4 unchecked states, 4 checked states.
+ else if (isIndeterminate(o) && appearance == CheckboxPart)
+ result += 8;
return result;
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes